RTEMS 4.10
Annotated Report
Wed Feb 9 02:39:09 2011

a0009af4 <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 ) {                                              
a0009af4:	e5903000 	ldr	r3, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a0009af8:	e5902010 	ldr	r2, [r0, #16]                                 
  switch( node->type ) {                                              
a0009afc:	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;                                   
a0009b00:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
  switch( node->type ) {                                              
a0009b04:	e2433001 	sub	r3, r3, #1                                    
a0009b08:	e3530006 	cmp	r3, #6                                        
a0009b0c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0009b10:	ea000008 	b	a0009b38 <IMFS_Set_handlers+0x44>               <== NOT EXECUTED
a0009b14:	a0009b60 	.word	0xa0009b60                                  <== NOT EXECUTED
a0009b18:	a0009b70 	.word	0xa0009b70                                  <== NOT EXECUTED
a0009b1c:	a0009b50 	.word	0xa0009b50                                  <== NOT EXECUTED
a0009b20:	a0009b50 	.word	0xa0009b50                                  <== NOT EXECUTED
a0009b24:	a0009b40 	.word	0xa0009b40                                  <== NOT EXECUTED
a0009b28:	a0009b40 	.word	0xa0009b40                                  <== NOT EXECUTED
a0009b2c:	a0009b30 	.word	0xa0009b30                                  <== NOT EXECUTED
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
a0009b30:	e59f3048 	ldr	r3, [pc, #72]	; a0009b80 <IMFS_Set_handlers+0x8c>
a0009b34:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009b38:	e3a00000 	mov	r0, #0                                        
a0009b3c:	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;                      
a0009b40:	e5923008 	ldr	r3, [r2, #8]                                  
a0009b44:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009b48:	e3a00000 	mov	r0, #0                                        
a0009b4c:	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;                            
a0009b50:	e59f302c 	ldr	r3, [pc, #44]	; a0009b84 <IMFS_Set_handlers+0x90>
a0009b54:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009b58:	e3a00000 	mov	r0, #0                                        
a0009b5c:	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;                    
a0009b60:	e592300c 	ldr	r3, [r2, #12]                                 
a0009b64:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009b68:	e3a00000 	mov	r0, #0                                        
a0009b6c:	e12fff1e 	bx	lr                                             
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
a0009b70:	e59f3010 	ldr	r3, [pc, #16]	; a0009b88 <IMFS_Set_handlers+0x94>
a0009b74:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009b78:	e3a00000 	mov	r0, #0                                        
a0009b7c:	e12fff1e 	bx	lr                                             
                                                                      

a00099ac <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
a00099ac:	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 )                                           
a00099b0:	e2504000 	subs	r4, r0, #0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a00099b4:	e1a05001 	mov	r5, r1                                        
a00099b8:	e59d6014 	ldr	r6, [sp, #20]                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
a00099bc:	01a07004 	moveq	r7, r4                                      
a00099c0:	1a000001 	bne	a00099cc <IMFS_create_node+0x20>              
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a00099c4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a00099c8:	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 );
a00099cc:	e1a01002 	mov	r1, r2                                        
a00099d0:	e59f210c 	ldr	r2, [pc, #268]	; a0009ae4 <IMFS_create_node+0x138>
a00099d4:	e1a00005 	mov	r0, r5                                        
a00099d8:	e5922000 	ldr	r2, [r2]                                      
a00099dc:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
a00099e0:	e1c32002 	bic	r2, r3, r2                                    
a00099e4:	ebffffc1 	bl	a00098f0 <IMFS_allocate_node>                  
  if ( !node )                                                        
a00099e8:	e2507000 	subs	r7, r0, #0                                   
a00099ec:	0afffff4 	beq	a00099c4 <IMFS_create_node+0x18>              
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
a00099f0:	e2455001 	sub	r5, r5, #1                                    
a00099f4:	e3550006 	cmp	r5, #6                                        
a00099f8:	979ff105 	ldrls	pc, [pc, r5, lsl #2]                        
a00099fc:	ea000033 	b	a0009ad0 <IMFS_create_node+0x124>               <== NOT EXECUTED
a0009a00:	a0009ab4 	.word	0xa0009ab4                                  <== NOT EXECUTED
a0009a04:	a0009aa0 	.word	0xa0009aa0                                  <== NOT EXECUTED
a0009a08:	a0009a1c 	.word	0xa0009a1c                                  <== NOT EXECUTED
a0009a0c:	a0009a1c 	.word	0xa0009a1c                                  <== NOT EXECUTED
a0009a10:	a0009a70 	.word	0xa0009a70                                  <== NOT EXECUTED
a0009a14:	a0009a58 	.word	0xa0009a58                                  <== NOT EXECUTED
a0009a18:	a0009a94 	.word	0xa0009a94                                  <== 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;                 
a0009a1c:	e5963000 	ldr	r3, [r6]                                      
a0009a20:	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;                       
a0009a24:	e5943010 	ldr	r3, [r4, #16]                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
a0009a28:	e5940000 	ldr	r0, [r4]                                      
a0009a2c:	e1a01007 	mov	r1, r7                                        
  fs_info      = parent_loc->mt_entry->fs_info;                       
a0009a30:	e5932034 	ldr	r2, [r3, #52]	; 0x34                          
                                                                      
  node->Parent = parent;                                              
a0009a34:	e5870008 	str	r0, [r7, #8]                                  
a0009a38:	e2800050 	add	r0, r0, #80	; 0x50                            
  node->st_ino = ++fs_info->ino_count;                                
a0009a3c:	e5923004 	ldr	r3, [r2, #4]                                  
a0009a40:	e2833001 	add	r3, r3, #1                                    
a0009a44:	e5823004 	str	r3, [r2, #4]                                  
a0009a48:	e5873038 	str	r3, [r7, #56]	; 0x38                          
a0009a4c:	ebfff134 	bl	a0005f24 <_Chain_Append>                       
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a0009a50:	e1a00007 	mov	r0, r7                                        
a0009a54:	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;                            
a0009a58:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0009a5c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0009a60:	e5872050 	str	r2, [r7, #80]	; 0x50                          <== NOT EXECUTED
a0009a64:	e5873054 	str	r3, [r7, #84]	; 0x54                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
a0009a68:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0009a6c:	e5873058 	str	r3, [r7, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
a0009a70:	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;                            
a0009a74:	e3a01000 	mov	r1, #0                                        
a0009a78:	e3a02000 	mov	r2, #0                                        
a0009a7c:	e5871050 	str	r1, [r7, #80]	; 0x50                          
a0009a80:	e5872054 	str	r2, [r7, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
a0009a84:	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;                            
a0009a88:	e5873058 	str	r3, [r7, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
a0009a8c:	e587305c 	str	r3, [r7, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
      break;                                                          
a0009a90:	eaffffe3 	b	a0009a24 <IMFS_create_node+0x78>                
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
a0009a94:	e3a03000 	mov	r3, #0                                        
a0009a98:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      break;                                                          
a0009a9c:	eaffffe0 	b	a0009a24 <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;                   
a0009aa0:	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;                   
a0009aa4:	e5963000 	ldr	r3, [r6]                                      
      node->info.device.minor = info->device.minor;                   
a0009aa8:	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;                   
a0009aac:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      node->info.device.minor = info->device.minor;                   
      break;                                                          
a0009ab0:	eaffffdb 	b	a0009a24 <IMFS_create_node+0x78>                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0009ab4:	e2872054 	add	r2, r7, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a0009ab8:	e2873050 	add	r3, r7, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0009abc:	e5872050 	str	r2, [r7, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
a0009ac0:	e3a02000 	mov	r2, #0                                        
a0009ac4:	e5872054 	str	r2, [r7, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
a0009ac8:	e5873058 	str	r3, [r7, #88]	; 0x58                          
a0009acc:	eaffffd4 	b	a0009a24 <IMFS_create_node+0x78>                
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
      break;                                                          
                                                                      
    default:                                                          
      assert(0);                                                      
a0009ad0:	e59f0010 	ldr	r0, [pc, #16]	; a0009ae8 <IMFS_create_node+0x13c><== NOT EXECUTED
a0009ad4:	e3a0105c 	mov	r1, #92	; 0x5c                                <== NOT EXECUTED
a0009ad8:	e59f200c 	ldr	r2, [pc, #12]	; a0009aec <IMFS_create_node+0x140><== NOT EXECUTED
a0009adc:	e59f300c 	ldr	r3, [pc, #12]	; a0009af0 <IMFS_create_node+0x144><== NOT EXECUTED
a0009ae0:	eb000384 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a0003df0 <IMFS_dump_directory>: rtems_chain_node *the_node; rtems_chain_control *the_chain; IMFS_jnode_t *the_jnode; int i; assert( the_directory );
a0003df0:	e3500000 	cmp	r0, #0                                        
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
a0003df4:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0003df8:	e1a05001 	mov	r5, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003dfc:	0a000021 	beq	a0003e88 <IMFS_dump_directory+0x98>           
                                                                      
  assert( level >= 0 );                                               
a0003e00:	e3510000 	cmp	r1, #0                                        
a0003e04:	ba000029 	blt	a0003eb0 <IMFS_dump_directory+0xc0>           
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
a0003e08:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a0003e0c:	e3530001 	cmp	r3, #1                                        
a0003e10:	1a000021 	bne	a0003e9c <IMFS_dump_directory+0xac>           
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a0003e14:	e5907050 	ldr	r7, [r0, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0003e18:	e2808054 	add	r8, r0, #84	; 0x54                            
a0003e1c:	e1570008 	cmp	r7, r8                                        
a0003e20:	0a000013 	beq	a0003e74 <IMFS_dump_directory+0x84>           
a0003e24:	e59f6098 	ldr	r6, [pc, #152]	; a0003ec4 <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 );                    
a0003e28:	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;                            
a0003e2c:	e3a04000 	mov	r4, #0                                        
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
a0003e30:	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++ )                                      
a0003e34:	e2844001 	add	r4, r4, #1                                    
      fprintf(stdout, "...." );                                       
a0003e38:	e59f0088 	ldr	r0, [pc, #136]	; a0003ec8 <IMFS_dump_directory+0xd8>
a0003e3c:	e5933008 	ldr	r3, [r3, #8]                                  
a0003e40:	e3a01001 	mov	r1, #1                                        
a0003e44:	e3a02004 	mov	r2, #4                                        
a0003e48:	eb003d83 	bl	a001345c <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++ )                                      
a0003e4c:	e1550004 	cmp	r5, r4                                        
a0003e50:	aafffff6 	bge	a0003e30 <IMFS_dump_directory+0x40>           
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
a0003e54:	e1a00007 	mov	r0, r7                                        
a0003e58:	ebffff7a 	bl	a0003c48 <IMFS_print_jnode>                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
a0003e5c:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
a0003e60:	e3530001 	cmp	r3, #1                                        
a0003e64:	0a000003 	beq	a0003e78 <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 ) {                                 
a0003e68:	e5977000 	ldr	r7, [r7]                                      
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a0003e6c:	e1570008 	cmp	r7, r8                                        
a0003e70:	1affffed 	bne	a0003e2c <IMFS_dump_directory+0x3c>           
a0003e74:	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 );                    
a0003e78:	e1a00007 	mov	r0, r7                                        
a0003e7c:	e1a0100a 	mov	r1, sl                                        
a0003e80:	ebffffda 	bl	a0003df0 <IMFS_dump_directory>                 
a0003e84:	eafffff7 	b	a0003e68 <IMFS_dump_directory+0x78>             
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003e88:	e59f003c 	ldr	r0, [pc, #60]	; a0003ecc <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003e8c:	e3a01084 	mov	r1, #132	; 0x84                               <== NOT EXECUTED
a0003e90:	e59f2038 	ldr	r2, [pc, #56]	; a0003ed0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003e94:	e59f3038 	ldr	r3, [pc, #56]	; a0003ed4 <IMFS_dump_directory+0xe4><== NOT EXECUTED
a0003e98:	eb000221 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( level >= 0 );                                               
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
a0003e9c:	e59f0028 	ldr	r0, [pc, #40]	; a0003ecc <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003ea0:	e3a01088 	mov	r1, #136	; 0x88                               <== NOT EXECUTED
a0003ea4:	e59f2024 	ldr	r2, [pc, #36]	; a0003ed0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003ea8:	e59f3028 	ldr	r3, [pc, #40]	; a0003ed8 <IMFS_dump_directory+0xe8><== NOT EXECUTED
a0003eac:	eb00021c 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
                                                                      
  assert( level >= 0 );                                               
a0003eb0:	e59f0014 	ldr	r0, [pc, #20]	; a0003ecc <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003eb4:	e3a01086 	mov	r1, #134	; 0x86                               <== NOT EXECUTED
a0003eb8:	e59f2010 	ldr	r2, [pc, #16]	; a0003ed0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003ebc:	e59f3018 	ldr	r3, [pc, #24]	; a0003edc <IMFS_dump_directory+0xec><== NOT EXECUTED
a0003ec0:	eb000217 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
                                                                      

a0009cf0 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
a0009cf0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
a0009cf4:	e3d25007 	bics	r5, r2, #7                                   
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
a0009cf8:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0009cfc:	e58d2000 	str	r2, [sp]                                      
a0009d00:	e1a0a000 	mov	sl, r0                                        
a0009d04:	e1a04001 	mov	r4, r1                                        
a0009d08:	e1a07003 	mov	r7, r3                                        
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
a0009d0c:	1a000091 	bne	a0009f58 <IMFS_eval_path+0x268>               
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a0009d10:	e5936000 	ldr	r6, [r3]                                      
a0009d14:	e28d8004 	add	r8, sp, #4                                    
a0009d18:	e28d903c 	add	r9, sp, #60	; 0x3c                            
   *  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 );  
a0009d1c:	e1a02008 	mov	r2, r8                                        
a0009d20:	e1a03009 	mov	r3, r9                                        
a0009d24:	e08a0005 	add	r0, sl, r5                                    
a0009d28:	e1a01004 	mov	r1, r4                                        
a0009d2c:	eb000255 	bl	a000a688 <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0009d30:	e5973000 	ldr	r3, [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 );  
a0009d34:	e1a0b000 	mov	fp, r0                                        
    pathnamelen -= len;                                               
a0009d38:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0009d3c:	e3530000 	cmp	r3, #0                                        
a0009d40:	0a00004e 	beq	a0009e80 <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 )                                  
a0009d44:	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;                                               
    i += len;                                                         
a0009d48:	e0855002 	add	r5, r5, r2                                    
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
a0009d4c:	e0624004 	rsb	r4, r2, r4                                    
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a0009d50:	1a00000f 	bne	a0009d94 <IMFS_eval_path+0xa4>                
   *  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 ) {                               
a0009d54:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0009d58:	e3520001 	cmp	r2, #1                                        
a0009d5c:	0a000054 	beq	a0009eb4 <IMFS_eval_path+0x1c4>               
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0009d60:	e1a00007 	mov	r0, r7                                        
a0009d64:	ebffff62 	bl	a0009af4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a0009d68:	e59d1000 	ldr	r1, [sp]                                      
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0009d6c:	e1a0b000 	mov	fp, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a0009d70:	e1a00007 	mov	r0, r7                                        
a0009d74:	ebffff84 	bl	a0009b8c <IMFS_evaluate_permission>            
a0009d78:	e3500000 	cmp	r0, #0                                        
a0009d7c:	1a000036 	bne	a0009e5c <IMFS_eval_path+0x16c>               
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0009d80:	eb00114c 	bl	a000e2b8 <__errno>                             
a0009d84:	e3a0300d 	mov	r3, #13                                       
a0009d88:	e5803000 	str	r3, [r0]                                      
a0009d8c:	e3e0b000 	mvn	fp, #0                                        
a0009d90:	ea000031 	b	a0009e5c <IMFS_eval_path+0x16c>                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a0009d94:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
a0009d98:	e3510001 	cmp	r1, #1                                        
a0009d9c:	0a000031 	beq	a0009e68 <IMFS_eval_path+0x178>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
a0009da0:	e35b0003 	cmp	fp, #3                                        
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
a0009da4:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
a0009da8:	0a000006 	beq	a0009dc8 <IMFS_eval_path+0xd8>                
a0009dac:	e35b0004 	cmp	fp, #4                                        
a0009db0:	0a000025 	beq	a0009e4c <IMFS_eval_path+0x15c>               
a0009db4:	e35b0002 	cmp	fp, #2                                        
a0009db8:	0a000013 	beq	a0009e0c <IMFS_eval_path+0x11c>               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a0009dbc:	e35b0004 	cmp	fp, #4                                        
a0009dc0:	1affffd5 	bne	a0009d1c <IMFS_eval_path+0x2c>                
a0009dc4:	eaffffe2 	b	a0009d54 <IMFS_eval_path+0x64>                  <== NOT EXECUTED
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
a0009dc8:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0009dcc:	e3530003 	cmp	r3, #3                                        
a0009dd0:	0a00002f 	beq	a0009e94 <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 ) {                   
a0009dd4:	e3530004 	cmp	r3, #4                                        
a0009dd8:	0a000053 	beq	a0009f2c <IMFS_eval_path+0x23c>               
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a0009ddc:	e3530001 	cmp	r3, #1                                        
a0009de0:	1a00004c 	bne	a0009f18 <IMFS_eval_path+0x228>               
        /*                                                            
         *  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 ) {                   
a0009de4:	e596e05c 	ldr	lr, [r6, #92]	; 0x5c                          
a0009de8:	e35e0000 	cmp	lr, #0                                        
a0009dec:	1a000033 	bne	a0009ec0 <IMFS_eval_path+0x1d0>               
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a0009df0:	e1a00006 	mov	r0, r6                                        
a0009df4:	e1a01008 	mov	r1, r8                                        
a0009df8:	eb0001f3 	bl	a000a5cc <IMFS_find_match_in_dir>              
        if ( !node )                                                  
a0009dfc:	e2506000 	subs	r6, r0, #0                                   
a0009e00:	0a00001e 	beq	a0009e80 <IMFS_eval_path+0x190>               
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
a0009e04:	e5876000 	str	r6, [r7]                                      
        break;                                                        
a0009e08:	eaffffc3 	b	a0009d1c <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 )
a0009e0c:	e59f115c 	ldr	r1, [pc, #348]	; a0009f70 <IMFS_eval_path+0x280>
a0009e10:	e5912000 	ldr	r2, [r1]                                      
a0009e14:	e5922018 	ldr	r2, [r2, #24]                                 
a0009e18:	e1520003 	cmp	r2, r3                                        
a0009e1c:	0affffbe 	beq	a0009d1c <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) {              
a0009e20:	e597e010 	ldr	lr, [r7, #16]                                 
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
a0009e24:	e59e201c 	ldr	r2, [lr, #28]                                 
a0009e28:	e1520003 	cmp	r2, r3                                        
a0009e2c:	0a000047 	beq	a0009f50 <IMFS_eval_path+0x260>               
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
a0009e30:	e5936008 	ldr	r6, [r3, #8]                                  
a0009e34:	e3560000 	cmp	r6, #0                                        
a0009e38:	1afffff1 	bne	a0009e04 <IMFS_eval_path+0x114>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
a0009e3c:	eb00111d 	bl	a000e2b8 <__errno>                             
a0009e40:	e580b000 	str	fp, [r0]                                      
a0009e44:	e3e0b000 	mvn	fp, #0                                        
a0009e48:	ea000003 	b	a0009e5c <IMFS_eval_path+0x16c>                 
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0009e4c:	eb001119 	bl	a000e2b8 <__errno>                             
a0009e50:	e3a0305b 	mov	r3, #91	; 0x5b                                
a0009e54:	e5803000 	str	r3, [r0]                                      
a0009e58:	e3e0b000 	mvn	fp, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0009e5c:	e1a0000b 	mov	r0, fp                                        
a0009e60:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0009e64:	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 )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a0009e68:	e1a00007 	mov	r0, r7                                        
a0009e6c:	ebffff46 	bl	a0009b8c <IMFS_evaluate_permission>            
a0009e70:	e3500000 	cmp	r0, #0                                        
a0009e74:	0affffc1 	beq	a0009d80 <IMFS_eval_path+0x90>                
a0009e78:	e5973000 	ldr	r3, [r7]                                      
a0009e7c:	eaffffc7 	b	a0009da0 <IMFS_eval_path+0xb0>                  
         *  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 );             
a0009e80:	eb00110c 	bl	a000e2b8 <__errno>                             
a0009e84:	e3a03002 	mov	r3, #2                                        
a0009e88:	e5803000 	str	r3, [r0]                                      
a0009e8c:	e3e0b000 	mvn	fp, #0                                        
a0009e90:	eafffff1 	b	a0009e5c <IMFS_eval_path+0x16c>                 
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
a0009e94:	e1a00007 	mov	r0, r7                                        
a0009e98:	e3a01000 	mov	r1, #0                                        
a0009e9c:	ebffff4a 	bl	a0009bcc <IMFS_evaluate_hard_link>             
                                                                      
          node = pathloc->node_access;                                
a0009ea0:	e5976000 	ldr	r6, [r7]                                      
          if ( !node )                                                
a0009ea4:	e3560000 	cmp	r6, #0                                        
a0009ea8:	0a00001a 	beq	a0009f18 <IMFS_eval_path+0x228>               
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0009eac:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a0009eb0:	eaffffc9 	b	a0009ddc <IMFS_eval_path+0xec>                  
   *                                                                  
   *  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 ) {                       
a0009eb4:	e593e05c 	ldr	lr, [r3, #92]	; 0x5c                          
a0009eb8:	e35e0000 	cmp	lr, #0                                        
a0009ebc:	0affffa7 	beq	a0009d60 <IMFS_eval_path+0x70>                
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a0009ec0:	e28ee01c 	add	lr, lr, #28                                   
a0009ec4:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0009ec8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0009ecc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
a0009ed0:	e28d6028 	add	r6, sp, #40	; 0x28                            
a0009ed4:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a0009ed8:	e1a06007 	mov	r6, 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;              
a0009edc:	e59ee000 	ldr	lr, [lr]                                      
      *pathloc = newloc;                                              
a0009ee0:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0009ee4:	e59d103c 	ldr	r1, [sp, #60]	; 0x3c                          
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
a0009ee8:	e586e000 	str	lr, [r6]                                      
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0009eec:	e597300c 	ldr	r3, [r7, #12]                                 
a0009ef0:	e0610005 	rsb	r0, r1, r5                                    
   *  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;              
a0009ef4:	e58ce000 	str	lr, [ip]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0009ef8:	e08a0000 	add	r0, sl, r0                                    
a0009efc:	e593c000 	ldr	ip, [r3]                                      
a0009f00:	e0841001 	add	r1, r4, r1                                    
a0009f04:	e59d2000 	ldr	r2, [sp]                                      
a0009f08:	e1a03007 	mov	r3, r7                                        
a0009f0c:	e12fff3c 	blx	ip                                            
a0009f10:	e1a0b000 	mov	fp, r0                                        
a0009f14:	eaffffd0 	b	a0009e5c <IMFS_eval_path+0x16c>                 
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
a0009f18:	eb0010e6 	bl	a000e2b8 <__errno>                             
a0009f1c:	e3a03014 	mov	r3, #20                                       
a0009f20:	e5803000 	str	r3, [r0]                                      
a0009f24:	e3e0b000 	mvn	fp, #0                                        
a0009f28:	eaffffcb 	b	a0009e5c <IMFS_eval_path+0x16c>                 
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0009f2c:	e1a00007 	mov	r0, r7                                        
a0009f30:	e3a01000 	mov	r1, #0                                        
a0009f34:	ebffff3d 	bl	a0009c30 <IMFS_evaluate_sym_link>              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
a0009f38:	e3700001 	cmn	r0, #1                                        
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0009f3c:	e1a0b000 	mov	fp, r0                                        
                                                                      
          node = pathloc->node_access;                                
a0009f40:	e5976000 	ldr	r6, [r7]                                      
          if ( result == -1 )                                         
a0009f44:	0affffc4 	beq	a0009e5c <IMFS_eval_path+0x16c>               
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0009f48:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a0009f4c:	eaffffa2 	b	a0009ddc <IMFS_eval_path+0xec>                  
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
a0009f50:	e28ee008 	add	lr, lr, #8                                    
a0009f54:	eaffffda 	b	a0009ec4 <IMFS_eval_path+0x1d4>                 
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
a0009f58:	e3a01f7d 	mov	r1, #500	; 0x1f4                              <== NOT EXECUTED
a0009f5c:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0009f60:	e59f000c 	ldr	r0, [pc, #12]	; a0009f74 <IMFS_eval_path+0x284><== NOT EXECUTED
a0009f64:	e59f200c 	ldr	r2, [pc, #12]	; a0009f78 <IMFS_eval_path+0x288><== NOT EXECUTED
a0009f68:	e59f300c 	ldr	r3, [pc, #12]	; a0009f7c <IMFS_eval_path+0x28c><== NOT EXECUTED
a0009f6c:	eb000261 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000a054 <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 */ ) {
a000a054:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000a058:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a000a05c:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
a000a060:	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    */       
)                                                                     
{                                                                     
a000a064:	e58d2000 	str	r2, [sp]                                      
a000a068:	e1a0a000 	mov	sl, r0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a000a06c:	eb001496 	bl	a000f2cc <strlen>                              
a000a070:	e3a07000 	mov	r7, #0                                        
a000a074:	e28d8004 	add	r8, sp, #4                                    
a000a078:	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 );          
a000a07c:	e1a01004 	mov	r1, r4                                        
a000a080:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a000a084:	e08a0007 	add	r0, sl, r7                                    
a000a088:	e1a02008 	mov	r2, r8                                        
a000a08c:	eb00017d 	bl	a000a688 <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000a090:	e5963000 	ldr	r3, [r6]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a000a094:	e59db03c 	ldr	fp, [sp, #60]	; 0x3c                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a000a098:	e1a09000 	mov	r9, r0                                        
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000a09c:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a000a0a0:	e06b4004 	rsb	r4, fp, r4                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a000a0a4:	0a00003a 	beq	a000a194 <IMFS_evaluate_for_make+0x140>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
a000a0a8:	e3500000 	cmp	r0, #0                                        
a000a0ac:	1a000006 	bne	a000a0cc <IMFS_evaluate_for_make+0x78>        
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
a000a0b0:	eb001080 	bl	a000e2b8 <__errno>                             
a000a0b4:	e3a03011 	mov	r3, #17                                       
a000a0b8:	e5803000 	str	r3, [r0]                                      
a000a0bc:	e3e05000 	mvn	r5, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a000a0c0:	e1a00005 	mov	r0, r5                                        
a000a0c4:	e28dd040 	add	sp, sp, #64	; 0x40                            
a000a0c8:	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 )                             
a000a0cc:	e595104c 	ldr	r1, [r5, #76]	; 0x4c                          
a000a0d0:	e3510001 	cmp	r1, #1                                        
a000a0d4:	0a000044 	beq	a000a1ec <IMFS_evaluate_for_make+0x198>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
a000a0d8:	e087700b 	add	r7, r7, fp                                    
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
a000a0dc:	e1a05003 	mov	r5, r3                                        
                                                                      
    switch( type ) {                                                  
a000a0e0:	e3590004 	cmp	r9, #4                                        
a000a0e4:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
a000a0e8:	eaffffe3 	b	a000a07c <IMFS_evaluate_for_make+0x28>          <== NOT EXECUTED
a000a0ec:	a000a0b0 	.word	0xa000a0b0                                  <== NOT EXECUTED
a000a0f0:	a000a07c 	.word	0xa000a07c                                  <== NOT EXECUTED
a000a0f4:	a000a164 	.word	0xa000a164                                  <== NOT EXECUTED
a000a0f8:	a000a114 	.word	0xa000a114                                  <== NOT EXECUTED
a000a0fc:	a000a100 	.word	0xa000a100                                  <== 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 );         
a000a100:	eb00106c 	bl	a000e2b8 <__errno>                             
a000a104:	e3a0305b 	mov	r3, #91	; 0x5b                                
a000a108:	e5803000 	str	r3, [r0]                                      
a000a10c:	e3e05000 	mvn	r5, #0                                        
a000a110:	eaffffea 	b	a000a0c0 <IMFS_evaluate_for_make+0x6c>          
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a000a114:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000a118:	e3530003 	cmp	r3, #3                                        
a000a11c:	0a000063 	beq	a000a2b0 <IMFS_evaluate_for_make+0x25c>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a000a120:	e3530004 	cmp	r3, #4                                        
a000a124:	0a000061 	beq	a000a2b0 <IMFS_evaluate_for_make+0x25c>       
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
a000a128:	e3550000 	cmp	r5, #0                                        
a000a12c:	0a000045 	beq	a000a248 <IMFS_evaluate_for_make+0x1f4>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a000a130:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000a134:	e3530001 	cmp	r3, #1                                        
a000a138:	1a000042 	bne	a000a248 <IMFS_evaluate_for_make+0x1f4>       
	/*                                                                   
	 * 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 ) {                   
a000a13c:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
a000a140:	e35e0000 	cmp	lr, #0                                        
a000a144:	1a000044 	bne	a000a25c <IMFS_evaluate_for_make+0x208>       
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a000a148:	e1a00005 	mov	r0, r5                                        
a000a14c:	e1a01008 	mov	r1, r8                                        
a000a150:	eb00011d 	bl	a000a5cc <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
a000a154:	e2505000 	subs	r5, r0, #0                                   
a000a158:	0a000012 	beq	a000a1a8 <IMFS_evaluate_for_make+0x154>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
a000a15c:	e5865000 	str	r5, [r6]                                      
a000a160:	eaffffc5 	b	a000a07c <IMFS_evaluate_for_make+0x28>          
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a000a164:	e59f116c 	ldr	r1, [pc, #364]	; a000a2d8 <IMFS_evaluate_for_make+0x284>
a000a168:	e5912000 	ldr	r2, [r1]                                      
a000a16c:	e5922018 	ldr	r2, [r2, #24]                                 
a000a170:	e1520003 	cmp	r2, r3                                        
a000a174:	0affffc0 	beq	a000a07c <IMFS_evaluate_for_make+0x28>        
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
a000a178:	e596e010 	ldr	lr, [r6, #16]                                 
a000a17c:	e59e201c 	ldr	r2, [lr, #28]                                 
a000a180:	e1520003 	cmp	r2, r3                                        
a000a184:	0a000051 	beq	a000a2d0 <IMFS_evaluate_for_make+0x27c>       
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a000a188:	e5935008 	ldr	r5, [r3, #8]                                  
a000a18c:	e3550000 	cmp	r5, #0                                        
a000a190:	1afffff1 	bne	a000a15c <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 );                 
a000a194:	eb001047 	bl	a000e2b8 <__errno>                             
a000a198:	e3a03002 	mov	r3, #2                                        
a000a19c:	e5803000 	str	r3, [r0]                                      
a000a1a0:	e3e05000 	mvn	r5, #0                                        
a000a1a4:	eaffffc5 	b	a000a0c0 <IMFS_evaluate_for_make+0x6c>          
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a000a1a8:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
a000a1ac:	e59d1000 	ldr	r1, [sp]                                      
a000a1b0:	e0633007 	rsb	r3, r3, r7                                    
a000a1b4:	e08a3003 	add	r3, sl, r3                                    
a000a1b8:	e5813000 	str	r3, [r1]                                      
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
a000a1bc:	e7da0007 	ldrb	r0, [sl, r7]                                 
a000a1c0:	e3500000 	cmp	r0, #0                                        
a000a1c4:	0a00000e 	beq	a000a204 <IMFS_evaluate_for_make+0x1b0>       
a000a1c8:	e08a7007 	add	r7, sl, r7                                    
a000a1cc:	ea000002 	b	a000a1dc <IMFS_evaluate_for_make+0x188>         
a000a1d0:	e5f70001 	ldrb	r0, [r7, #1]!                                
a000a1d4:	e3500000 	cmp	r0, #0                                        
a000a1d8:	0a000009 	beq	a000a204 <IMFS_evaluate_for_make+0x1b0>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
a000a1dc:	ebffe328 	bl	a0002e84 <rtems_filesystem_is_separator>       
a000a1e0:	e3500000 	cmp	r0, #0                                        
a000a1e4:	1afffff9 	bne	a000a1d0 <IMFS_evaluate_for_make+0x17c>       
a000a1e8:	eaffffe9 	b	a000a194 <IMFS_evaluate_for_make+0x140>         
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a000a1ec:	e1a00006 	mov	r0, r6                                        
a000a1f0:	ebfffe65 	bl	a0009b8c <IMFS_evaluate_permission>            
a000a1f4:	e3500000 	cmp	r0, #0                                        
a000a1f8:	0a00000d 	beq	a000a234 <IMFS_evaluate_for_make+0x1e0>       
a000a1fc:	e5963000 	ldr	r3, [r6]                                      
a000a200:	eaffffb4 	b	a000a0d8 <IMFS_evaluate_for_make+0x84>          
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a000a204:	e1a00006 	mov	r0, r6                                        
a000a208:	ebfffe39 	bl	a0009af4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
a000a20c:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a000a210:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
a000a214:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000a218:	e3530001 	cmp	r3, #1                                        
a000a21c:	1a000009 	bne	a000a248 <IMFS_evaluate_for_make+0x1f4>       
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
a000a220:	e1a00006 	mov	r0, r6                                        
a000a224:	e3a01003 	mov	r1, #3                                        
a000a228:	ebfffe57 	bl	a0009b8c <IMFS_evaluate_permission>            
a000a22c:	e3500000 	cmp	r0, #0                                        
a000a230:	1affffa2 	bne	a000a0c0 <IMFS_evaluate_for_make+0x6c>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
a000a234:	eb00101f 	bl	a000e2b8 <__errno>                             
a000a238:	e3a0300d 	mov	r3, #13                                       
a000a23c:	e5803000 	str	r3, [r0]                                      
a000a240:	e3e05000 	mvn	r5, #0                                        
a000a244:	eaffff9d 	b	a000a0c0 <IMFS_evaluate_for_make+0x6c>          
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a000a248:	eb00101a 	bl	a000e2b8 <__errno>                             
a000a24c:	e3a03014 	mov	r3, #20                                       
a000a250:	e5803000 	str	r3, [r0]                                      
a000a254:	e3e05000 	mvn	r5, #0                                        
a000a258:	eaffff98 	b	a000a0c0 <IMFS_evaluate_for_make+0x6c>          
	 * 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;           
a000a25c:	e28ee01c 	add	lr, lr, #28                                   
a000a260:	e28dc028 	add	ip, sp, #40	; 0x28                            
a000a264:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000a268:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a000a26c:	e28d4028 	add	r4, sp, #40	; 0x28                            
a000a270:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a000a274:	e1a04006 	mov	r4, 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;           
a000a278:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
a000a27c:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000a280:	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;                                          
a000a284:	e584e000 	str	lr, [r4]                                      
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000a288:	e596300c 	ldr	r3, [r6, #12]                                 
a000a28c:	e0600007 	rsb	r0, r0, 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;           
a000a290:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000a294:	e08a0000 	add	r0, sl, r0                                    
a000a298:	e5933004 	ldr	r3, [r3, #4]                                  
a000a29c:	e1a01006 	mov	r1, r6                                        
a000a2a0:	e59d2000 	ldr	r2, [sp]                                      
a000a2a4:	e12fff33 	blx	r3                                            
a000a2a8:	e1a05000 	mov	r5, r0                                        
a000a2ac:	eaffff83 	b	a000a0c0 <IMFS_evaluate_for_make+0x6c>          
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a000a2b0:	e1a00006 	mov	r0, r6                                        
a000a2b4:	e3a01000 	mov	r1, #0                                        
a000a2b8:	ebffff30 	bl	a0009f80 <IMFS_evaluate_link>                  
                                                                      
          if ( result == -1 )                                         
a000a2bc:	e3700001 	cmn	r0, #1                                        
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a000a2c0:	e1a05000 	mov	r5, r0                                        
                                                                      
          if ( result == -1 )                                         
a000a2c4:	0affff7d 	beq	a000a0c0 <IMFS_evaluate_for_make+0x6c>        
a000a2c8:	e5965000 	ldr	r5, [r6]                                      
a000a2cc:	eaffff95 	b	a000a128 <IMFS_evaluate_for_make+0xd4>          
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a000a2d0:	e28ee008 	add	lr, lr, #8                                    
a000a2d4:	eaffffe1 	b	a000a260 <IMFS_evaluate_for_make+0x20c>         
                                                                      

a0009bcc <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;
a0009bcc:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009bd0:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a0009bd4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009bd8:	e1a04000 	mov	r4, r0                                        
a0009bdc:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a0009be0:	e3520003 	cmp	r2, #3                                        
a0009be4:	1a00000e 	bne	a0009c24 <IMFS_evaluate_hard_link+0x58>       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
a0009be8:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
a0009bec:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
a0009bf0:	ebffffbf 	bl	a0009af4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a0009bf4:	e1a00004 	mov	r0, r4                                        
a0009bf8:	e1a01005 	mov	r1, r5                                        
a0009bfc:	ebffffe2 	bl	a0009b8c <IMFS_evaluate_permission>            
a0009c00:	e3500000 	cmp	r0, #0                                        
a0009c04:	0a000001 	beq	a0009c10 <IMFS_evaluate_hard_link+0x44>       
a0009c08:	e3a00000 	mov	r0, #0                                        
a0009c0c:	e8bd8030 	pop	{r4, r5, pc}                                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0009c10:	eb0011a8 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0009c14:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a0009c18:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009c1c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a0009c20:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
a0009c24:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a0009c28:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a0009c2c:	ebfff006 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0009b8c <IMFS_evaluate_permission>: uid_t st_uid; gid_t st_gid; IMFS_jnode_t *jnode; int flags_to_test; if ( !rtems_libio_is_valid_perms( flags ) )
a0009b8c:	e3d13007 	bics	r3, r1, #7                                   
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
a0009b90:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a0009b94:	1a000007 	bne	a0009bb8 <IMFS_evaluate_permission+0x2c>      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
a0009b98:	e5903000 	ldr	r3, [r0]                                      
a0009b9c:	e1a01301 	lsl	r1, r1, #6                                    
a0009ba0:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          
a0009ba4:	e0010000 	and	r0, r1, r0                                    
a0009ba8:	e1510000 	cmp	r1, r0                                        
a0009bac:	13a00000 	movne	r0, #0                                      
a0009bb0:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
a0009bb4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
a0009bb8:	eb0011be 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0009bbc:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0009bc0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009bc4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009bc8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0009c30 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
a0009c30:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t                     *jnode  = node->node_access;       
a0009c34:	e5906000 	ldr	r6, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009c38:	e24dd004 	sub	sp, sp, #4                                    
a0009c3c:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a0009c40:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0009c44:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a0009c48:	e3530004 	cmp	r3, #4                                        
a0009c4c:	1a000024 	bne	a0009ce4 <IMFS_evaluate_sym_link+0xb4>        
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
a0009c50:	e5963008 	ldr	r3, [r6, #8]                                  
a0009c54:	e3530000 	cmp	r3, #0                                        
a0009c58:	0a00001e 	beq	a0009cd8 <IMFS_evaluate_sym_link+0xa8>        
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
a0009c5c:	e5803000 	str	r3, [r0]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a0009c60:	e5960050 	ldr	r0, [r6, #80]	; 0x50                          
a0009c64:	e1a0100d 	mov	r1, sp                                        
a0009c68:	e1a02004 	mov	r2, r4                                        
a0009c6c:	eb0004ea 	bl	a000b01c <rtems_filesystem_get_sym_start_loc>  
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a0009c70:	e59d3000 	ldr	r3, [sp]                                      
a0009c74:	e5966050 	ldr	r6, [r6, #80]	; 0x50                          
a0009c78:	e0866003 	add	r6, r6, r3                                    
a0009c7c:	e1a00006 	mov	r0, r6                                        
a0009c80:	eb001591 	bl	a000f2cc <strlen>                              
a0009c84:	e1a02005 	mov	r2, r5                                        
a0009c88:	e1a01000 	mov	r1, r0                                        
a0009c8c:	e1a03004 	mov	r3, r4                                        
a0009c90:	e1a00006 	mov	r0, r6                                        
a0009c94:	eb000015 	bl	a0009cf0 <IMFS_eval_path>                      
a0009c98:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
a0009c9c:	e1a00004 	mov	r0, r4                                        
a0009ca0:	ebffff93 	bl	a0009af4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a0009ca4:	e1a00004 	mov	r0, r4                                        
a0009ca8:	e1a01005 	mov	r1, r5                                        
a0009cac:	ebffffb6 	bl	a0009b8c <IMFS_evaluate_permission>            
a0009cb0:	e3500000 	cmp	r0, #0                                        
a0009cb4:	0a000002 	beq	a0009cc4 <IMFS_evaluate_sym_link+0x94>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0009cb8:	e1a00006 	mov	r0, r6                                        
a0009cbc:	e28dd004 	add	sp, sp, #4                                    
a0009cc0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0009cc4:	eb00117b 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0009cc8:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a0009ccc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009cd0:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0009cd4:	eafffff7 	b	a0009cb8 <IMFS_evaluate_sym_link+0x88>          <== NOT EXECUTED
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    rtems_fatal_error_occurred( 0xBAD00000 );                         
a0009cd8:	e3a004ba 	mov	r0, #-1174405120	; 0xba000000                 <== NOT EXECUTED
a0009cdc:	e280060d 	add	r0, r0, #13631488	; 0xd00000                  <== NOT EXECUTED
a0009ce0:	ebffefd9 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
a0009ce4:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a0009ce8:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a0009cec:	ebffefd6 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000a460 <IMFS_fifo_close>: } int IMFS_fifo_close( rtems_libio_t *iop ) {
a000a460:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a000a464:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a000a468:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000a46c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a000a470:	e2850050 	add	r0, r5, #80	; 0x50                            <== NOT EXECUTED
a000a474:	ebfffbd5 	bl	a00093d0 <pipe_release>                        <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
a000a478:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a000a47c:	0a000002 	beq	a000a48c <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);                                              
a000a480:	ba00000e 	blt	a000a4c0 <IMFS_fifo_close+0x60>               <== NOT EXECUTED
}                                                                     
a000a484:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000a488:	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;                                  
a000a48c:	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)     
a000a490:	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;                                  
a000a494:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a000a498:	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)     
a000a49c:	eb00019f 	bl	a000ab20 <rtems_libio_is_file_open>            <== NOT EXECUTED
a000a4a0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a4a4:	1afffff6 	bne	a000a484 <IMFS_fifo_close+0x24>               <== NOT EXECUTED
a000a4a8:	e1d533b4 	ldrh	r3, [r5, #52]	; 0x34                         <== NOT EXECUTED
a000a4ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000a4b0:	1afffff3 	bne	a000a484 <IMFS_fifo_close+0x24>               <== NOT EXECUTED
      free(jnode);                                                    
a000a4b4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a4b8:	ebffde9f 	bl	a0001f3c <free>                                <== NOT EXECUTED
a000a4bc:	eafffff0 	b	a000a484 <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a000a4c0:	eb000f7c 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a4c4:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
a000a4c8:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a000a4cc:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a000a4d0:	eaffffeb 	b	a000a484 <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
                                                                      

a000a334 <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a000a334:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a000a338:	e59f0068 	ldr	r0, [pc, #104]	; a000a3a8 <IMFS_fifo_ioctl+0x74><== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000a33c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a000a340:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
a000a344:	0a000005 	beq	a000a360 <IMFS_fifo_ioctl+0x2c>               <== NOT EXECUTED
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
a000a348:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
a000a34c:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
a000a350:	ebfffb15 	bl	a0008fac <pipe_ioctl>                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a000a354:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000a358:	ba00000d 	blt	a000a394 <IMFS_fifo_ioctl+0x60>               <== NOT EXECUTED
}                                                                     
a000a35c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
a000a360:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000a364:	03a0400e 	moveq	r4, #14                                     <== NOT EXECUTED
a000a368:	0a00000a 	beq	a000a398 <IMFS_fifo_ioctl+0x64>               <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
a000a36c:	e5920000 	ldr	r0, [r2]                                      <== NOT EXECUTED
a000a370:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a000a374:	15932014 	ldrne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a000a378:	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;                           
a000a37c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a000a380:	13822001 	orrne	r2, r2, #1                                  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a000a384:	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;                           
a000a388:	15832014 	strne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a000a38c:	05832014 	streq	r2, [r3, #20]                               <== NOT EXECUTED
a000a390:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a000a394:	e2604000 	rsb	r4, r0, #0                                    <== NOT EXECUTED
a000a398:	eb000fc6 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a39c:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a000a3a0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000a3a4:	eaffffec 	b	a000a35c <IMFS_fifo_ioctl+0x28>                 <== NOT EXECUTED
                                                                      

a000a2dc <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
a000a2dc:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
a000a2e0:	e590c038 	ldr	ip, [r0, #56]	; 0x38                          <== NOT EXECUTED
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
a000a2e4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
a000a2e8:	e59cc050 	ldr	ip, [ip, #80]	; 0x50                          <== NOT EXECUTED
a000a2ec:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
a000a2f0:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a000a2f4:	ebfffb0e 	bl	a0008f34 <pipe_lseek>                          <== NOT EXECUTED
a000a2f8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000a2fc:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a000a300:	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);       
a000a304:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a000a308:	ba000003 	blt	a000a31c <IMFS_fifo_lseek+0x40>               <== NOT EXECUTED
}                                                                     
a000a30c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000a310:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a000a314:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000a318:	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);                                              
a000a31c:	eb000fe5 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a320:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a000a324:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a000a328:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a000a32c:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
a000a330:	eafffff5 	b	a000a30c <IMFS_fifo_lseek+0x30>                 <== NOT EXECUTED
                                                                      

a000a408 <IMFS_fifo_read>: ssize_t IMFS_fifo_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a000a408:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a000a40c:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a410:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000a414:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
a000a418:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a000a41c:	ebfffb7e 	bl	a000921c <pipe_read>                           <== NOT EXECUTED
  if (err > 0)                                                        
a000a420:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a000a424:	da000007 	ble	a000a448 <IMFS_fifo_read+0x40>                <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
a000a428:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a000a42c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a430:	ebffdef5 	bl	a000200c <gettimeofday>                        <== NOT EXECUTED
a000a434:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000a438:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a000a43c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a440:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000a444:	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);                                              
a000a448:	0afffffb 	beq	a000a43c <IMFS_fifo_read+0x34>                <== NOT EXECUTED
a000a44c:	eb000f99 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a450:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a000a454:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a000a458:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000a45c:	eafffff6 	b	a000a43c <IMFS_fifo_read+0x34>                  <== NOT EXECUTED
                                                                      

a000a3ac <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a000a3ac:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a000a3b0:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000a3b4:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000a3b8:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
a000a3bc:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a000a3c0:	ebfffb14 	bl	a0009018 <pipe_write>                          <== NOT EXECUTED
  if (err > 0) {                                                      
a000a3c4:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a000a3c8:	da000008 	ble	a000a3f0 <IMFS_fifo_write+0x44>               <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
a000a3cc:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a000a3d0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000a3d4:	ebffdf0c 	bl	a000200c <gettimeofday>                        <== NOT EXECUTED
a000a3d8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000a3dc:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
a000a3e0:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a000a3e4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000a3e8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000a3ec:	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);                                              
a000a3f0:	0afffffb 	beq	a000a3e4 <IMFS_fifo_write+0x38>               <== NOT EXECUTED
a000a3f4:	eb000faf 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a3f8:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a000a3fc:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a000a400:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000a404:	eafffff6 	b	a000a3e4 <IMFS_fifo_write+0x38>                 <== NOT EXECUTED
                                                                      

a000a5cc <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
a000a5cc:	e92d4070 	push	{r4, r5, r6, lr}                             
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a000a5d0:	e2505000 	subs	r5, r0, #0                                   
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
a000a5d4:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a000a5d8:	0a000020 	beq	a000a660 <IMFS_find_match_in_dir+0x94>        
  if ( !name )                                                        
a000a5dc:	e3510000 	cmp	r1, #0                                        
a000a5e0:	0a00000c 	beq	a000a618 <IMFS_find_match_in_dir+0x4c>        
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
a000a5e4:	e1a00001 	mov	r0, r1                                        
a000a5e8:	e59f1084 	ldr	r1, [pc, #132]	; a000a674 <IMFS_find_match_in_dir+0xa8>
a000a5ec:	eb00125a 	bl	a000ef5c <strcmp>                              
a000a5f0:	e3500000 	cmp	r0, #0                                        
a000a5f4:	0a000005 	beq	a000a610 <IMFS_find_match_in_dir+0x44>        
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a000a5f8:	e1a00004 	mov	r0, r4                                        
a000a5fc:	e59f1074 	ldr	r1, [pc, #116]	; a000a678 <IMFS_find_match_in_dir+0xac>
a000a600:	eb001255 	bl	a000ef5c <strcmp>                              
a000a604:	e3500000 	cmp	r0, #0                                        
    return directory->Parent;                                         
a000a608:	05955008 	ldreq	r5, [r5, #8]                                
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a000a60c:	1a000004 	bne	a000a624 <IMFS_find_match_in_dir+0x58>        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000a610:	e1a00005 	mov	r0, r5                                        
a000a614:	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;                                  
a000a618:	e3a05000 	mov	r5, #0                                        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000a61c:	e1a00005 	mov	r0, r5                                        
a000a620:	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;                                  
a000a624:	e5956050 	ldr	r6, [r5, #80]	; 0x50                          
a000a628:	e2855054 	add	r5, r5, #84	; 0x54                            
a000a62c:	e1560005 	cmp	r6, r5                                        
a000a630:	1a000003 	bne	a000a644 <IMFS_find_match_in_dir+0x78>        
a000a634:	eafffff7 	b	a000a618 <IMFS_find_match_in_dir+0x4c>          
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
a000a638:	e5966000 	ldr	r6, [r6]                                      
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a000a63c:	e1560005 	cmp	r6, r5                                        
a000a640:	0afffff4 	beq	a000a618 <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 ) )                           
a000a644:	e1a00004 	mov	r0, r4                                        
a000a648:	e286100c 	add	r1, r6, #12                                   
a000a64c:	eb001242 	bl	a000ef5c <strcmp>                              
a000a650:	e3500000 	cmp	r0, #0                                        
a000a654:	1afffff7 	bne	a000a638 <IMFS_find_match_in_dir+0x6c>        
a000a658:	e1a05006 	mov	r5, r6                                        
a000a65c:	eaffffeb 	b	a000a610 <IMFS_find_match_in_dir+0x44>          
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a000a660:	e59f0014 	ldr	r0, [pc, #20]	; a000a67c <IMFS_find_match_in_dir+0xb0><== NOT EXECUTED
a000a664:	e3a0102a 	mov	r1, #42	; 0x2a                                <== NOT EXECUTED
a000a668:	e59f2010 	ldr	r2, [pc, #16]	; a000a680 <IMFS_find_match_in_dir+0xb4><== NOT EXECUTED
a000a66c:	e59f3010 	ldr	r3, [pc, #16]	; a000a684 <IMFS_find_match_in_dir+0xb8><== NOT EXECUTED
a000a670:	eb0000a0 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000a514 <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 ) {
a000a514:	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;     
a000a518:	e1a0c000 	mov	ip, r0                                        
a000a51c:	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                 
)                                                                     
{                                                                     
a000a520:	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;                                   
a000a524:	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                 
)                                                                     
{                                                                     
a000a528:	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;                                   
a000a52c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000a530:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
a000a534:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a000a538:	e3a01000 	mov	r1, #0                                        
a000a53c:	e58e101c 	str	r1, [lr, #28]                                 
    * 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;                                   
a000a540:	e1a0500d 	mov	r5, sp                                        
a000a544:	e5862000 	str	r2, [r6]                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000a548:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
a000a54c:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
a000a550:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000a554:	ebfffd66 	bl	a0009af4 <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
a000a558:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000a55c:	e2842054 	add	r2, r4, #84	; 0x54                            
a000a560:	e3530001 	cmp	r3, #1                                        
a000a564:	1a000010 	bne	a000a5ac <IMFS_fsunmount+0x98>                
a000a568:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000a56c:	e1530002 	cmp	r3, r2                                        
a000a570:	0a00000d 	beq	a000a5ac <IMFS_fsunmount+0x98>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
a000a574:	e3540000 	cmp	r4, #0                                        
a000a578:	0a000008 	beq	a000a5a0 <IMFS_fsunmount+0x8c>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
a000a57c:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000a580:	e3530001 	cmp	r3, #1                                        
a000a584:	1affffef 	bne	a000a548 <IMFS_fsunmount+0x34>                
a000a588:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000a58c:	e2842054 	add	r2, r4, #84	; 0x54                            
a000a590:	e1530002 	cmp	r3, r2                                        
a000a594:	0affffeb 	beq	a000a548 <IMFS_fsunmount+0x34>                
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000a598:	e2534000 	subs	r4, r3, #0                                   
a000a59c:	1affffe9 	bne	a000a548 <IMFS_fsunmount+0x34>                
a000a5a0:	e3a00000 	mov	r0, #0                                        
                                                                      
   return 0;                                                          
}                                                                     
a000a5a4:	e28dd014 	add	sp, sp, #20                                   
a000a5a8:	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 );                           
a000a5ac:	e3a00000 	mov	r0, #0                                        
a000a5b0:	e1a0100d 	mov	r1, sp                                        
a000a5b4:	ebffdce3 	bl	a0001948 <IMFS_unlink>                         
        if (result != 0)                                              
a000a5b8:	e3500000 	cmp	r0, #0                                        
a000a5bc:	01a04006 	moveq	r4, r6                                      
a000a5c0:	0affffeb 	beq	a000a574 <IMFS_fsunmount+0x60>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000a5c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000a5c8:	eafffff5 	b	a000a5a4 <IMFS_fsunmount+0x90>                  <== NOT EXECUTED
                                                                      

a0001504 <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 ) {
a0001504:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0001508:	e1a07001 	mov	r7, r1                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a000150c:	e59f10d4 	ldr	r1, [pc, #212]	; a00015e8 <IMFS_initialize_support+0xe4>
  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     
)                                                                     
{                                                                     
a0001510:	e1a04000 	mov	r4, r0                                        
a0001514:	e1a08002 	mov	r8, r2                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a0001518:	e5911000 	ldr	r1, [r1]                                      
  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     
)                                                                     
{                                                                     
a000151c:	e1a06003 	mov	r6, r3                                        
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
a0001520:	e3510010 	cmp	r1, #16                                       
a0001524:	0a000008 	beq	a000154c <IMFS_initialize_support+0x48>       
a0001528:	e3a03000 	mov	r3, #0                                        
a000152c:	e3a02020 	mov	r2, #32                                       
a0001530:	e1510002 	cmp	r1, r2                                        
a0001534:	e2833001 	add	r3, r3, #1                                    
a0001538:	0a000003 	beq	a000154c <IMFS_initialize_support+0x48>       
a000153c:	e3530005 	cmp	r3, #5                                        
a0001540:	e1a02082 	lsl	r2, r2, #1                                    
a0001544:	1afffff9 	bne	a0001530 <IMFS_initialize_support+0x2c>       
a0001548:	e3a01080 	mov	r1, #128	; 0x80                               <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
a000154c:	e59f5098 	ldr	r5, [pc, #152]	; a00015ec <IMFS_initialize_support+0xe8>
a0001550:	e5851000 	str	r1, [r5]                                      
  /*                                                                  
   *  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();
a0001554:	eb002104 	bl	a000996c <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;
a0001558:	e59fe090 	ldr	lr, [pc, #144]	; a00015f0 <IMFS_initialize_support+0xec>
a000155c:	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();
a0001560:	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;
a0001564:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0001568:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000156c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0001570:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001574:	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;              
a0001578:	e5847028 	str	r7, [r4, #40]	; 0x28                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
a000157c:	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;    
a0001580:	e5846024 	str	r6, [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 ) );                    
a0001584:	e3a00001 	mov	r0, #1                                        
a0001588:	e3a01010 	mov	r1, #16                                       
a000158c:	eb0001d5 	bl	a0001ce8 <calloc>                              
  if ( !fs_info ) {                                                   
a0001590:	e3500000 	cmp	r0, #0                                        
a0001594:	0a00000c 	beq	a00015cc <IMFS_initialize_support+0xc8>       
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0001598:	e5952004 	ldr	r2, [r5, #4]                                  
  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;                                 
a000159c:	e594101c 	ldr	r1, [r4, #28]                                 
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
a00015a0:	e3a03001 	mov	r3, #1                                        
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015a4:	e880000c 	stm	r0, {r2, r3}                                  
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
a00015a8:	e580600c 	str	r6, [r0, #12]                                 
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
a00015ac:	e5808008 	str	r8, [r0, #8]                                  
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015b0:	e0822003 	add	r2, r2, r3                                    
  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;                                   
a00015b4:	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;                                 
a00015b8:	e5813038 	str	r3, [r1, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a00015bc:	e5852004 	str	r2, [r5, #4]                                  
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
a00015c0:	eb001e5d 	bl	a0008f3c <rtems_pipe_initialize>               
a00015c4:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a00015c8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, 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);                      
a00015cc:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a00015d0:	eb000259 	bl	a0001f3c <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a00015d4:	eb003337 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00015d8:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00015dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00015e0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00015e4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a00015f4 <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 */ ) {
a00015f4:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a00015f8:	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 */            
)                                                                     
{                                                                     
a00015fc:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0001600:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a0001604:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a0001608:	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 */            
)                                                                     
{                                                                     
a000160c:	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 )               
a0001610:	e3530007 	cmp	r3, #7                                        
a0001614:	8a00001e 	bhi	a0001694 <IMFS_link+0xa0>                     
    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 );             
a0001618:	e1a00002 	mov	r0, r2                                        
a000161c:	eb00372a 	bl	a000f2cc <strlen>                              
a0001620:	e28d4004 	add	r4, sp, #4                                    
a0001624:	e1a01000 	mov	r1, r0                                        
a0001628:	e1a02004 	mov	r2, r4                                        
a000162c:	e28d3044 	add	r3, sp, #68	; 0x44                            
a0001630:	e1a00006 	mov	r0, r6                                        
a0001634:	eb002413 	bl	a000a688 <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(                                        
a0001638:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a000163c:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0001640:	e1a00005 	mov	r0, r5                                        
a0001644:	e1a02004 	mov	r2, r4                                        
a0001648:	e2433001 	sub	r3, r3, #1                                    
a000164c:	e3a01003 	mov	r1, #3                                        
a0001650:	e58dc000 	str	ip, [sp]                                      
a0001654:	eb0020d4 	bl	a00099ac <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0001658:	e3500000 	cmp	r0, #0                                        
a000165c:	0a000011 	beq	a00016a8 <IMFS_link+0xb4>                     
    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++;                               
a0001660:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
a0001664:	e28d003c 	add	r0, sp, #60	; 0x3c                            
a0001668:	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++;                               
a000166c:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a0001670:	e2822001 	add	r2, r2, #1                                    
a0001674:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
a0001678:	eb000263 	bl	a000200c <gettimeofday>                        
a000167c:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a0001680:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0001684:	e3a00000 	mov	r0, #0                                        
a0001688:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a000168c:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0001690:	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 );                   
a0001694:	eb003307 	bl	a000e2b8 <__errno>                             
a0001698:	e3a0301f 	mov	r3, #31                                       
a000169c:	e5803000 	str	r3, [r0]                                      
a00016a0:	e3e00000 	mvn	r0, #0                                        
a00016a4:	eafffff8 	b	a000168c <IMFS_link+0x98>                       
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a00016a8:	eb003302 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00016ac:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00016b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00016b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00016b8:	eafffff3 	b	a000168c <IMFS_link+0x98>                       <== NOT EXECUTED
                                                                      

a000c968 <IMFS_memfile_addblock>: ) { block_p memory; block_p *block_entry_ptr; assert( the_jnode );
a000c968:	e2503000 	subs	r3, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
a000c96c:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a000c970:	0a000010 	beq	a000c9b8 <IMFS_memfile_addblock+0x50>         
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c974:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a000c978:	e3530005 	cmp	r3, #5                                        
a000c97c:	1a000013 	bne	a000c9d0 <IMFS_memfile_addblock+0x68>         
  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 );
a000c980:	e3a02001 	mov	r2, #1                                        
a000c984:	ebfffe95 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
a000c988:	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 );
a000c98c:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
a000c990:	e3540000 	cmp	r4, #0                                        
a000c994:	0a000001 	beq	a000c9a0 <IMFS_memfile_addblock+0x38>         
a000c998:	e3a00000 	mov	r0, #0                                        
a000c99c:	e8bd8030 	pop	{r4, r5, pc}                                  
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
a000c9a0:	ebfffe81 	bl	a000c3ac <memfile_alloc_block>                 
  if ( !memory )                                                      
a000c9a4:	e3500000 	cmp	r0, #0                                        
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a000c9a8:	15850000 	strne	r0, [r5]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
a000c9ac:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a000c9b0:	11a00004 	movne	r0, r4                                      
                                                                      
  return 0;                                                           
}                                                                     
a000c9b4:	e8bd8030 	pop	{r4, r5, pc}                                  
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a000c9b8:	e3a01f5a 	mov	r1, #360	; 0x168                              <== NOT EXECUTED
a000c9bc:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000c9c0:	e59f0020 	ldr	r0, [pc, #32]	; a000c9e8 <IMFS_memfile_addblock+0x80><== NOT EXECUTED
a000c9c4:	e59f2020 	ldr	r2, [pc, #32]	; a000c9ec <IMFS_memfile_addblock+0x84><== NOT EXECUTED
a000c9c8:	e59f3020 	ldr	r3, [pc, #32]	; a000c9f0 <IMFS_memfile_addblock+0x88><== NOT EXECUTED
a000c9cc:	ebfff7c9 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c9d0:	e3a01f5b 	mov	r1, #364	; 0x16c                              <== NOT EXECUTED
a000c9d4:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000c9d8:	e59f0008 	ldr	r0, [pc, #8]	; a000c9e8 <IMFS_memfile_addblock+0x80><== NOT EXECUTED
a000c9dc:	e59f2008 	ldr	r2, [pc, #8]	; a000c9ec <IMFS_memfile_addblock+0x84><== NOT EXECUTED
a000c9e0:	e59f300c 	ldr	r3, [pc, #12]	; a000c9f4 <IMFS_memfile_addblock+0x8c><== NOT EXECUTED
a000c9e4:	ebfff7c3 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000c9f8 <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
a000c9f8:	e92d4df0 	push	{r4, r5, r6, r7, r8, sl, fp, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c9fc:	e2504000 	subs	r4, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a000ca00:	e24dd004 	sub	sp, sp, #4                                    
a000ca04:	e1a08001 	mov	r8, r1                                        
a000ca08:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000ca0c:	0a00004f 	beq	a000cb50 <IMFS_memfile_extend+0x158>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000ca10:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000ca14:	e3530005 	cmp	r3, #5                                        
a000ca18:	1a000046 	bne	a000cb38 <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 )                      
a000ca1c:	e3a03000 	mov	r3, #0                                        
a000ca20:	e1530002 	cmp	r3, r2                                        
a000ca24:	e59f313c 	ldr	r3, [pc, #316]	; a000cb68 <IMFS_memfile_extend+0x170>
a000ca28:	e593b000 	ldr	fp, [r3]                                      
a000ca2c:	e1a0312b 	lsr	r3, fp, #2                                    
a000ca30:	e0213393 	mla	r1, r3, r3, r3                                
a000ca34:	e0223391 	mla	r2, r1, r3, r3                                
a000ca38:	e2423001 	sub	r3, r2, #1                                    
a000ca3c:	e002039b 	mul	r2, fp, r3                                    
a000ca40:	da000034 	ble	a000cb18 <IMFS_memfile_extend+0x120>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a000ca44:	e5947054 	ldr	r7, [r4, #84]	; 0x54                          
a000ca48:	e594a050 	ldr	sl, [r4, #80]	; 0x50                          
a000ca4c:	e1560007 	cmp	r6, r7                                        
a000ca50:	da000027 	ble	a000caf4 <IMFS_memfile_extend+0xfc>           
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000ca54:	e1a0cfcb 	asr	ip, fp, #31                                   
a000ca58:	e1a0300c 	mov	r3, ip                                        
a000ca5c:	e1a0200b 	mov	r2, fp                                        
a000ca60:	e1a00008 	mov	r0, r8                                        
a000ca64:	e1a01006 	mov	r1, r6                                        
a000ca68:	e58dc000 	str	ip, [sp]                                      
a000ca6c:	eb002e8c 	bl	a00184a4 <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000ca70:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a000ca74:	e1a05000 	mov	r5, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a000ca78:	e1a01007 	mov	r1, r7                                        
a000ca7c:	e1a0000a 	mov	r0, sl                                        
a000ca80:	e1a0200b 	mov	r2, fp                                        
a000ca84:	e1a0300c 	mov	r3, ip                                        
a000ca88:	eb002e85 	bl	a00184a4 <__divdi3>                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000ca8c:	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;
a000ca90:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a000ca94:	3a00001b 	bcc	a000cb08 <IMFS_memfile_extend+0x110>          
a000ca98:	e1a07000 	mov	r7, r0                                        
a000ca9c:	ea000002 	b	a000caac <IMFS_memfile_extend+0xb4>             
a000caa0:	e2877001 	add	r7, r7, #1                                    
a000caa4:	e1550007 	cmp	r5, r7                                        
a000caa8:	3a000016 	bcc	a000cb08 <IMFS_memfile_extend+0x110>          
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
a000caac:	e1a00004 	mov	r0, r4                                        
a000cab0:	e1a01007 	mov	r1, r7                                        
a000cab4:	ebffffab 	bl	a000c968 <IMFS_memfile_addblock>               
a000cab8:	e3500000 	cmp	r0, #0                                        
a000cabc:	0afffff7 	beq	a000caa0 <IMFS_memfile_extend+0xa8>           
a000cac0:	ea000003 	b	a000cad4 <IMFS_memfile_extend+0xdc>             <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
a000cac4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000cac8:	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-- ) {                        
a000cacc:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
a000cad0:	ebfffef0 	bl	a000c698 <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-- ) {                        
a000cad4:	e15a0007 	cmp	sl, r7                                        <== NOT EXECUTED
a000cad8:	9afffff9 	bls	a000cac4 <IMFS_memfile_extend+0xcc>           <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
a000cadc:	eb0005f5 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000cae0:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000cae4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000cae8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
a000caec:	e28dd004 	add	sp, sp, #4                                    
a000caf0:	e8bd8df0 	pop	{r4, r5, r6, r7, r8, sl, fp, pc}              
    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 )                      
a000caf4:	1a000001 	bne	a000cb00 <IMFS_memfile_extend+0x108>          
a000caf8:	e158000a 	cmp	r8, sl                                        
a000cafc:	8affffd4 	bhi	a000ca54 <IMFS_memfile_extend+0x5c>           
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a000cb00:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
a000cb04:	eafffff8 	b	a000caec <IMFS_memfile_extend+0xf4>             
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a000cb08:	e5846054 	str	r6, [r4, #84]	; 0x54                          
a000cb0c:	e5848050 	str	r8, [r4, #80]	; 0x50                          
a000cb10:	e3a00000 	mov	r0, #0                                        
a000cb14:	eafffff4 	b	a000caec <IMFS_memfile_extend+0xf4>             
                                                                      
  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 )                      
a000cb18:	1a000001 	bne	a000cb24 <IMFS_memfile_extend+0x12c>          
a000cb1c:	e1520008 	cmp	r2, r8                                        
a000cb20:	8affffc7 	bhi	a000ca44 <IMFS_memfile_extend+0x4c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000cb24:	eb0005e3 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000cb28:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000cb2c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000cb30:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000cb34:	eaffffec 	b	a000caec <IMFS_memfile_extend+0xf4>             <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000cb38:	e3a01f4d 	mov	r1, #308	; 0x134                              <== NOT EXECUTED
a000cb3c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000cb40:	e59f0024 	ldr	r0, [pc, #36]	; a000cb6c <IMFS_memfile_extend+0x174><== NOT EXECUTED
a000cb44:	e59f2024 	ldr	r2, [pc, #36]	; a000cb70 <IMFS_memfile_extend+0x178><== NOT EXECUTED
a000cb48:	e59f3024 	ldr	r3, [pc, #36]	; a000cb74 <IMFS_memfile_extend+0x17c><== NOT EXECUTED
a000cb4c:	ebfff769 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000cb50:	e3a01e13 	mov	r1, #304	; 0x130                              <== NOT EXECUTED
a000cb54:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000cb58:	e59f000c 	ldr	r0, [pc, #12]	; a000cb6c <IMFS_memfile_extend+0x174><== NOT EXECUTED
a000cb5c:	e59f200c 	ldr	r2, [pc, #12]	; a000cb70 <IMFS_memfile_extend+0x178><== NOT EXECUTED
a000cb60:	e59f3010 	ldr	r3, [pc, #16]	; a000cb78 <IMFS_memfile_extend+0x180><== NOT EXECUTED
a000cb64:	ebfff763 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000c3e0 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
a000c3e0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c3e4:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a000c3e8:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c3ec:	0a000073 	beq	a000c5c0 <IMFS_memfile_get_block_pointer+0x1e0>
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c3f0:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000c3f4:	e3530005 	cmp	r3, #5                                        
a000c3f8:	1a00006b 	bne	a000c5ac <IMFS_memfile_get_block_pointer+0x1cc>
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a000c3fc:	e59f31f8 	ldr	r3, [pc, #504]	; a000c5fc <IMFS_memfile_get_block_pointer+0x21c>
a000c400:	e5935000 	ldr	r5, [r3]                                      
a000c404:	e1a05125 	lsr	r5, r5, #2                                    
a000c408:	e2453001 	sub	r3, r5, #1                                    
a000c40c:	e1510003 	cmp	r1, r3                                        
a000c410:	9a000019 	bls	a000c47c <IMFS_memfile_get_block_pointer+0x9c>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
a000c414:	e0265595 	mla	r6, r5, r5, r5                                <== NOT EXECUTED
a000c418:	e2463001 	sub	r3, r6, #1                                    <== NOT EXECUTED
a000c41c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a000c420:	8a000025 	bhi	a000c4bc <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
a000c424:	e0656001 	rsb	r6, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c428:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000c42c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000c430:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a000c434:	eb002d6d 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c438:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c43c:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c440:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000c444:	eb002d25 	bl	a00178e0 <__aeabi_uidiv>                       <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
a000c448:	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;                     
a000c44c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
a000c450:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    if ( malloc_it ) {                                                
a000c454:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000c458:	0a000047 	beq	a000c57c <IMFS_memfile_get_block_pointer+0x19c><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
a000c45c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c460:	0a00004c 	beq	a000c598 <IMFS_memfile_get_block_pointer+0x1b8><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
a000c464:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
a000c468:	e0835105 	add	r5, r3, r5, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
a000c46c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000c470:	0a000034 	beq	a000c548 <IMFS_memfile_get_block_pointer+0x168><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c474:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a000c478:	ea000005 	b	a000c494 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
a000c47c:	e3520000 	cmp	r2, #0                                        
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
a000c480:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
a000c484:	0a000035 	beq	a000c560 <IMFS_memfile_get_block_pointer+0x180>
                                                                      
      if ( !p ) {                                                     
a000c488:	e3500000 	cmp	r0, #0                                        
a000c48c:	0a000002 	beq	a000c49c <IMFS_memfile_get_block_pointer+0xbc>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
a000c490:	e0800101 	add	r0, r0, r1, lsl #2                            
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a000c494:	e28dd004 	add	sp, sp, #4                                    
a000c498:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c49c:	e58d1000 	str	r1, [sp]                                      
a000c4a0:	ebffffc1 	bl	a000c3ac <memfile_alloc_block>                 
        if ( !p )                                                     
a000c4a4:	e3500000 	cmp	r0, #0                                        
a000c4a8:	e59d1000 	ldr	r1, [sp]                                      
           return 0;                                                  
        info->indirect = p;                                           
a000c4ac:	15840058 	strne	r0, [r4, #88]	; 0x58                        
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
a000c4b0:	1afffff6 	bne	a000c490 <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c4b4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000c4b8:	eafffff5 	b	a000c494 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a000c4bc:	e0235596 	mla	r3, r6, r5, r5                                <== NOT EXECUTED
a000c4c0:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000c4c4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a000c4c8:	8afffff9 	bhi	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
a000c4cc:	e0666001 	rsb	r6, r6, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c4d0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000c4d4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000c4d8:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a000c4dc:	eb002d43 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c4e0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c4e4:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a000c4e8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000c4ec:	eb002cfb 	bl	a00178e0 <__aeabi_uidiv>                       <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000c4f0:	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;                     
a000c4f4:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a000c4f8:	eb002cf8 	bl	a00178e0 <__aeabi_uidiv>                       <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000c4fc:	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;                       
a000c500:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a000c504:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000c508:	eb002d38 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
a000c50c:	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;                               
a000c510:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
a000c514:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
a000c518:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000c51c:	0a000013 	beq	a000c570 <IMFS_memfile_get_block_pointer+0x190><== NOT EXECUTED
      if ( !p ) {                                                     
a000c520:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c524:	0a00002f 	beq	a000c5e8 <IMFS_memfile_get_block_pointer+0x208><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
a000c528:	e7932106 	ldr	r2, [r3, r6, lsl #2]                          <== NOT EXECUTED
a000c52c:	e0836106 	add	r6, r3, r6, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
a000c530:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000c534:	0a000026 	beq	a000c5d4 <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
a000c538:	e7920105 	ldr	r0, [r2, r5, lsl #2]                          <== NOT EXECUTED
a000c53c:	e0825105 	add	r5, r2, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
a000c540:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000c544:	1affffca 	bne	a000c474 <IMFS_memfile_get_block_pointer+0x94><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
a000c548:	ebffff97 	bl	a000c3ac <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p2 )                                                    
a000c54c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
a000c550:	15850000 	strne	r0, [r5]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
a000c554:	0affffd6 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c558:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a000c55c:	eaffffcc 	b	a000c494 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
a000c560:	e3500000 	cmp	r0, #0                                        
a000c564:	1affffc9 	bne	a000c490 <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c568:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000c56c:	eaffffc8 	b	a000c494 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a000c570:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c574:	0affffce 	beq	a000c4b4 <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 ];                                     
a000c578:	e7933106 	ldr	r3, [r3, r6, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
a000c57c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c580:	0affffcb 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
a000c584:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
    if ( !p2 )                                                        
a000c588:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000c58c:	0affffc8 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a000c590:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a000c594:	eaffffbe 	b	a000c494 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c598:	ebffff83 	bl	a000c3ac <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a000c59c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000c5a0:	0affffc3 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
a000c5a4:	e584305c 	str	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a000c5a8:	eaffffad 	b	a000c464 <IMFS_memfile_get_block_pointer+0x84>  <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c5ac:	e59f004c 	ldr	r0, [pc, #76]	; a000c600 <IMFS_memfile_get_block_pointer+0x220><== NOT EXECUTED
a000c5b0:	e3a01fe3 	mov	r1, #908	; 0x38c                              <== NOT EXECUTED
a000c5b4:	e59f2048 	ldr	r2, [pc, #72]	; a000c604 <IMFS_memfile_get_block_pointer+0x224><== NOT EXECUTED
a000c5b8:	e59f3048 	ldr	r3, [pc, #72]	; a000c608 <IMFS_memfile_get_block_pointer+0x228><== NOT EXECUTED
a000c5bc:	ebfff8cd 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c5c0:	e59f0038 	ldr	r0, [pc, #56]	; a000c600 <IMFS_memfile_get_block_pointer+0x220><== NOT EXECUTED
a000c5c4:	e3a01fe2 	mov	r1, #904	; 0x388                              <== NOT EXECUTED
a000c5c8:	e59f2034 	ldr	r2, [pc, #52]	; a000c604 <IMFS_memfile_get_block_pointer+0x224><== NOT EXECUTED
a000c5cc:	e59f3038 	ldr	r3, [pc, #56]	; a000c60c <IMFS_memfile_get_block_pointer+0x22c><== NOT EXECUTED
a000c5d0:	ebfff8c8 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a000c5d4:	ebffff74 	bl	a000c3ac <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p1 )                                                    
a000c5d8:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
a000c5dc:	0affffb4 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
a000c5e0:	e5862000 	str	r2, [r6]                                      <== NOT EXECUTED
a000c5e4:	eaffffd3 	b	a000c538 <IMFS_memfile_get_block_pointer+0x158> <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a000c5e8:	ebffff6f 	bl	a000c3ac <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a000c5ec:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000c5f0:	0affffaf 	beq	a000c4b4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
a000c5f4:	e5843060 	str	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a000c5f8:	eaffffca 	b	a000c528 <IMFS_memfile_get_block_pointer+0x148> <== NOT EXECUTED
                                                                      

a000d00c <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
a000d00c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000d010:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a000d014:	e24dd014 	sub	sp, sp, #20                                   
a000d018:	e1a08003 	mov	r8, r3                                        
a000d01c:	e1a0a001 	mov	sl, r1                                        
a000d020:	e1a0b002 	mov	fp, r2                                        
a000d024:	e59d5038 	ldr	r5, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000d028:	0a000089 	beq	a000d254 <IMFS_memfile_read+0x248>            
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
a000d02c:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
a000d030:	e2432005 	sub	r2, r3, #5                                    
a000d034:	e3520001 	cmp	r2, #1                                        
a000d038:	8a000096 	bhi	a000d298 <IMFS_memfile_read+0x28c>            
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
a000d03c:	e3580000 	cmp	r8, #0                                        
a000d040:	0a00008e 	beq	a000d280 <IMFS_memfile_read+0x274>            
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000d044:	e3550000 	cmp	r5, #0                                        
a000d048:	0a000076 	beq	a000d228 <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) {                          
a000d04c:	e3530006 	cmp	r3, #6                                        
a000d050:	0a00005a 	beq	a000d1c0 <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 )                        
a000d054:	e5992054 	ldr	r2, [r9, #84]	; 0x54                          
  /*                                                                  
   *  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;                                         
a000d058:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
a000d05c:	e3a01000 	mov	r1, #0                                        
a000d060:	e1510002 	cmp	r1, r2                                        
a000d064:	e5992050 	ldr	r2, [r9, #80]	; 0x50                          
a000d068:	e085100a 	add	r1, r5, sl                                    
a000d06c:	da00004f 	ble	a000d1b0 <IMFS_memfile_read+0x1a4>            
    my_length = the_jnode->info.file.size - start;                    
a000d070:	e0635002 	rsb	r5, r3, r2                                    
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000d074:	e59f624c 	ldr	r6, [pc, #588]	; a000d2c8 <IMFS_memfile_read+0x2bc>
a000d078:	e1a0000a 	mov	r0, sl                                        
a000d07c:	e1a0100b 	mov	r1, fp                                        
a000d080:	e5964000 	ldr	r4, [r6]                                      
a000d084:	e1a02004 	mov	r2, r4                                        
a000d088:	e1a03fc2 	asr	r3, r2, #31                                   
a000d08c:	e98d000c 	stmib	sp, {r2, r3}                                
a000d090:	eb002e2d 	bl	a001894c <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000d094:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000d098:	e1a0c000 	mov	ip, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000d09c:	e1a0100b 	mov	r1, fp                                        
a000d0a0:	e1a0000a 	mov	r0, sl                                        
a000d0a4:	e58dc000 	str	ip, [sp]                                      
a000d0a8:	eb002cfd 	bl	a00184a4 <__divdi3>                            
  if ( start_offset )  {                                              
a000d0ac:	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;                       
a000d0b0:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
a000d0b4:	e35c0000 	cmp	ip, #0                                        
a000d0b8:	01a0a00c 	moveq	sl, ip                                      
a000d0bc:	0a000013 	beq	a000d110 <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 );
a000d0c0:	e1a00009 	mov	r0, r9                                        
a000d0c4:	e1a01007 	mov	r1, r7                                        
a000d0c8:	e3a02000 	mov	r2, #0                                        
a000d0cc:	e58dc000 	str	ip, [sp]                                      
a000d0d0:	ebfffcc2 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000d0d4:	e3500000 	cmp	r0, #0                                        
a000d0d8:	e59dc000 	ldr	ip, [sp]                                      
a000d0dc:	0a000073 	beq	a000d2b0 <IMFS_memfile_read+0x2a4>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a000d0e0:	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;            
a000d0e4:	e06ca004 	rsb	sl, ip, r4                                    
a000d0e8:	e155000a 	cmp	r5, sl                                        
a000d0ec:	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 );           
a000d0f0:	e1a00008 	mov	r0, r8                                        
a000d0f4:	e081100c 	add	r1, r1, ip                                    
a000d0f8:	e1a0200a 	mov	r2, sl                                        
a000d0fc:	eb00067b 	bl	a000eaf0 <memcpy>                              
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a000d100:	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;                                                  
a000d104:	e088800a 	add	r8, r8, sl                                    
    block++;                                                          
a000d108:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
a000d10c:	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 ) {               
a000d110:	e1550004 	cmp	r5, r4                                        
a000d114:	3a000010 	bcc	a000d15c <IMFS_memfile_read+0x150>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000d118:	e1a00009 	mov	r0, r9                                        
a000d11c:	e1a01007 	mov	r1, r7                                        
a000d120:	e3a02000 	mov	r2, #0                                        
a000d124:	ebfffcad 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000d128:	e3500000 	cmp	r0, #0                                        
a000d12c:	0a000042 	beq	a000d23c <IMFS_memfile_read+0x230>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a000d130:	e5901000 	ldr	r1, [r0]                                      
a000d134:	e1a02004 	mov	r2, r4                                        
a000d138:	e1a00008 	mov	r0, r8                                        
a000d13c:	eb00066b 	bl	a000eaf0 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000d140:	e5963000 	ldr	r3, [r6]                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a000d144:	e0645005 	rsb	r5, r4, 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;                                                  
a000d148:	e0888004 	add	r8, r8, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000d14c:	e1530005 	cmp	r3, r5                                        
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
a000d150:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000d154:	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 ) {               
a000d158:	9affffee 	bls	a000d118 <IMFS_memfile_read+0x10c>            
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
a000d15c:	e3550000 	cmp	r5, #0                                        
a000d160:	0a00000a 	beq	a000d190 <IMFS_memfile_read+0x184>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000d164:	e1a01007 	mov	r1, r7                                        
a000d168:	e1a00009 	mov	r0, r9                                        
a000d16c:	e3a02000 	mov	r2, #0                                        
a000d170:	ebfffc9a 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000d174:	e2503000 	subs	r3, r0, #0                                   
a000d178:	0a00003a 	beq	a000d268 <IMFS_memfile_read+0x25c>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
a000d17c:	e1a00008 	mov	r0, r8                                        
a000d180:	e5931000 	ldr	r1, [r3]                                      
a000d184:	e1a02005 	mov	r2, r5                                        
a000d188:	eb000658 	bl	a000eaf0 <memcpy>                              
    copied += my_length;                                              
a000d18c:	e08aa005 	add	sl, sl, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000d190:	e28d000c 	add	r0, sp, #12                                   
a000d194:	e3a01000 	mov	r1, #0                                        
a000d198:	ebffd39b 	bl	a000200c <gettimeofday>                        
a000d19c:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a000d1a0:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000d1a4:	e5893040 	str	r3, [r9, #64]	; 0x40                          
                                                                      
  return copied;                                                      
}                                                                     
a000d1a8:	e28dd014 	add	sp, sp, #20                                   
a000d1ac:	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 )                        
a000d1b0:	1affffaf 	bne	a000d074 <IMFS_memfile_read+0x68>             
a000d1b4:	e1510002 	cmp	r1, r2                                        
a000d1b8:	9affffad 	bls	a000d074 <IMFS_memfile_read+0x68>             
a000d1bc:	eaffffab 	b	a000d070 <IMFS_memfile_read+0x64>               
  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))        
a000d1c0:	e2894050 	add	r4, r9, #80	; 0x50                            <== NOT EXECUTED
a000d1c4:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
a000d1c8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a000d1cc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000d1d0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000d1d4:	e050000a 	subs	r0, r0, sl                                   <== NOT EXECUTED
a000d1d8:	e0c1100b 	sbc	r1, r1, fp                                    <== NOT EXECUTED
a000d1dc:	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;    
a000d1e0:	e5992058 	ldr	r2, [r9, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a000d1e4:	da00000b 	ble	a000d218 <IMFS_memfile_read+0x20c>            <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
a000d1e8:	e06a5003 	rsb	r5, sl, r3                                    <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
a000d1ec:	e082100a 	add	r1, r2, sl                                    <== NOT EXECUTED
a000d1f0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000d1f4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a000d1f8:	eb00063c 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
a000d1fc:	e28d000c 	add	r0, sp, #12                                   <== NOT EXECUTED
a000d200:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000d204:	ebffd380 	bl	a000200c <gettimeofday>                        <== NOT EXECUTED
a000d208:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
                                                                      
    return my_length;                                                 
a000d20c:	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 );                                   
a000d210:	e5893040 	str	r3, [r9, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
    return my_length;                                                 
a000d214:	eaffffe3 	b	a000d1a8 <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))        
a000d218:	1afffff3 	bne	a000d1ec <IMFS_memfile_read+0x1e0>            <== NOT EXECUTED
a000d21c:	e1550000 	cmp	r5, r0                                        <== NOT EXECUTED
a000d220:	8afffff0 	bhi	a000d1e8 <IMFS_memfile_read+0x1dc>            <== NOT EXECUTED
a000d224:	eafffff0 	b	a000d1ec <IMFS_memfile_read+0x1e0>              <== 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 );                   
a000d228:	eb000422 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000d22c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000d230:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d234:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d238:	eaffffda 	b	a000d1a8 <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 );                                              
a000d23c:	e3a01fa9 	mov	r1, #676	; 0x2a4                              <== NOT EXECUTED
a000d240:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a000d244:	e59f0080 	ldr	r0, [pc, #128]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d248:	e59f2080 	ldr	r2, [pc, #128]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d24c:	e59f3080 	ldr	r3, [pc, #128]	; a000d2d4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a000d250:	ebfff5a8 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000d254:	e59f0070 	ldr	r0, [pc, #112]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d258:	e3a01f93 	mov	r1, #588	; 0x24c                              <== NOT EXECUTED
a000d25c:	e59f206c 	ldr	r2, [pc, #108]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d260:	e59f3070 	ldr	r3, [pc, #112]	; a000d2d8 <IMFS_memfile_read+0x2cc><== NOT EXECUTED
a000d264:	ebfff5a3 	bl	a000a8f8 <__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 );                                              
a000d268:	e3a01fae 	mov	r1, #696	; 0x2b8                              <== NOT EXECUTED
a000d26c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000d270:	e59f0054 	ldr	r0, [pc, #84]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d274:	e59f2054 	ldr	r2, [pc, #84]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d278:	e59f3054 	ldr	r3, [pc, #84]	; a000d2d4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a000d27c:	ebfff59d 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
a000d280:	e3a01f96 	mov	r1, #600	; 0x258                              <== NOT EXECUTED
a000d284:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000d288:	e59f003c 	ldr	r0, [pc, #60]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d28c:	e59f203c 	ldr	r2, [pc, #60]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d290:	e59f3044 	ldr	r3, [pc, #68]	; a000d2dc <IMFS_memfile_read+0x2d0><== NOT EXECUTED
a000d294:	ebfff597 	bl	a000a8f8 <__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 ||                      
a000d298:	e3a01e25 	mov	r1, #592	; 0x250                              <== NOT EXECUTED
a000d29c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a000d2a0:	e59f0024 	ldr	r0, [pc, #36]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d2a4:	e59f2024 	ldr	r2, [pc, #36]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d2a8:	e59f3030 	ldr	r3, [pc, #48]	; a000d2e0 <IMFS_memfile_read+0x2d4><== NOT EXECUTED
a000d2ac:	ebfff591 	bl	a000a8f8 <__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 );                                              
a000d2b0:	e3a01fa5 	mov	r1, #660	; 0x294                              <== NOT EXECUTED
a000d2b4:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000d2b8:	e59f000c 	ldr	r0, [pc, #12]	; a000d2cc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a000d2bc:	e59f200c 	ldr	r2, [pc, #12]	; a000d2d0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a000d2c0:	e59f300c 	ldr	r3, [pc, #12]	; a000d2d4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a000d2c4:	ebfff58b 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000c6e8 <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
a000c6e8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c6ec:	e250a000 	subs	sl, r0, #0                                   
a000c6f0:	0a000052 	beq	a000c840 <IMFS_memfile_remove+0x158>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c6f4:	e59a304c 	ldr	r3, [sl, #76]	; 0x4c                          
a000c6f8:	e3530005 	cmp	r3, #5                                        
a000c6fc:	1a000055 	bne	a000c858 <IMFS_memfile_remove+0x170>          
  /*                                                                  
   *  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;                                 
a000c700:	e59f6168 	ldr	r6, [pc, #360]	; a000c870 <IMFS_memfile_remove+0x188>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000c704:	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;                                 
a000c708:	e5967000 	ldr	r7, [r6]                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000c70c:	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;                                 
a000c710:	e1a07127 	lsr	r7, r7, #2                                    
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a000c714:	0a000002 	beq	a000c724 <IMFS_memfile_remove+0x3c>           
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
a000c718:	e28a0058 	add	r0, sl, #88	; 0x58                            
a000c71c:	e1a01007 	mov	r1, r7                                        
a000c720:	ebffffba 	bl	a000c610 <memfile_free_blocks_in_table>        
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
a000c724:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          
a000c728:	e3530000 	cmp	r3, #0                                        
a000c72c:	0a000015 	beq	a000c788 <IMFS_memfile_remove+0xa0>           
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000c730:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a000c734:	e1b02122 	lsrs	r2, r2, #2                                   <== NOT EXECUTED
a000c738:	0a00000f 	beq	a000c77c <IMFS_memfile_remove+0x94>           <== NOT EXECUTED
a000c73c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000c740:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a000c744:	ea000000 	b	a000c74c <IMFS_memfile_remove+0x64>             <== NOT EXECUTED
a000c748:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a000c74c:	e7931102 	ldr	r1, [r3, r2, lsl #2]                          <== NOT EXECUTED
a000c750:	e1a02102 	lsl	r2, r2, #2                                    <== NOT EXECUTED
a000c754:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a000c758:	0a000002 	beq	a000c768 <IMFS_memfile_remove+0x80>           <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a000c75c:	e0830002 	add	r0, r3, r2                                    <== NOT EXECUTED
a000c760:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c764:	ebffffa9 	bl	a000c610 <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++ ) {                  
a000c768:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c76c:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
a000c770:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000c774:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a000c778:	3afffff2 	bcc	a000c748 <IMFS_memfile_remove+0x60>           <== 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 );  
a000c77c:	e28a005c 	add	r0, sl, #92	; 0x5c                            <== NOT EXECUTED
a000c780:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c784:	ebffffa1 	bl	a000c610 <memfile_free_blocks_in_table>        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
a000c788:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          
a000c78c:	e3500000 	cmp	r0, #0                                        
a000c790:	0a000028 	beq	a000c838 <IMFS_memfile_remove+0x150>          
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a000c794:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c798:	e1b03123 	lsrs	r3, r3, #2                                   <== NOT EXECUTED
a000c79c:	0a000022 	beq	a000c82c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a000c7a0:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c7a4:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000c7a8:	13a09000 	movne	r9, #0                                      <== NOT EXECUTED
a000c7ac:	11a08009 	movne	r8, r9                                      <== NOT EXECUTED
a000c7b0:	0a00001d 	beq	a000c82c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
a000c7b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c7b8:	0a00000e 	beq	a000c7f8 <IMFS_memfile_remove+0x110>          <== NOT EXECUTED
a000c7bc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000c7c0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
        if ( p[j] ) {                                                 
a000c7c4:	e7953100 	ldr	r3, [r5, r0, lsl #2]                          <== NOT EXECUTED
a000c7c8:	e1a00100 	lsl	r0, r0, #2                                    <== NOT EXECUTED
a000c7cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c7d0:	0a000002 	beq	a000c7e0 <IMFS_memfile_remove+0xf8>           <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a000c7d4:	e0850000 	add	r0, r5, r0                                    <== NOT EXECUTED
a000c7d8:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c7dc:	ebffff8b 	bl	a000c610 <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++ ) {                
a000c7e0:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c7e4:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
a000c7e8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000c7ec:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a000c7f0:	3afffff3 	bcc	a000c7c4 <IMFS_memfile_remove+0xdc>           <== NOT EXECUTED
a000c7f4:	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(                                   
a000c7f8:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
a000c7fc:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c800:	ebffff82 	bl	a000c610 <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++ ) {                  
a000c804:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a000c808:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a000c80c:	e1a03123 	lsr	r3, r3, #2                                    <== NOT EXECUTED
a000c810:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a000c814:	9a000004 	bls	a000c82c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a000c818:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c81c:	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];                       
a000c820:	e7905108 	ldr	r5, [r0, r8, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a000c824:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000c828:	1affffe1 	bne	a000c7b4 <IMFS_memfile_remove+0xcc>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
a000c82c:	e28a0060 	add	r0, sl, #96	; 0x60                            <== NOT EXECUTED
a000c830:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000c834:	ebffff75 	bl	a000c610 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a000c838:	e3a00000 	mov	r0, #0                                        
a000c83c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000c840:	e3a01f7b 	mov	r1, #492	; 0x1ec                              <== NOT EXECUTED
a000c844:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000c848:	e59f0024 	ldr	r0, [pc, #36]	; a000c874 <IMFS_memfile_remove+0x18c><== NOT EXECUTED
a000c84c:	e59f2024 	ldr	r2, [pc, #36]	; a000c878 <IMFS_memfile_remove+0x190><== NOT EXECUTED
a000c850:	e59f3024 	ldr	r3, [pc, #36]	; a000c87c <IMFS_memfile_remove+0x194><== NOT EXECUTED
a000c854:	ebfff827 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000c858:	e3a01e1f 	mov	r1, #496	; 0x1f0                              <== NOT EXECUTED
a000c85c:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000c860:	e59f000c 	ldr	r0, [pc, #12]	; a000c874 <IMFS_memfile_remove+0x18c><== NOT EXECUTED
a000c864:	e59f200c 	ldr	r2, [pc, #12]	; a000c878 <IMFS_memfile_remove+0x190><== NOT EXECUTED
a000c868:	e59f3010 	ldr	r3, [pc, #16]	; a000c880 <IMFS_memfile_remove+0x198><== NOT EXECUTED
a000c86c:	ebfff821 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000c698 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
a000c698:	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 );  
a000c69c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000c6a0:	ebffff4e 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  assert( block_ptr );                                                
a000c6a4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000c6a8:	0a000005 	beq	a000c6c4 <IMFS_memfile_remove_block+0x2c>     <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
a000c6ac:	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;                                                 
a000c6b0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
a000c6b4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
a000c6b8:	ebffff33 	bl	a000c38c <memfile_free_block>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
a000c6bc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000c6c0:	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 );                                                
a000c6c4:	e3a01f65 	mov	r1, #404	; 0x194                              <== NOT EXECUTED
a000c6c8:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000c6cc:	e59f0008 	ldr	r0, [pc, #8]	; a000c6dc <IMFS_memfile_remove_block+0x44><== NOT EXECUTED
a000c6d0:	e59f2008 	ldr	r2, [pc, #8]	; a000c6e0 <IMFS_memfile_remove_block+0x48><== NOT EXECUTED
a000c6d4:	e59f3008 	ldr	r3, [pc, #8]	; a000c6e4 <IMFS_memfile_remove_block+0x4c><== NOT EXECUTED
a000c6d8:	ebfff886 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000cc90 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
a000cc90:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000cc94:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a000cc98:	e24dd014 	sub	sp, sp, #20                                   
a000cc9c:	e1a06001 	mov	r6, r1                                        
a000cca0:	e1a07002 	mov	r7, r2                                        
a000cca4:	e1a08003 	mov	r8, r3                                        
a000cca8:	e59da038 	ldr	sl, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000ccac:	0a000079 	beq	a000ce98 <IMFS_memfile_write+0x208>           
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a000ccb0:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
a000ccb4:	e3530005 	cmp	r3, #5                                        
a000ccb8:	1a000070 	bne	a000ce80 <IMFS_memfile_write+0x1f0>           
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
a000ccbc:	e3580000 	cmp	r8, #0                                        
a000ccc0:	0a000085 	beq	a000cedc <IMFS_memfile_write+0x24c>           
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a000ccc4:	e35a0000 	cmp	sl, #0                                        
a000ccc8:	0a000062 	beq	a000ce58 <IMFS_memfile_write+0x1c8>           
   *  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 ) {                      
a000cccc:	e5993054 	ldr	r3, [r9, #84]	; 0x54                          
a000ccd0:	e08a1001 	add	r1, sl, r1                                    
a000ccd4:	e3530000 	cmp	r3, #0                                        
a000ccd8:	ba000054 	blt	a000ce30 <IMFS_memfile_write+0x1a0>           
a000ccdc:	0a000050 	beq	a000ce24 <IMFS_memfile_write+0x194>           
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000cce0:	e59f520c 	ldr	r5, [pc, #524]	; a000cef4 <IMFS_memfile_write+0x264>
a000cce4:	e1a00006 	mov	r0, r6                                        
a000cce8:	e1a01007 	mov	r1, r7                                        
a000ccec:	e5954000 	ldr	r4, [r5]                                      
a000ccf0:	e1a02004 	mov	r2, r4                                        
a000ccf4:	e1a03fc2 	asr	r3, r2, #31                                   
a000ccf8:	e98d000c 	stmib	sp, {r2, r3}                                
a000ccfc:	eb002f12 	bl	a001894c <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000cd00:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a000cd04:	e1a0b000 	mov	fp, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a000cd08:	e1a01007 	mov	r1, r7                                        
a000cd0c:	e1a00006 	mov	r0, r6                                        
a000cd10:	eb002de3 	bl	a00184a4 <__divdi3>                            
  if ( start_offset )  {                                              
a000cd14:	e35b0000 	cmp	fp, #0                                        
a000cd18:	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;                       
a000cd1c:	e1a06000 	mov	r6, r0                                        
  if ( start_offset )  {                                              
a000cd20:	01a0a00b 	moveq	sl, fp                                      
a000cd24:	1a000028 	bne	a000cdcc <IMFS_memfile_write+0x13c>           
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000cd28:	e1570004 	cmp	r7, r4                                        
a000cd2c:	3a000010 	bcc	a000cd74 <IMFS_memfile_write+0xe4>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000cd30:	e1a00009 	mov	r0, r9                                        
a000cd34:	e1a01006 	mov	r1, r6                                        
a000cd38:	e3a02000 	mov	r2, #0                                        
a000cd3c:	ebfffda7 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000cd40:	e3500000 	cmp	r0, #0                                        
a000cd44:	0a000048 	beq	a000ce6c <IMFS_memfile_write+0x1dc>           
    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 );                       
a000cd48:	e1a01008 	mov	r1, r8                                        
a000cd4c:	e5900000 	ldr	r0, [r0]                                      
a000cd50:	e1a02004 	mov	r2, r4                                        
a000cd54:	eb000765 	bl	a000eaf0 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000cd58:	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;                                             
a000cd5c:	e0647007 	rsb	r7, r4, 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;                                                   
a000cd60:	e0888004 	add	r8, r8, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a000cd64:	e1530007 	cmp	r3, r7                                        
#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;                                                   
    block++;                                                          
a000cd68:	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(                            
a000cd6c:	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 ) {               
a000cd70:	9affffee 	bls	a000cd30 <IMFS_memfile_write+0xa0>            
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
a000cd74:	e3570000 	cmp	r7, #0                                        
a000cd78:	0a00000a 	beq	a000cda8 <IMFS_memfile_write+0x118>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000cd7c:	e1a01006 	mov	r1, r6                                        
a000cd80:	e1a00009 	mov	r0, r9                                        
a000cd84:	e3a02000 	mov	r2, #0                                        
a000cd88:	ebfffd94 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000cd8c:	e3500000 	cmp	r0, #0                                        
a000cd90:	0a00004b 	beq	a000cec4 <IMFS_memfile_write+0x234>           
    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 );                     
a000cd94:	e5900000 	ldr	r0, [r0]                                      
a000cd98:	e1a01008 	mov	r1, r8                                        
a000cd9c:	e1a02007 	mov	r2, r7                                        
a000cda0:	eb000752 	bl	a000eaf0 <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
a000cda4:	e08aa007 	add	sl, sl, r7                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a000cda8:	e28d000c 	add	r0, sp, #12                                   
a000cdac:	e3a01000 	mov	r1, #0                                        
a000cdb0:	ebffd495 	bl	a000200c <gettimeofday>                        
a000cdb4:	e59d300c 	ldr	r3, [sp, #12]                                 
a000cdb8:	e5893048 	str	r3, [r9, #72]	; 0x48                          
a000cdbc:	e5893044 	str	r3, [r9, #68]	; 0x44                          
                                                                      
  return copied;                                                      
}                                                                     
a000cdc0:	e1a0000a 	mov	r0, sl                                        
a000cdc4:	e28dd014 	add	sp, sp, #20                                   
a000cdc8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a000cdcc:	e1a00009 	mov	r0, r9                                        
a000cdd0:	e1a01006 	mov	r1, r6                                        
a000cdd4:	e3a02000 	mov	r2, #0                                        
a000cdd8:	ebfffd80 	bl	a000c3e0 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a000cddc:	e3500000 	cmp	r0, #0                                        
a000cde0:	0a000032 	beq	a000ceb0 <IMFS_memfile_write+0x220>           
    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 );            
a000cde4:	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;            
a000cde8:	e06b3004 	rsb	r3, fp, r4                                    
a000cdec:	e153000a 	cmp	r3, sl                                        
a000cdf0:	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 );            
a000cdf4:	e1a01008 	mov	r1, r8                                        
a000cdf8:	e1a02003 	mov	r2, r3                                        
a000cdfc:	e080000b 	add	r0, r0, fp                                    
a000ce00:	e58d3000 	str	r3, [sp]                                      
a000ce04:	eb000739 	bl	a000eaf0 <memcpy>                              
    src += to_copy;                                                   
a000ce08:	e59d3000 	ldr	r3, [sp]                                      
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000ce0c:	e5954000 	ldr	r4, [r5]                                      
#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;                                                   
    block++;                                                          
a000ce10:	e2866001 	add	r6, r6, #1                                    
    my_length -= to_copy;                                             
a000ce14:	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;                                                   
a000ce18:	e0888003 	add	r8, r8, r3                                    
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a000ce1c:	e1a0a003 	mov	sl, r3                                        
a000ce20:	eaffffc0 	b	a000cd28 <IMFS_memfile_write+0x98>              
   *  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 ) {                      
a000ce24:	e5993050 	ldr	r3, [r9, #80]	; 0x50                          
a000ce28:	e1530001 	cmp	r3, r1                                        
a000ce2c:	2affffab 	bcs	a000cce0 <IMFS_memfile_write+0x50>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
a000ce30:	e1a00009 	mov	r0, r9                                        
a000ce34:	e3a02000 	mov	r2, #0                                        
a000ce38:	ebfffeee 	bl	a000c9f8 <IMFS_memfile_extend>                 
    if ( status )                                                     
a000ce3c:	e3500000 	cmp	r0, #0                                        
a000ce40:	0affffa6 	beq	a000cce0 <IMFS_memfile_write+0x50>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a000ce44:	eb00051b 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000ce48:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000ce4c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000ce50:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
a000ce54:	eaffffd9 	b	a000cdc0 <IMFS_memfile_write+0x130>             <== 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 );                   
a000ce58:	eb000516 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000ce5c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000ce60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000ce64:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
a000ce68:	eaffffd4 	b	a000cdc0 <IMFS_memfile_write+0x130>             <== 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 );                                              
a000ce6c:	e59f0084 	ldr	r0, [pc, #132]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000ce70:	e3a01e33 	mov	r1, #816	; 0x330                              <== NOT EXECUTED
a000ce74:	e59f2080 	ldr	r2, [pc, #128]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000ce78:	e59f3080 	ldr	r3, [pc, #128]	; a000cf00 <IMFS_memfile_write+0x270><== NOT EXECUTED
a000ce7c:	ebfff69d 	bl	a000a8f8 <__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 );                      
a000ce80:	e3a01fb9 	mov	r1, #740	; 0x2e4                              <== NOT EXECUTED
a000ce84:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a000ce88:	e59f0068 	ldr	r0, [pc, #104]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000ce8c:	e59f2068 	ldr	r2, [pc, #104]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000ce90:	e59f306c 	ldr	r3, [pc, #108]	; a000cf04 <IMFS_memfile_write+0x274><== NOT EXECUTED
a000ce94:	ebfff697 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a000ce98:	e3a01e2e 	mov	r1, #736	; 0x2e0                              <== NOT EXECUTED
a000ce9c:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a000cea0:	e59f0050 	ldr	r0, [pc, #80]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000cea4:	e59f2050 	ldr	r2, [pc, #80]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000cea8:	e59f3058 	ldr	r3, [pc, #88]	; a000cf08 <IMFS_memfile_write+0x278><== NOT EXECUTED
a000ceac:	ebfff691 	bl	a000a8f8 <__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 );                                              
a000ceb0:	e59f0040 	ldr	r0, [pc, #64]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000ceb4:	e3a01fc7 	mov	r1, #796	; 0x31c                              <== NOT EXECUTED
a000ceb8:	e59f203c 	ldr	r2, [pc, #60]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000cebc:	e59f303c 	ldr	r3, [pc, #60]	; a000cf00 <IMFS_memfile_write+0x270><== NOT EXECUTED
a000cec0:	ebfff68c 	bl	a000a8f8 <__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 );                                              
a000cec4:	e3a01fd1 	mov	r1, #836	; 0x344                              <== NOT EXECUTED
a000cec8:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a000cecc:	e59f0024 	ldr	r0, [pc, #36]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000ced0:	e59f2024 	ldr	r2, [pc, #36]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000ced4:	e59f3024 	ldr	r3, [pc, #36]	; a000cf00 <IMFS_memfile_write+0x270><== NOT EXECUTED
a000ced8:	ebfff686 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
a000cedc:	e3a01fbb 	mov	r1, #748	; 0x2ec                              <== NOT EXECUTED
a000cee0:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a000cee4:	e59f000c 	ldr	r0, [pc, #12]	; a000cef8 <IMFS_memfile_write+0x268><== NOT EXECUTED
a000cee8:	e59f200c 	ldr	r2, [pc, #12]	; a000cefc <IMFS_memfile_write+0x26c><== NOT EXECUTED
a000ceec:	e59f3018 	ldr	r3, [pc, #24]	; a000cf0c <IMFS_memfile_write+0x27c><== NOT EXECUTED
a000cef0:	ebfff680 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a00016bc <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
a00016bc:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a00016c0:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a00016c4:	e1a04001 	mov	r4, r1                                        
a00016c8:	e1a07002 	mov	r7, r2                                        
a00016cc:	e1a06003 	mov	r6, r3                                        
a00016d0:	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 );        
a00016d4:	eb0036fc 	bl	a000f2cc <strlen>                              
a00016d8:	e28d5004 	add	r5, sp, #4                                    
a00016dc:	e1a01000 	mov	r1, r0                                        
a00016e0:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a00016e4:	e1a00008 	mov	r0, r8                                        
a00016e8:	e1a02005 	mov	r2, r5                                        
a00016ec:	eb0023e5 	bl	a000a688 <IMFS_get_token>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
a00016f0:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
a00016f4:	e3530901 	cmp	r3, #16384	; 0x4000                           
a00016f8:	0a00001b 	beq	a000176c <IMFS_mknod+0xb0>                    
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
a00016fc:	e3530902 	cmp	r3, #32768	; 0x8000                           
a0001700:	03a01005 	moveq	r1, #5                                      
a0001704:	0a000005 	beq	a0001720 <IMFS_mknod+0x64>                    
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
a0001708:	e3530a06 	cmp	r3, #24576	; 0x6000                           
a000170c:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
a0001710:	058d7028 	streq	r7, [sp, #40]	; 0x28                        
a0001714:	058d602c 	streq	r6, [sp, #44]	; 0x2c                        
a0001718:	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) ) {                        
a000171c:	1a00000a 	bne	a000174c <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(                                        
a0001720:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0001724:	e59d0058 	ldr	r0, [sp, #88]	; 0x58                          
a0001728:	e1a02005 	mov	r2, r5                                        
a000172c:	e1a03004 	mov	r3, r4                                        
a0001730:	e58dc000 	str	ip, [sp]                                      
a0001734:	eb00209c 	bl	a00099ac <IMFS_create_node>                    
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a0001738:	e3500000 	cmp	r0, #0                                        
a000173c:	13a00000 	movne	r0, #0                                      
a0001740:	0a00000b 	beq	a0001774 <IMFS_mknod+0xb8>                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
}                                                                     
a0001744:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0001748:	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))                                            
a000174c:	e3530a01 	cmp	r3, #4096	; 0x1000                            
a0001750:	03a01007 	moveq	r1, #7                                      
a0001754:	0afffff1 	beq	a0001720 <IMFS_mknod+0x64>                    
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001758:	eb0032d6 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000175c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001760:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001764:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001768:	eafffff5 	b	a0001744 <IMFS_mknod+0x88>                      <== NOT EXECUTED
a000176c:	e3a01001 	mov	r1, #1                                        
a0001770:	eaffffea 	b	a0001720 <IMFS_mknod+0x64>                      
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0001774:	eb0032cf 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001778:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000177c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001780:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001784:	eaffffee 	b	a0001744 <IMFS_mknod+0x88>                      <== NOT EXECUTED
                                                                      

a0001788 <IMFS_mount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a0001788:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a000178c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0001790:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0001794:	e3520001 	cmp	r2, #1                                        
a0001798:	1a000002 	bne	a00017a8 <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;                              
a000179c:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
a00017a0:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a00017a4:	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 );                  
a00017a8:	eb0032c2 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00017ac:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a00017b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00017b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00017b8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0003c48 <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
a0003c48:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
a0003c4c:	e2504000 	subs	r4, r0, #0                                   
a0003c50:	0a000055 	beq	a0003dac <IMFS_print_jnode+0x164>             
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a0003c54:	e59f5164 	ldr	r5, [pc, #356]	; a0003dc0 <IMFS_print_jnode+0x178>
a0003c58:	e284000c 	add	r0, r4, #12                                   
a0003c5c:	e5953000 	ldr	r3, [r5]                                      
a0003c60:	e5931008 	ldr	r1, [r3, #8]                                  
a0003c64:	eb003ae7 	bl	a0012808 <fputs>                               
  switch( the_jnode->type ) {                                         
a0003c68:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
a0003c6c:	e2423001 	sub	r3, r2, #1                                    
a0003c70:	e3530006 	cmp	r3, #6                                        
a0003c74:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0003c78:	ea000011 	b	a0003cc4 <IMFS_print_jnode+0x7c>                <== NOT EXECUTED
a0003c7c:	a0003ce8 	.word	0xa0003ce8                                  <== NOT EXECUTED
a0003c80:	a0003d04 	.word	0xa0003d04                                  <== NOT EXECUTED
a0003c84:	a0003d20 	.word	0xa0003d20                                  <== NOT EXECUTED
a0003c88:	a0003d4c 	.word	0xa0003d4c                                  <== NOT EXECUTED
a0003c8c:	a0003d78 	.word	0xa0003d78                                  <== NOT EXECUTED
a0003c90:	a0003d90 	.word	0xa0003d90                                  <== NOT EXECUTED
a0003c94:	a0003c98 	.word	0xa0003c98                                  <== NOT EXECUTED
      fprintf(stdout, " links not printed\n" );                       
      assert(0);                                                      
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a0003c98:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003c9c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003ca0:	e3a02012 	mov	r2, #18                                       <== NOT EXECUTED
a0003ca4:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003ca8:	e59f0114 	ldr	r0, [pc, #276]	; a0003dc4 <IMFS_print_jnode+0x17c><== NOT EXECUTED
a0003cac:	eb003dea 	bl	a001345c <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003cb0:	e59f0110 	ldr	r0, [pc, #272]	; a0003dc8 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003cb4:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
a0003cb8:	e59f210c 	ldr	r2, [pc, #268]	; a0003dcc <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003cbc:	e59f310c 	ldr	r3, [pc, #268]	; a0003dd0 <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003cc0:	eb000297 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a0003cc4:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003cc8:	e59f1104 	ldr	r1, [pc, #260]	; a0003dd4 <IMFS_print_jnode+0x18c><== NOT EXECUTED
a0003ccc:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0003cd0:	eb003a6b 	bl	a0012684 <fprintf>                             <== NOT EXECUTED
      assert(0);                                                      
a0003cd4:	e59f00ec 	ldr	r0, [pc, #236]	; a0003dc8 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003cd8:	e3a0106c 	mov	r1, #108	; 0x6c                               <== NOT EXECUTED
a0003cdc:	e59f20e8 	ldr	r2, [pc, #232]	; a0003dcc <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003ce0:	e59f30e8 	ldr	r3, [pc, #232]	; a0003dd0 <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003ce4:	eb00028e 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
  assert( the_jnode );                                                
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
a0003ce8:	e5953000 	ldr	r3, [r5]                                      
a0003cec:	e3a0002f 	mov	r0, #47	; 0x2f                                
a0003cf0:	e5931008 	ldr	r1, [r3, #8]                                  
a0003cf4:	eb003a7e 	bl	a00126f4 <fputc>                               
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003cf8:	e59f00d8 	ldr	r0, [pc, #216]	; a0003dd8 <IMFS_print_jnode+0x190>
}                                                                     
a0003cfc:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003d00:	ea0041c7 	b	a0014424 <puts>                                 
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
a0003d04:	e5952000 	ldr	r2, [r5]                                      
a0003d08:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a0003d0c:	e59f10c8 	ldr	r1, [pc, #200]	; a0003ddc <IMFS_print_jnode+0x194>
a0003d10:	e5920008 	ldr	r0, [r2, #8]                                  
a0003d14:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003d18:	eb003a59 	bl	a0012684 <fprintf>                             
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
a0003d1c:	eafffff5 	b	a0003cf8 <IMFS_print_jnode+0xb0>                
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
a0003d20:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003d24:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003d28:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
a0003d2c:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003d30:	e59f00a8 	ldr	r0, [pc, #168]	; a0003de0 <IMFS_print_jnode+0x198><== NOT EXECUTED
a0003d34:	eb003dc8 	bl	a001345c <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003d38:	e59f0088 	ldr	r0, [pc, #136]	; a0003dc8 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003d3c:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
a0003d40:	e59f2084 	ldr	r2, [pc, #132]	; a0003dcc <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003d44:	e59f3084 	ldr	r3, [pc, #132]	; a0003dd0 <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003d48:	eb000275 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a0003d4c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003d50:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003d54:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
a0003d58:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003d5c:	e59f007c 	ldr	r0, [pc, #124]	; a0003de0 <IMFS_print_jnode+0x198><== NOT EXECUTED
a0003d60:	eb003dbd 	bl	a001345c <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003d64:	e59f005c 	ldr	r0, [pc, #92]	; a0003dc8 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003d68:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
a0003d6c:	e59f2058 	ldr	r2, [pc, #88]	; a0003dcc <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003d70:	e59f3058 	ldr	r3, [pc, #88]	; a0003dd0 <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003d74:	eb00026a 	bl	a0004724 <__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 ")",                          
a0003d78:	e5953000 	ldr	r3, [r5]                                      
a0003d7c:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003d80:	e59f105c 	ldr	r1, [pc, #92]	; a0003de4 <IMFS_print_jnode+0x19c>
a0003d84:	e5930008 	ldr	r0, [r3, #8]                                  
a0003d88:	eb003a3d 	bl	a0012684 <fprintf>                             
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
a0003d8c:	eaffffd9 	b	a0003cf8 <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)",                       
a0003d90:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
a0003d94:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0003d98:	e59f1048 	ldr	r1, [pc, #72]	; a0003de8 <IMFS_print_jnode+0x1a0><== NOT EXECUTED
a0003d9c:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
a0003da0:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0003da4:	eb003a36 	bl	a0012684 <fprintf>                             <== NOT EXECUTED
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
a0003da8:	eaffffd2 	b	a0003cf8 <IMFS_print_jnode+0xb0>                <== NOT EXECUTED
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  assert( the_jnode );                                                
a0003dac:	e59f0014 	ldr	r0, [pc, #20]	; a0003dc8 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003db0:	e3a01038 	mov	r1, #56	; 0x38                                <== NOT EXECUTED
a0003db4:	e59f2010 	ldr	r2, [pc, #16]	; a0003dcc <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003db8:	e59f302c 	ldr	r3, [pc, #44]	; a0003dec <IMFS_print_jnode+0x1a4><== NOT EXECUTED
a0003dbc:	eb000258 	bl	a0004724 <__assert_func>                       <== NOT EXECUTED
                                                                      

a00017c8 <IMFS_readlink>: ) { IMFS_jnode_t *node; int i; node = loc->node_access;
a00017c8:	e5903000 	ldr	r3, [r0]                                      
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
a00017cc:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
a00017d0:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
a00017d4:	e3500004 	cmp	r0, #4                                        
a00017d8:	1a000015 	bne	a0001834 <IMFS_readlink+0x6c>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a00017dc:	e3520000 	cmp	r2, #0                                        
a00017e0:	0a000011 	beq	a000182c <IMFS_readlink+0x64>                 
a00017e4:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a00017e8:	e5d0c000 	ldrb	ip, [r0]                                     
a00017ec:	e35c0000 	cmp	ip, #0                                        
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00017f0:	13a04000 	movne	r4, #0                                      
a00017f4:	11a00004 	movne	r0, r4                                      
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a00017f8:	1a000004 	bne	a0001810 <IMFS_readlink+0x48>                 
a00017fc:	ea00000a 	b	a000182c <IMFS_readlink+0x64>                   <== NOT EXECUTED
a0001800:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
a0001804:	e7dcc000 	ldrb	ip, [ip, r0]                                 
a0001808:	e35c0000 	cmp	ip, #0                                        
a000180c:	0a000005 	beq	a0001828 <IMFS_readlink+0x60>                 
a0001810:	e2800001 	add	r0, r0, #1                                    
a0001814:	e1520000 	cmp	r2, r0                                        
    buf[i] = node->info.sym_link.name[i];                             
a0001818:	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++ )
a000181c:	e1a04000 	mov	r4, r0                                        
a0001820:	8afffff6 	bhi	a0001800 <IMFS_readlink+0x38>                 
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
a0001824:	e8bd8010 	pop	{r4, pc}                                      
a0001828:	e8bd8010 	pop	{r4, pc}                                      
  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++ )
a000182c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0001830:	eafffffb 	b	a0001824 <IMFS_readlink+0x5c>                   <== NOT EXECUTED
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001834:	eb00329f 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001838:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000183c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001840:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001844:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a000a814 <IMFS_stat>: { IMFS_fs_info_t *fs_info; IMFS_jnode_t *the_jnode; IMFS_device_t *io; the_jnode = loc->node_access;
a000a814:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a000a818:	e92d4810 	push	{r4, fp, lr}                                 
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
a000a81c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000a820:	e2422002 	sub	r2, r2, #2                                    
a000a824:	e3520005 	cmp	r2, #5                                        
a000a828:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a000a82c:	ea000027 	b	a000a8d0 <IMFS_stat+0xbc>                       <== NOT EXECUTED
a000a830:	a000a8bc 	.word	0xa000a8bc                                  <== NOT EXECUTED
a000a834:	a000a8d0 	.word	0xa000a8d0                                  <== NOT EXECUTED
a000a838:	a000a848 	.word	0xa000a848                                  <== NOT EXECUTED
a000a83c:	a000a8e4 	.word	0xa000a8e4                                  <== NOT EXECUTED
a000a840:	a000a8e4 	.word	0xa000a8e4                                  <== NOT EXECUTED
a000a844:	a000a848 	.word	0xa000a848                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
a000a848:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
a000a84c:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a000a850:	e581b020 	str	fp, [r1, #32]                                 <== NOT EXECUTED
a000a854:	e581c024 	str	ip, [r1, #36]	; 0x24                          <== NOT EXECUTED
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a000a858:	e593c030 	ldr	ip, [r3, #48]	; 0x30                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a000a85c:	e5902010 	ldr	r2, [r0, #16]                                 
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a000a860:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a000a864:	e581c00c 	str	ip, [r1, #12]                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a000a868:	e593c038 	ldr	ip, [r3, #56]	; 0x38                          
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a000a86c:	e1c101b0 	strh	r0, [r1, #16]                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a000a870:	e1d343bc 	ldrh	r4, [r3, #60]	; 0x3c                         
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a000a874:	e581c008 	str	ip, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a000a878:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a000a87c:	e5920034 	ldr	r0, [r2, #52]	; 0x34                          
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a000a880:	e3a02cff 	mov	r2, #65280	; 0xff00                           
  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;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a000a884:	e581c028 	str	ip, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
a000a888:	e593c044 	ldr	ip, [r3, #68]	; 0x44                          
a000a88c:	e28220fe 	add	r2, r2, #254	; 0xfe                           
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  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;                                  
a000a890:	e1c141b2 	strh	r4, [r1, #18]                                
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
a000a894:	e581c030 	str	ip, [r1, #48]	; 0x30                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a000a898:	e5900000 	ldr	r0, [r0]                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a000a89c:	e5812000 	str	r2, [r1]                                      
  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;                              
a000a8a0:	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;                                  
a000a8a4:	e1d333be 	ldrh	r3, [r3, #62]	; 0x3e                         
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a000a8a8:	e5810004 	str	r0, [r1, #4]                                  
  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;                              
a000a8ac:	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;                                  
a000a8b0:	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;                              
a000a8b4:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a000a8b8:	e8bd8810 	pop	{r4, 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 );
a000a8bc:	e593c054 	ldr	ip, [r3, #84]	; 0x54                          
a000a8c0:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
a000a8c4:	e581c01c 	str	ip, [r1, #28]                                 
a000a8c8:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
a000a8cc:	eaffffe1 	b	a000a858 <IMFS_stat+0x44>                       
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
a000a8d0:	eb000e78 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000a8d4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000a8d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000a8dc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000a8e0:	e8bd8810 	pop	{r4, 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;                       
a000a8e4:	e283c050 	add	ip, r3, #80	; 0x50                            
a000a8e8:	e89c1800 	ldm	ip, {fp, ip}                                  
a000a8ec:	e581b020 	str	fp, [r1, #32]                                 
a000a8f0:	e581c024 	str	ip, [r1, #36]	; 0x24                          
      break;                                                          
a000a8f4:	eaffffd7 	b	a000a858 <IMFS_stat+0x44>                       
                                                                      

a00018b0 <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
a00018b0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a00018b4:	e1a06000 	mov	r6, r0                                        
a00018b8:	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 );     
a00018bc:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a00018c0:	e1a07002 	mov	r7, r2                                        
a00018c4:	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 );     
a00018c8:	eb00367f 	bl	a000f2cc <strlen>                              
a00018cc:	e28d4004 	add	r4, sp, #4                                    
a00018d0:	e1a01000 	mov	r1, r0                                        
a00018d4:	e1a02004 	mov	r2, r4                                        
a00018d8:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a00018dc:	e1a00007 	mov	r0, r7                                        
a00018e0:	eb002368 	bl	a000a688 <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
a00018e4:	e1a00005 	mov	r0, r5                                        
a00018e8:	eb003663 	bl	a000f27c <strdup>                              
  if (info.sym_link.name == NULL) {                                   
a00018ec:	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);                             
a00018f0:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
a00018f4:	0a00000e 	beq	a0001934 <IMFS_symlink+0x84>                  
   *        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(                                        
a00018f8:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a00018fc:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0001900:	e1a00006 	mov	r0, r6                                        
a0001904:	e1a02004 	mov	r2, r4                                        
a0001908:	e2433001 	sub	r3, r3, #1                                    
a000190c:	e3a01004 	mov	r1, #4                                        
a0001910:	e58dc000 	str	ip, [sp]                                      
a0001914:	eb002024 	bl	a00099ac <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a0001918:	e3500000 	cmp	r0, #0                                        
a000191c:	13a00000 	movne	r0, #0                                      
a0001920:	0a000001 	beq	a000192c <IMFS_symlink+0x7c>                  
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0001924:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0001928:	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);                                         
a000192c:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
a0001930:	eb000181 	bl	a0001f3c <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a0001934:	eb00325f 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001938:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000193c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001940:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001944:	eafffff6 	b	a0001924 <IMFS_symlink+0x74>                    <== NOT EXECUTED
                                                                      

a0001948 <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
a0001948:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
a000194c:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a0001950:	e24dd01c 	sub	sp, sp, #28                                   
a0001954:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a0001958:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a000195c:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a0001960:	e3530003 	cmp	r3, #3                                        
a0001964:	0a000006 	beq	a0001984 <IMFS_unlink+0x3c>                   
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
a0001968:	e5943008 	ldr	r3, [r4, #8]                                  
a000196c:	e1a00006 	mov	r0, r6                                        
a0001970:	e1a01004 	mov	r1, r4                                        
a0001974:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0001978:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a000197c:	e28dd01c 	add	sp, sp, #28                                   
a0001980:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
a0001984:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
a0001988:	e35e0000 	cmp	lr, #0                                        
a000198c:	0a00001f 	beq	a0001a10 <IMFS_unlink+0xc8>                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
a0001990:	e1a0c00d 	mov	ip, sp                                        
a0001994:	e1a07001 	mov	r7, r1                                        
a0001998:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a000199c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00019a0:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
a00019a4:	e28d701c 	add	r7, sp, #28                                   
a00019a8:	e527e01c 	str	lr, [r7, #-28]!                               
    IMFS_Set_handlers( &the_link );                                   
a00019ac:	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;                                                  
a00019b0:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
a00019b4:	eb00204e 	bl	a0009af4 <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)               
a00019b8:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a00019bc:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a00019c0:	e3520001 	cmp	r2, #1                                        
a00019c4:	0a000008 	beq	a00019ec <IMFS_unlink+0xa4>                   
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
a00019c8:	e2422001 	sub	r2, r2, #1                                    
a00019cc:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
a00019d0:	e28d0014 	add	r0, sp, #20                                   
a00019d4:	e3a01000 	mov	r1, #0                                        
a00019d8:	eb00018b 	bl	a000200c <gettimeofday>                        
a00019dc:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a00019e0:	e59d2014 	ldr	r2, [sp, #20]                                 
a00019e4:	e5832048 	str	r2, [r3, #72]	; 0x48                          
a00019e8:	eaffffde 	b	a0001968 <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 );
a00019ec:	e59d3008 	ldr	r3, [sp, #8]                                  
a00019f0:	e1a0100d 	mov	r1, sp                                        
a00019f4:	e1a00006 	mov	r0, r6                                        
a00019f8:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a00019fc:	e12fff33 	blx	r3                                            
        if ( result != 0 )                                            
a0001a00:	e3500000 	cmp	r0, #0                                        
a0001a04:	13e00000 	mvnne	r0, #0                                      
a0001a08:	0affffd6 	beq	a0001968 <IMFS_unlink+0x20>                   
a0001a0c:	eaffffda 	b	a000197c <IMFS_unlink+0x34>                     
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0001a10:	eb003228 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001a14:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001a18:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001a1c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001a20:	eaffffd5 	b	a000197c <IMFS_unlink+0x34>                     <== NOT EXECUTED
                                                                      

a0001a24 <IMFS_unmount>: rtems_filesystem_mount_table_entry_t *mt_entry ) { IMFS_jnode_t *node; node = mt_entry->mt_point_node.node_access;
a0001a24:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0001a28:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0001a2c:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0001a30:	e3520001 	cmp	r2, #1                                        
a0001a34:	1a000005 	bne	a0001a50 <IMFS_unmount+0x2c>                  
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
a0001a38:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
a0001a3c:	e3520000 	cmp	r2, #0                                        
a0001a40:	0a000007 	beq	a0001a64 <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;                                  
a0001a44:	e3a00000 	mov	r0, #0                                        
a0001a48:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
a0001a4c:	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 );                  
a0001a50:	eb003218 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001a54:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0001a58:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001a5c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001a60:	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 */        
a0001a64:	eb003213 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001a68:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001a6c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001a70:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001a74:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a00021d8 <RTEMS_Malloc_Initialize>: #endif /* * If configured, initialize the statistics support */ if ( rtems_malloc_statistics_helpers != NULL ) {
a00021d8:	e59f30d4 	ldr	r3, [pc, #212]	; a00022b4 <RTEMS_Malloc_Initialize+0xdc>
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a00021dc:	e92d4070 	push	{r4, r5, r6, lr}                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a00021e0:	e5933000 	ldr	r3, [r3]                                      
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a00021e4:	e1a05000 	mov	r5, r0                                        
a00021e8:	e1a06001 	mov	r6, r1                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a00021ec:	e3530000 	cmp	r3, #0                                        
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a00021f0:	e1a04002 	mov	r4, r2                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a00021f4:	0a000001 	beq	a0002200 <RTEMS_Malloc_Initialize+0x28>       
    (*rtems_malloc_statistics_helpers->initialize)();                 
a00021f8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00021fc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
a0002200:	ebffffe0 	bl	a0002188 <malloc_deferred_frees_initialize>    
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
a0002204:	e59f30ac 	ldr	r3, [pc, #172]	; a00022b8 <RTEMS_Malloc_Initialize+0xe0>
a0002208:	e5933000 	ldr	r3, [r3]                                      
a000220c:	e3530000 	cmp	r3, #0                                        
a0002210:	0a000006 	beq	a0002230 <RTEMS_Malloc_Initialize+0x58>       
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
a0002214:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0002218:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000221c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0002220:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
a0002224:	e0856006 	add	r6, r5, r6                                    <== NOT EXECUTED
a0002228:	e0606006 	rsb	r6, r0, r6                                    <== NOT EXECUTED
a000222c:	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 (                                                                
a0002230:	e59f4084 	ldr	r4, [pc, #132]	; a00022bc <RTEMS_Malloc_Initialize+0xe4>
a0002234:	e5d41000 	ldrb	r1, [r4]                                     
a0002238:	e3510000 	cmp	r1, #0                                        
a000223c:	1a000018 	bne	a00022a4 <RTEMS_Malloc_Initialize+0xcc>       
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
a0002240:	e59f3078 	ldr	r3, [pc, #120]	; a00022c0 <RTEMS_Malloc_Initialize+0xe8>
a0002244:	e5d33028 	ldrb	r3, [r3, #40]	; 0x28                         
a0002248:	e3530000 	cmp	r3, #0                                        
a000224c:	1a00000e 	bne	a000228c <RTEMS_Malloc_Initialize+0xb4>       
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
a0002250:	e59f406c 	ldr	r4, [pc, #108]	; a00022c4 <RTEMS_Malloc_Initialize+0xec>
a0002254:	e1a01005 	mov	r1, r5                                        
a0002258:	e1a02006 	mov	r2, r6                                        
a000225c:	e5940000 	ldr	r0, [r4]                                      
a0002260:	e3a03004 	mov	r3, #4                                        
a0002264:	eb00108a 	bl	a0006494 <_Heap_Initialize>                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
a0002268:	e3500000 	cmp	r0, #0                                        
a000226c:	0a00000e 	beq	a00022ac <RTEMS_Malloc_Initialize+0xd4>       
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
a0002270:	e59f5050 	ldr	r5, [pc, #80]	; a00022c8 <RTEMS_Malloc_Initialize+0xf0>
a0002274:	e5940000 	ldr	r0, [r4]                                      
a0002278:	e5954000 	ldr	r4, [r5]                                      
a000227c:	eb001390 	bl	a00070c4 <_Protected_heap_Get_size>            
a0002280:	e0800004 	add	r0, r0, r4                                    
a0002284:	e5850000 	str	r0, [r5]                                      
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
a0002288:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
a000228c:	e1a00005 	mov	r0, r5                                        
a0002290:	e1a02006 	mov	r2, r6                                        
a0002294:	eb003251 	bl	a000ebe0 <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 ) {                                   
a0002298:	e5d43000 	ldrb	r3, [r4]                                     
a000229c:	e3530000 	cmp	r3, #0                                        
a00022a0:	0affffea 	beq	a0002250 <RTEMS_Malloc_Initialize+0x78>       
a00022a4:	e59f4018 	ldr	r4, [pc, #24]	; a00022c4 <RTEMS_Malloc_Initialize+0xec>
a00022a8:	eafffff0 	b	a0002270 <RTEMS_Malloc_Initialize+0x98>         
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
a00022ac:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
a00022b0:	eb000e65 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0001290 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
a0001290:	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 )                                                  
a0001294:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0001298:	e24dd010 	sub	sp, sp, #16                                   <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
a000129c:	0a000030 	beq	a0001364 <Stack_check_Dump_threads_usage+0xd4><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
a00012a0:	e59f4108 	ldr	r4, [pc, #264]	; a00013b0 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
a00012a4:	e5947004 	ldr	r7, [r4, #4]                                  <== NOT EXECUTED
a00012a8:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a00012ac:	0a00002c 	beq	a0001364 <Stack_check_Dump_threads_usage+0xd4><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
a00012b0:	e37a0001 	cmn	sl, #1                                        <== NOT EXECUTED
a00012b4:	0a000031 	beq	a0001380 <Stack_check_Dump_threads_usage+0xf0><== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
a00012b8:	e59a80f0 	ldr	r8, [sl, #240]	; 0xf0                         <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
a00012bc:	e28a50c0 	add	r5, sl, #192	; 0xc0                           <== NOT EXECUTED
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
a00012c0:	e8950240 	ldm	r5, {r6, r9}                                  <== NOT EXECUTED
a00012c4:	e2899010 	add	r9, r9, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
a00012c8:	e2466010 	sub	r6, r6, #16                                   <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
a00012cc:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a00012d0:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00012d4:	ebffffd8 	bl	a000123c <Stack_check_find_high_water_mark>    <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
a00012d8:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
a00012dc:	10899006 	addne	r9, r9, r6                                  <== NOT EXECUTED
a00012e0:	106bb009 	rsbne	fp, fp, r9                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
a00012e4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a00012e8:	0a00002b 	beq	a000139c <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
    (*print_handler)(                                                 
a00012ec:	e59aa008 	ldr	sl, [sl, #8]                                  <== NOT EXECUTED
a00012f0:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a00012f4:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
a00012f8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a00012fc:	e5949008 	ldr	r9, [r4, #8]                                  <== NOT EXECUTED
a0001300:	eb001053 	bl	a0005454 <rtems_object_get_name>               <== NOT EXECUTED
a0001304:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a0001308:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000130c:	e59f10a0 	ldr	r1, [pc, #160]	; a00013b4 <Stack_check_Dump_threads_usage+0x124><== NOT EXECUTED
a0001310:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0001314:	e12fff37 	blx	r7                                            <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
a0001318:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a000131c:	e5952004 	ldr	r2, [r5, #4]                                  <== NOT EXECUTED
a0001320:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0001324:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0001328:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a000132c:	e58d8000 	str	r8, [sp]                                      <== NOT EXECUTED
a0001330:	e58d6004 	str	r6, [sp, #4]                                  <== NOT EXECUTED
a0001334:	e594c004 	ldr	ip, [r4, #4]                                  <== NOT EXECUTED
a0001338:	e59f1078 	ldr	r1, [pc, #120]	; a00013b8 <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
a000133c:	e12fff3c 	blx	ip                                            <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a0001340:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
a0001344:	e59f3064 	ldr	r3, [pc, #100]	; a00013b0 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a0001348:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000134c:	0a000006 	beq	a000136c <Stack_check_Dump_threads_usage+0xdc><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
a0001350:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0001354:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a0001358:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000135c:	e59f1058 	ldr	r1, [pc, #88]	; a00013bc <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
a0001360:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
a0001364:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0001368:	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" );               
a000136c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0001370:	e59f1048 	ldr	r1, [pc, #72]	; a00013c0 <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
a0001374:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0001378:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000137c:	eafffff8 	b	a0001364 <Stack_check_Dump_threads_usage+0xd4>  <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    if (Stack_check_Interrupt_stack.area) {                           
a0001380:	e59f503c 	ldr	r5, [pc, #60]	; a00013c4 <Stack_check_Dump_threads_usage+0x134><== NOT EXECUTED
a0001384:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
a0001388:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000138c:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
a0001390:	11a0a008 	movne	sl, r8                                      <== NOT EXECUTED
a0001394:	1affffc9 	bne	a00012c0 <Stack_check_Dump_threads_usage+0x30><== NOT EXECUTED
a0001398:	eafffff1 	b	a0001364 <Stack_check_Dump_threads_usage+0xd4>  <== 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 );   
a000139c:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a00013a0:	e59f1020 	ldr	r1, [pc, #32]	; a00013c8 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
a00013a4:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a00013a8:	e12fff37 	blx	r7                                            <== NOT EXECUTED
a00013ac:	eaffffd9 	b	a0001318 <Stack_check_Dump_threads_usage+0x88>  <== NOT EXECUTED
                                                                      

a000123c <Stack_check_find_high_water_mark>: /* * start at lower memory and find first word that does not * match pattern */ base += PATTERN_SIZE_WORDS;
a000123c:	e2803010 	add	r3, r0, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
a0001240:	e3c11003 	bic	r1, r1, #3                                    <== NOT EXECUTED
a0001244:	e0831001 	add	r1, r3, r1                                    <== NOT EXECUTED
a0001248:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
a000124c:	2a00000a 	bcs	a000127c <Stack_check_find_high_water_mark+0x40><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a0001250:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0001254:	e59f2030 	ldr	r2, [pc, #48]	; a000128c <Stack_check_find_high_water_mark+0x50><== NOT EXECUTED
a0001258:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
a000125c:	0a000003 	beq	a0001270 <Stack_check_find_high_water_mark+0x34><== NOT EXECUTED
a0001260:	ea000007 	b	a0001284 <Stack_check_find_high_water_mark+0x48><== NOT EXECUTED
a0001264:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a0001268:	e1520000 	cmp	r2, r0                                        <== NOT EXECUTED
a000126c:	1a000004 	bne	a0001284 <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++)                 
a0001270:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0001274:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a0001278:	8afffff9 	bhi	a0001264 <Stack_check_find_high_water_mark+0x28><== NOT EXECUTED
a000127c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
a0001280:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
a0001284:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001288:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a001728c <_CORE_message_queue_Broadcast>: { Thread_Control *the_thread; uint32_t number_broadcasted; Thread_Wait_information *waitp; if ( size > the_message_queue->maximum_message_size ) {
a001728c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a0017290:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0017294:	e1530002 	cmp	r3, r2                                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a0017298:	e1a07000 	mov	r7, r0                                        
a001729c:	e1a05002 	mov	r5, r2                                        
a00172a0:	e1a08001 	mov	r8, r1                                        
a00172a4:	e59da020 	ldr	sl, [sp, #32]                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a00172a8:	3a000013 	bcc	a00172fc <_CORE_message_queue_Broadcast+0x70> 
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
a00172ac:	e5906048 	ldr	r6, [r0, #72]	; 0x48                          
a00172b0:	e3560000 	cmp	r6, #0                                        
a00172b4:	0a000009 	beq	a00172e0 <_CORE_message_queue_Broadcast+0x54> 
    *count = 0;                                                       
a00172b8:	e3a00000 	mov	r0, #0                                        
a00172bc:	e58a0000 	str	r0, [sl]                                      
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a00172c0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a00172c4:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a00172c8:	e1a01008 	mov	r1, r8                                        
a00172cc:	e1a02005 	mov	r2, r5                                        
a00172d0:	eb0025d0 	bl	a0020a18 <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a00172d4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
a00172d8:	e2866001 	add	r6, r6, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a00172dc:	e5835000 	str	r5, [r3]                                      
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
a00172e0:	e1a00007 	mov	r0, r7                                        
a00172e4:	eb0009d6 	bl	a0019a44 <_Thread_queue_Dequeue>               
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
a00172e8:	e2504000 	subs	r4, r0, #0                                   
a00172ec:	1afffff4 	bne	a00172c4 <_CORE_message_queue_Broadcast+0x38> 
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
a00172f0:	e58a6000 	str	r6, [sl]                                      
a00172f4:	e1a00004 	mov	r0, r4                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
a00172f8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a00172fc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0017300:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a000b92c <_CORE_mutex_Seize_interrupt_trylock>: { Thread_Control *executing; /* disabled when you get here */ executing = _Thread_Executing;
a000b92c:	e59f2154 	ldr	r2, [pc, #340]	; a000ba88 <_CORE_mutex_Seize_interrupt_trylock+0x15c>
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a000b930:	e3a03000 	mov	r3, #0                                        
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
a000b934:	e92d4070 	push	{r4, r5, r6, lr}                             
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
a000b938:	e5922000 	ldr	r2, [r2]                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
a000b93c:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
a000b940:	e590c050 	ldr	ip, [r0, #80]	; 0x50                          
a000b944:	e15c0003 	cmp	ip, r3                                        
a000b948:	0a00000e 	beq	a000b988 <_CORE_mutex_Seize_interrupt_trylock+0x5c>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
a000b94c:	e5803050 	str	r3, [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;
a000b950:	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;                     
a000b954:	e5925008 	ldr	r5, [r2, #8]                                  
    the_mutex->nest_count = 1;                                        
a000b958:	e3a04001 	mov	r4, #1                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000b95c:	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;                     
a000b960:	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;                                
a000b964:	e580205c 	str	r2, [r0, #92]	; 0x5c                          
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
a000b968:	e5804054 	str	r4, [r0, #84]	; 0x54                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
a000b96c:	0a00000a 	beq	a000b99c <_CORE_mutex_Seize_interrupt_trylock+0x70>
a000b970:	e35c0003 	cmp	ip, #3                                        
a000b974:	0a000019 	beq	a000b9e0 <_CORE_mutex_Seize_interrupt_trylock+0xb4>
a000b978:	e5913000 	ldr	r3, [r1]                                      
a000b97c:	e129f003 	msr	CPSR_fc, r3                                   
a000b980:	e3a00000 	mov	r0, #0                                        
a000b984:	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 ) ) {                  
a000b988:	e590305c 	ldr	r3, [r0, #92]	; 0x5c                          
a000b98c:	e1520003 	cmp	r2, r3                                        
a000b990:	0a000008 	beq	a000b9b8 <_CORE_mutex_Seize_interrupt_trylock+0x8c>
a000b994:	e3a00001 	mov	r0, #1                                        
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
a000b998:	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++;                                    
a000b99c:	e592301c 	ldr	r3, [r2, #28]                                 
a000b9a0:	e2833001 	add	r3, r3, #1                                    
a000b9a4:	e582301c 	str	r3, [r2, #28]                                 
a000b9a8:	e5913000 	ldr	r3, [r1]                                      
a000b9ac:	e129f003 	msr	CPSR_fc, r3                                   
a000b9b0:	e3a00000 	mov	r0, #0                                        
a000b9b4:	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 ) {          
a000b9b8:	e5903040 	ldr	r3, [r0, #64]	; 0x40                          
a000b9bc:	e3530000 	cmp	r3, #0                                        
a000b9c0:	1a000017 	bne	a000ba24 <_CORE_mutex_Seize_interrupt_trylock+0xf8>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
a000b9c4:	e5903054 	ldr	r3, [r0, #84]	; 0x54                          
a000b9c8:	e2833001 	add	r3, r3, #1                                    
a000b9cc:	e5803054 	str	r3, [r0, #84]	; 0x54                          
a000b9d0:	e5913000 	ldr	r3, [r1]                                      
a000b9d4:	e129f003 	msr	CPSR_fc, r3                                   
a000b9d8:	e3a00000 	mov	r0, #0                                        
a000b9dc:	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++;                                    
a000b9e0:	e592c01c 	ldr	ip, [r2, #28]                                 
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
a000b9e4:	e5925014 	ldr	r5, [r2, #20]                                 
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
a000b9e8:	e08c6004 	add	r6, ip, r4                                    
a000b9ec:	e582601c 	str	r6, [r2, #28]                                 
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
a000b9f0:	e590604c 	ldr	r6, [r0, #76]	; 0x4c                          
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
a000b9f4:	e1560005 	cmp	r6, r5                                        
a000b9f8:	0a00001e 	beq	a000ba78 <_CORE_mutex_Seize_interrupt_trylock+0x14c>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
a000b9fc:	3a000010 	bcc	a000ba44 <_CORE_mutex_Seize_interrupt_trylock+0x118>
        );                                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
a000ba00:	e3a05006 	mov	r5, #6                                        
a000ba04:	e5825034 	str	r5, [r2, #52]	; 0x34                          
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
        the_mutex->nest_count = 0;     /* undo locking above */       
a000ba08:	e5803054 	str	r3, [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;                  
a000ba0c:	e5804050 	str	r4, [r0, #80]	; 0x50                          
        the_mutex->nest_count = 0;     /* undo locking above */       
        executing->resource_count--;   /* undo locking above */       
a000ba10:	e582c01c 	str	ip, [r2, #28]                                 
a000ba14:	e5913000 	ldr	r3, [r1]                                      
a000ba18:	e129f003 	msr	CPSR_fc, r3                                   
a000ba1c:	e3a00000 	mov	r0, #0                                        
a000ba20:	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 ) {          
a000ba24:	e3530001 	cmp	r3, #1                                        
a000ba28:	1affffd9 	bne	a000b994 <_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;
a000ba2c:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
a000ba30:	e5823034 	str	r3, [r2, #52]	; 0x34                          <== NOT EXECUTED
a000ba34:	e5913000 	ldr	r3, [r1]                                      <== NOT EXECUTED
a000ba38:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a000ba3c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000ba40:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a000ba44:	e59f3040 	ldr	r3, [pc, #64]	; a000ba8c <_CORE_mutex_Seize_interrupt_trylock+0x160>
a000ba48:	e5932000 	ldr	r2, [r3]                                      
a000ba4c:	e2822001 	add	r2, r2, #1                                    
a000ba50:	e5832000 	str	r2, [r3]                                      
a000ba54:	e5913000 	ldr	r3, [r1]                                      
a000ba58:	e129f003 	msr	CPSR_fc, r3                                   
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
a000ba5c:	e3a02000 	mov	r2, #0                                        
a000ba60:	e590104c 	ldr	r1, [r0, #76]	; 0x4c                          
a000ba64:	e590005c 	ldr	r0, [r0, #92]	; 0x5c                          
a000ba68:	ebffedad 	bl	a0007124 <_Thread_Change_priority>             
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
a000ba6c:	ebffef1a 	bl	a00076dc <_Thread_Enable_dispatch>             
a000ba70:	e3a00000 	mov	r0, #0                                        
a000ba74:	e8bd8070 	pop	{r4, r5, r6, pc}                              
a000ba78:	e5913000 	ldr	r3, [r1]                                      
a000ba7c:	e129f003 	msr	CPSR_fc, r3                                   
a000ba80:	e3a00000 	mov	r0, #0                                        
a000ba84:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000bb00 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
a000bb00:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000bb04:	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;                        
a000bb08:	e5902010 	ldr	r2, [r0, #16]                                 
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000bb0c:	e24dd01c 	sub	sp, sp, #28                                   
a000bb10:	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 ) {                              
a000bb14:	e2911004 	adds	r1, r1, #4                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000bb18:	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 ) {                              
a000bb1c:	e58d1000 	str	r1, [sp]                                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000bb20:	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;                            
a000bb24:	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;                        
a000bb28:	e58d200c 	str	r2, [sp, #12]                                 
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000bb2c:	2a000074 	bcs	a000bd04 <_Heap_Allocate_aligned_with_boundary+0x204>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
a000bb30:	e3530000 	cmp	r3, #0                                        
a000bb34:	1a000070 	bne	a000bcfc <_Heap_Allocate_aligned_with_boundary+0x1fc>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000bb38:	e157000a 	cmp	r7, sl                                        
a000bb3c:	03a06000 	moveq	r6, #0                                      
a000bb40:	0a000072 	beq	a000bd10 <_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;                         
a000bb44:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000bb48:	e2651004 	rsb	r1, r5, #4                                    
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000bb4c:	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;                         
a000bb50:	e2833007 	add	r3, r3, #7                                    
a000bb54:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000bb58:	e58d1014 	str	r1, [sp, #20]                                 
a000bb5c:	ea000004 	b	a000bb74 <_Heap_Allocate_aligned_with_boundary+0x74>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
a000bb60:	e3540000 	cmp	r4, #0                                        
a000bb64:	1a000057 	bne	a000bcc8 <_Heap_Allocate_aligned_with_boundary+0x1c8>
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
a000bb68:	e59aa008 	ldr	sl, [sl, #8]                                  
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000bb6c:	e157000a 	cmp	r7, sl                                        
a000bb70:	0a000066 	beq	a000bd10 <_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 ) {                  
a000bb74:	e59a9004 	ldr	r9, [sl, #4]                                  
a000bb78:	e59d2000 	ldr	r2, [sp]                                      
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
a000bb7c:	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 ) {                  
a000bb80:	e1520009 	cmp	r2, r9                                        
a000bb84:	2afffff7 	bcs	a000bb68 <_Heap_Allocate_aligned_with_boundary+0x68>
      if ( alignment == 0 ) {                                         
a000bb88:	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;                  
a000bb8c:	028a4008 	addeq	r4, sl, #8                                  
a000bb90:	0afffff2 	beq	a000bb60 <_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;                     
a000bb94:	e59d1014 	ldr	r1, [sp, #20]                                 
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a000bb98:	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;                         
a000bb9c:	e59d2010 	ldr	r2, [sp, #16]                                 
  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;               
a000bba0:	e3c99001 	bic	r9, r9, #1                                    
a000bba4:	e08a9009 	add	r9, sl, r9                                    
  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;                     
a000bba8:	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;              
a000bbac:	e58d3004 	str	r3, [sp, #4]                                  
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000bbb0:	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;                         
a000bbb4:	e0633002 	rsb	r3, r3, r2                                    
a000bbb8:	e1a01008 	mov	r1, r8                                        
a000bbbc:	e0839009 	add	r9, r3, r9                                    
a000bbc0:	eb002f8a 	bl	a00179f0 <__umodsi3>                           
a000bbc4:	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;                  
a000bbc8:	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 ) {                          
a000bbcc:	e1590004 	cmp	r9, r4                                        
a000bbd0:	e58d3008 	str	r3, [sp, #8]                                  
a000bbd4:	2a000003 	bcs	a000bbe8 <_Heap_Allocate_aligned_with_boundary+0xe8>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000bbd8:	e1a00009 	mov	r0, r9                                        
a000bbdc:	e1a01008 	mov	r1, r8                                        
a000bbe0:	eb002f82 	bl	a00179f0 <__umodsi3>                           
a000bbe4:	e0604009 	rsb	r4, r0, r9                                    
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
a000bbe8:	e35b0000 	cmp	fp, #0                                        
a000bbec:	0a000025 	beq	a000bc88 <_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;                               
a000bbf0:	e0849005 	add	r9, r4, r5                                    
a000bbf4:	e1a00009 	mov	r0, r9                                        
a000bbf8:	e1a0100b 	mov	r1, fp                                        
a000bbfc:	eb002f7b 	bl	a00179f0 <__umodsi3>                           
a000bc00:	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 ) {
a000bc04:	e1590000 	cmp	r9, r0                                        
a000bc08:	93a03000 	movls	r3, #0                                      
a000bc0c:	83a03001 	movhi	r3, #1                                      
a000bc10:	e1540000 	cmp	r4, r0                                        
a000bc14:	23a03000 	movcs	r3, #0                                      
a000bc18:	e3530000 	cmp	r3, #0                                        
a000bc1c:	0a000019 	beq	a000bc88 <_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;  
a000bc20:	e59d1008 	ldr	r1, [sp, #8]                                  
a000bc24:	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 ) {                         
a000bc28:	e1590000 	cmp	r9, r0                                        
a000bc2c:	958d6018 	strls	r6, [sp, #24]                               
a000bc30:	9a000002 	bls	a000bc40 <_Heap_Allocate_aligned_with_boundary+0x140>
a000bc34:	eaffffcb 	b	a000bb68 <_Heap_Allocate_aligned_with_boundary+0x68>
a000bc38:	e1590000 	cmp	r9, r0                                        
a000bc3c:	8a000035 	bhi	a000bd18 <_Heap_Allocate_aligned_with_boundary+0x218>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
a000bc40:	e0654000 	rsb	r4, r5, r0                                    
a000bc44:	e1a01008 	mov	r1, r8                                        
a000bc48:	e1a00004 	mov	r0, r4                                        
a000bc4c:	eb002f67 	bl	a00179f0 <__umodsi3>                           
a000bc50:	e0604004 	rsb	r4, r0, r4                                    
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
a000bc54:	e0846005 	add	r6, r4, r5                                    
a000bc58:	e1a00006 	mov	r0, r6                                        
a000bc5c:	e1a0100b 	mov	r1, fp                                        
a000bc60:	eb002f62 	bl	a00179f0 <__umodsi3>                           
a000bc64:	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 ) {
a000bc68:	e1560000 	cmp	r6, r0                                        
a000bc6c:	93a03000 	movls	r3, #0                                      
a000bc70:	83a03001 	movhi	r3, #1                                      
a000bc74:	e1540000 	cmp	r4, r0                                        
a000bc78:	23a03000 	movcs	r3, #0                                      
a000bc7c:	e3530000 	cmp	r3, #0                                        
a000bc80:	1affffec 	bne	a000bc38 <_Heap_Allocate_aligned_with_boundary+0x138>
a000bc84:	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 ) {                           
a000bc88:	e59d2008 	ldr	r2, [sp, #8]                                  
a000bc8c:	e1520004 	cmp	r2, r4                                        
a000bc90:	8affffb4 	bhi	a000bb68 <_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;      
a000bc94:	e59d100c 	ldr	r1, [sp, #12]                                 
a000bc98:	e1a00004 	mov	r0, r4                                        
a000bc9c:	eb002f53 	bl	a00179f0 <__umodsi3>                           
a000bca0:	e3e09007 	mvn	r9, #7                                        
a000bca4:	e06a9009 	rsb	r9, sl, r9                                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
a000bca8:	e59d1004 	ldr	r1, [sp, #4]                                  
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
    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;      
a000bcac:	e0899004 	add	r9, r9, r4                                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
a000bcb0:	e0603009 	rsb	r3, r0, r9                                    
a000bcb4:	e1590000 	cmp	r9, r0                                        
a000bcb8:	11510003 	cmpne	r1, r3                                      
a000bcbc:	8affffa9 	bhi	a000bb68 <_Heap_Allocate_aligned_with_boundary+0x68>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
a000bcc0:	e3540000 	cmp	r4, #0                                        
a000bcc4:	0affffa7 	beq	a000bb68 <_Heap_Allocate_aligned_with_boundary+0x68>
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000bcc8:	e597204c 	ldr	r2, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000bccc:	e1a0100a 	mov	r1, sl                                        
a000bcd0:	e1a03005 	mov	r3, r5                                        
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000bcd4:	e0822006 	add	r2, r2, r6                                    
a000bcd8:	e587204c 	str	r2, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000bcdc:	e1a00007 	mov	r0, r7                                        
a000bce0:	e1a02004 	mov	r2, r4                                        
a000bce4:	ebffea85 	bl	a0006700 <_Heap_Block_allocate>                
a000bce8:	e1a00004 	mov	r0, r4                                        
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
a000bcec:	e5973044 	ldr	r3, [r7, #68]	; 0x44                          
a000bcf0:	e1530006 	cmp	r3, r6                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
a000bcf4:	35876044 	strcc	r6, [r7, #68]	; 0x44                        
a000bcf8:	ea000002 	b	a000bd08 <_Heap_Allocate_aligned_with_boundary+0x208>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
a000bcfc:	e1550003 	cmp	r5, r3                                        
a000bd00:	9a000006 	bls	a000bd20 <_Heap_Allocate_aligned_with_boundary+0x220>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
a000bd04:	e3a00000 	mov	r0, #0                                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000bd08:	e28dd01c 	add	sp, sp, #28                                   
a000bd0c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000bd10:	e3a00000 	mov	r0, #0                                        
a000bd14:	eafffff4 	b	a000bcec <_Heap_Allocate_aligned_with_boundary+0x1ec>
a000bd18:	e59d6018 	ldr	r6, [sp, #24]                                 <== NOT EXECUTED
a000bd1c:	eaffff91 	b	a000bb68 <_Heap_Allocate_aligned_with_boundary+0x68><== NOT EXECUTED
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
a000bd20:	e3580000 	cmp	r8, #0                                        
a000bd24:	01a08002 	moveq	r8, r2                                      
a000bd28:	eaffff82 	b	a000bb38 <_Heap_Allocate_aligned_with_boundary+0x38>
                                                                      

a0010e74 <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
a0010e74:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
a0010e78:	e590c01c 	ldr	ip, [r0, #28]                                 
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a0010e7c:	e1a04000 	mov	r4, r0                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a0010e80:	e5900018 	ldr	r0, [r0, #24]                                 
a0010e84:	e151000c 	cmp	r1, ip                                        
a0010e88:	23a05000 	movcs	r5, #0                                      
a0010e8c:	33a05001 	movcc	r5, #1                                      
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a0010e90:	e1a07003 	mov	r7, r3                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a0010e94:	e1510000 	cmp	r1, r0                                        
a0010e98:	33a05000 	movcc	r5, #0                                      
a0010e9c:	e3550000 	cmp	r5, #0                                        
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
a0010ea0:	e5946024 	ldr	r6, [r4, #36]	; 0x24                          
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a0010ea4:	1a000012 	bne	a0010ef4 <_Heap_Extend+0x80>                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
a0010ea8:	e151000c 	cmp	r1, ip                                        
a0010eac:	0a000001 	beq	a0010eb8 <_Heap_Extend+0x44>                  
a0010eb0:	e3a00002 	mov	r0, #2                                        
a0010eb4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
a0010eb8:	e3e08007 	mvn	r8, #7                                        
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
a0010ebc:	e0811002 	add	r1, r1, r2                                    
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
a0010ec0:	e0668008 	rsb	r8, r6, r8                                    
a0010ec4:	e0888001 	add	r8, r8, r1                                    
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
a0010ec8:	e584101c 	str	r1, [r4, #28]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a0010ecc:	e1a00008 	mov	r0, r8                                        
a0010ed0:	e5941010 	ldr	r1, [r4, #16]                                 
a0010ed4:	ebffc8bd 	bl	a00031d0 <__umodsi3>                           
a0010ed8:	e0600008 	rsb	r0, r0, r8                                    
                                                                      
  extend_size = new_heap_area_end                                     
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
a0010edc:	e5870000 	str	r0, [r7]                                      
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
a0010ee0:	e5943014 	ldr	r3, [r4, #20]                                 
a0010ee4:	e1530000 	cmp	r3, r0                                        
a0010ee8:	9a000003 	bls	a0010efc <_Heap_Extend+0x88>                  
a0010eec:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0010ef0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a0010ef4:	e3a00001 	mov	r0, #1                                        
a0010ef8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
a0010efc:	e5961004 	ldr	r1, [r6, #4]                                  
  if( extend_size >= heap->min_block_size ) {                         
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
a0010f00:	e5942020 	ldr	r2, [r4, #32]                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0010f04:	e0803006 	add	r3, r0, r6                                    
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
a0010f08:	e2011001 	and	r1, r1, #1                                    
a0010f0c:	e0632002 	rsb	r2, r3, r2                                    
a0010f10:	e1801001 	orr	r1, r0, r1                                    
a0010f14:	e3822001 	orr	r2, r2, #1                                    
a0010f18:	e5861004 	str	r1, [r6, #4]                                  
a0010f1c:	e5832004 	str	r2, [r3, #4]                                  
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a0010f20:	e594802c 	ldr	r8, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a0010f24:	e5941040 	ldr	r1, [r4, #64]	; 0x40                          
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010f28:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a0010f2c:	e0880000 	add	r0, r8, r0                                    
    ++stats->used_blocks;                                             
a0010f30:	e2811001 	add	r1, r1, #1                                    
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010f34:	e2422001 	sub	r2, r2, #1                                    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a0010f38:	e584002c 	str	r0, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a0010f3c:	e5841040 	str	r1, [r4, #64]	; 0x40                          
                                                                      
    new_last_block->size_and_flag =                                   
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
a0010f40:	e5843024 	str	r3, [r4, #36]	; 0x24                          
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010f44:	e5842050 	str	r2, [r4, #80]	; 0x50                          
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
a0010f48:	e1a00004 	mov	r0, r4                                        
a0010f4c:	e2861008 	add	r1, r6, #8                                    
a0010f50:	ebffe708 	bl	a000ab78 <_Heap_Free>                          
a0010f54:	e1a00005 	mov	r0, r5                                        
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
a0010f58:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      

a0007480 <_Heap_Walk>: 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() ) ) {
a0007480:	e59f3588 	ldr	r3, [pc, #1416]	; a0007a10 <_Heap_Walk+0x590> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a0007484:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  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;                      
a0007488:	e31200ff 	tst	r2, #255	; 0xff                               
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a000748c:	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;                      
a0007490:	e59f257c 	ldr	r2, [pc, #1404]	; a0007a14 <_Heap_Walk+0x594> 
a0007494:	e59fa57c 	ldr	sl, [pc, #1404]	; a0007a18 <_Heap_Walk+0x598> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a0007498:	e24dd03c 	sub	sp, sp, #60	; 0x3c                            
a000749c:	e1a04000 	mov	r4, r0                                        
  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;                      
a00074a0:	01a0a002 	moveq	sl, r2                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a00074a4:	e3530003 	cmp	r3, #3                                        
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a00074a8:	e5902010 	ldr	r2, [r0, #16]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
a00074ac:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a00074b0:	e1a08001 	mov	r8, r1                                        
  uintptr_t const page_size = heap->page_size;                        
a00074b4:	e58d2020 	str	r2, [sp, #32]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
a00074b8:	e590b014 	ldr	fp, [r0, #20]                                 
  Heap_Block *const last_block = heap->last_block;                    
a00074bc:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
  Heap_Block *block = heap->first_block;                              
a00074c0:	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() ) ) {                
a00074c4:	0a000002 	beq	a00074d4 <_Heap_Walk+0x54>                    
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a00074c8:	e3a00001 	mov	r0, #1                                        
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a00074cc:	e28dd03c 	add	sp, sp, #60	; 0x3c                            
a00074d0:	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)(                                                         
a00074d4:	e5900018 	ldr	r0, [r0, #24]                                 
a00074d8:	e594101c 	ldr	r1, [r4, #28]                                 
a00074dc:	e5942008 	ldr	r2, [r4, #8]                                  
a00074e0:	e594300c 	ldr	r3, [r4, #12]                                 
a00074e4:	e59dc024 	ldr	ip, [sp, #36]	; 0x24                          
a00074e8:	e98d0003 	stmib	sp, {r0, r1}                                
a00074ec:	e58d2014 	str	r2, [sp, #20]                                 
a00074f0:	e58d3018 	str	r3, [sp, #24]                                 
a00074f4:	e59f2520 	ldr	r2, [pc, #1312]	; a0007a1c <_Heap_Walk+0x59c> 
a00074f8:	e58db000 	str	fp, [sp]                                      
a00074fc:	e58d500c 	str	r5, [sp, #12]                                 
a0007500:	e58dc010 	str	ip, [sp, #16]                                 
a0007504:	e1a00008 	mov	r0, r8                                        
a0007508:	e3a01000 	mov	r1, #0                                        
a000750c:	e59d3020 	ldr	r3, [sp, #32]                                 
a0007510:	e12fff3a 	blx	sl                                            
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
a0007514:	e59d2020 	ldr	r2, [sp, #32]                                 
a0007518:	e3520000 	cmp	r2, #0                                        
a000751c:	0a000030 	beq	a00075e4 <_Heap_Walk+0x164>                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
a0007520:	e59d3020 	ldr	r3, [sp, #32]                                 
a0007524:	e2139003 	ands	r9, r3, #3                                   
a0007528:	1a000033 	bne	a00075fc <_Heap_Walk+0x17c>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
a000752c:	e1a0000b 	mov	r0, fp                                        
a0007530:	e59d1020 	ldr	r1, [sp, #32]                                 
a0007534:	ebffe56b 	bl	a0000ae8 <__umodsi3>                           
a0007538:	e2506000 	subs	r6, r0, #0                                   
a000753c:	1a000034 	bne	a0007614 <_Heap_Walk+0x194>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a0007540:	e2850008 	add	r0, r5, #8                                    
a0007544:	e59d1020 	ldr	r1, [sp, #32]                                 
a0007548:	ebffe566 	bl	a0000ae8 <__umodsi3>                           
a000754c:	e2509000 	subs	r9, r0, #0                                   
a0007550:	1a000036 	bne	a0007630 <_Heap_Walk+0x1b0>                   
  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;                 
a0007554:	e5957004 	ldr	r7, [r5, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
a0007558:	e2176001 	ands	r6, r7, #1                                   
a000755c:	0a00003a 	beq	a000764c <_Heap_Walk+0x1cc>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
a0007560:	e5953000 	ldr	r3, [r5]                                      
a0007564:	e59dc020 	ldr	ip, [sp, #32]                                 
a0007568:	e15c0003 	cmp	ip, r3                                        
a000756c:	1a000015 	bne	a00075c8 <_Heap_Walk+0x148>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
a0007570:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a0007574:	e5923004 	ldr	r3, [r2, #4]                                  
a0007578:	e3c33001 	bic	r3, r3, #1                                    
a000757c:	e0823003 	add	r3, r2, r3                                    
a0007580:	e5939004 	ldr	r9, [r3, #4]                                  
a0007584:	e2199001 	ands	r9, r9, #1                                   
a0007588:	0a000103 	beq	a000799c <_Heap_Walk+0x51c>                   
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a000758c:	e5949008 	ldr	r9, [r4, #8]                                  
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0007590:	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 ) {                            
a0007594:	e1540009 	cmp	r4, r9                                        
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0007598:	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 ) {                            
a000759c:	0a000067 	beq	a0007740 <_Heap_Walk+0x2c0>                   
  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;             
a00075a0:	e5942020 	ldr	r2, [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           
a00075a4:	e1520009 	cmp	r2, r9                                        
a00075a8:	9a00002d 	bls	a0007664 <_Heap_Walk+0x1e4>                   
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
a00075ac:	e1a00008 	mov	r0, r8                                        
a00075b0:	e1a03009 	mov	r3, r9                                        
a00075b4:	e3a01001 	mov	r1, #1                                        
a00075b8:	e59f2460 	ldr	r2, [pc, #1120]	; a0007a20 <_Heap_Walk+0x5a0> 
a00075bc:	e12fff3a 	blx	sl                                            
a00075c0:	e3a00000 	mov	r0, #0                                        
a00075c4:	eaffffc0 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
a00075c8:	e1a00008 	mov	r0, r8                                        
a00075cc:	e58dc000 	str	ip, [sp]                                      
a00075d0:	e3a01001 	mov	r1, #1                                        
a00075d4:	e59f2448 	ldr	r2, [pc, #1096]	; a0007a24 <_Heap_Walk+0x5a4> 
a00075d8:	e12fff3a 	blx	sl                                            
a00075dc:	e1a00009 	mov	r0, r9                                        
a00075e0:	eaffffb9 	b	a00074cc <_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" );                
a00075e4:	e1a00008 	mov	r0, r8                                        
a00075e8:	e3a01001 	mov	r1, #1                                        
a00075ec:	e59f2434 	ldr	r2, [pc, #1076]	; a0007a28 <_Heap_Walk+0x5a8> 
a00075f0:	e12fff3a 	blx	sl                                            
a00075f4:	e59d0020 	ldr	r0, [sp, #32]                                 
a00075f8:	eaffffb3 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
a00075fc:	e1a00008 	mov	r0, r8                                        
a0007600:	e3a01001 	mov	r1, #1                                        
a0007604:	e59f2420 	ldr	r2, [pc, #1056]	; a0007a2c <_Heap_Walk+0x5ac> 
a0007608:	e12fff3a 	blx	sl                                            
a000760c:	e3a00000 	mov	r0, #0                                        
a0007610:	eaffffad 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
a0007614:	e1a00008 	mov	r0, r8                                        
a0007618:	e1a0300b 	mov	r3, fp                                        
a000761c:	e3a01001 	mov	r1, #1                                        
a0007620:	e59f2408 	ldr	r2, [pc, #1032]	; a0007a30 <_Heap_Walk+0x5b0> 
a0007624:	e12fff3a 	blx	sl                                            
a0007628:	e1a00009 	mov	r0, r9                                        
a000762c:	eaffffa6 	b	a00074cc <_Heap_Walk+0x4c>                      
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
a0007630:	e1a00008 	mov	r0, r8                                        
a0007634:	e1a03005 	mov	r3, r5                                        
a0007638:	e3a01001 	mov	r1, #1                                        
a000763c:	e59f23f0 	ldr	r2, [pc, #1008]	; a0007a34 <_Heap_Walk+0x5b4> 
a0007640:	e12fff3a 	blx	sl                                            
a0007644:	e1a00006 	mov	r0, r6                                        
a0007648:	eaffff9f 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
a000764c:	e1a00008 	mov	r0, r8                                        
a0007650:	e3a01001 	mov	r1, #1                                        
a0007654:	e59f23dc 	ldr	r2, [pc, #988]	; a0007a38 <_Heap_Walk+0x5b8>  
a0007658:	e12fff3a 	blx	sl                                            
a000765c:	e1a00006 	mov	r0, r6                                        
a0007660:	eaffff99 	b	a00074cc <_Heap_Walk+0x4c>                      
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0007664:	e594c024 	ldr	ip, [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           
a0007668:	e159000c 	cmp	r9, ip                                        
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a000766c:	e58dc02c 	str	ip, [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           
a0007670:	8affffcd 	bhi	a00075ac <_Heap_Walk+0x12c>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a0007674:	e2890008 	add	r0, r9, #8                                    
a0007678:	e1a01003 	mov	r1, r3                                        
a000767c:	e58d201c 	str	r2, [sp, #28]                                 
a0007680:	ebffe518 	bl	a0000ae8 <__umodsi3>                           
a0007684:	e3500000 	cmp	r0, #0                                        
a0007688:	e59d201c 	ldr	r2, [sp, #28]                                 
a000768c:	1a0000c8 	bne	a00079b4 <_Heap_Walk+0x534>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0007690:	e5993004 	ldr	r3, [r9, #4]                                  
a0007694:	e3c33001 	bic	r3, r3, #1                                    
a0007698:	e0893003 	add	r3, r9, r3                                    
a000769c:	e5933004 	ldr	r3, [r3, #4]                                  
a00076a0:	e3130001 	tst	r3, #1                                        
a00076a4:	1a0000d2 	bne	a00079f4 <_Heap_Walk+0x574>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a00076a8:	e599c00c 	ldr	ip, [r9, #12]                                 
a00076ac:	e15c0004 	cmp	ip, r4                                        
a00076b0:	1a0000c7 	bne	a00079d4 <_Heap_Walk+0x554>                   
a00076b4:	e58d7030 	str	r7, [sp, #48]	; 0x30                          
a00076b8:	e58db034 	str	fp, [sp, #52]	; 0x34                          
a00076bc:	e59d702c 	ldr	r7, [sp, #44]	; 0x2c                          
a00076c0:	e59db028 	ldr	fp, [sp, #40]	; 0x28                          
a00076c4:	e58d502c 	str	r5, [sp, #44]	; 0x2c                          
a00076c8:	e58d6038 	str	r6, [sp, #56]	; 0x38                          
a00076cc:	e1a0500c 	mov	r5, ip                                        
a00076d0:	e58d4028 	str	r4, [sp, #40]	; 0x28                          
a00076d4:	e1a06002 	mov	r6, r2                                        
a00076d8:	ea000011 	b	a0007724 <_Heap_Walk+0x2a4>                     
a00076dc:	e1560009 	cmp	r6, r9                                        
a00076e0:	8affffb1 	bhi	a00075ac <_Heap_Walk+0x12c>                   
a00076e4:	e1590007 	cmp	r9, r7                                        
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a00076e8:	e2890008 	add	r0, r9, #8                                    
a00076ec:	e1a0100b 	mov	r1, fp                                        
a00076f0:	8affffad 	bhi	a00075ac <_Heap_Walk+0x12c>                   
a00076f4:	ebffe4fb 	bl	a0000ae8 <__umodsi3>                           
a00076f8:	e3500000 	cmp	r0, #0                                        
a00076fc:	1a0000ac 	bne	a00079b4 <_Heap_Walk+0x534>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0007700:	e5993004 	ldr	r3, [r9, #4]                                  
a0007704:	e3c33001 	bic	r3, r3, #1                                    
a0007708:	e0833009 	add	r3, r3, r9                                    
a000770c:	e5933004 	ldr	r3, [r3, #4]                                  
a0007710:	e3130001 	tst	r3, #1                                        
a0007714:	1a0000b6 	bne	a00079f4 <_Heap_Walk+0x574>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a0007718:	e599200c 	ldr	r2, [r9, #12]                                 
a000771c:	e1540002 	cmp	r4, r2                                        
a0007720:	1a0000aa 	bne	a00079d0 <_Heap_Walk+0x550>                   
      (*printer)(                                                     
a0007724:	e1a04009 	mov	r4, r9                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
a0007728:	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 ) {                            
a000772c:	e1550009 	cmp	r5, r9                                        
a0007730:	1affffe9 	bne	a00076dc <_Heap_Walk+0x25c>                   
a0007734:	e28d4028 	add	r4, sp, #40	; 0x28                            
a0007738:	e89408b0 	ldm	r4, {r4, r5, r7, fp}                          
a000773c:	e59d6038 	ldr	r6, [sp, #56]	; 0x38                          
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a0007740:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0007744:	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)" : ""),         
a0007748:	158db028 	strne	fp, [sp, #40]	; 0x28                        
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a000774c:	0affff5d 	beq	a00074c8 <_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;                
a0007750:	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 ) {                                                
a0007754:	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);                 
a0007758:	e0876005 	add	r6, r7, r5                                    
a000775c:	0a000010 	beq	a00077a4 <_Heap_Walk+0x324>                   
      (*printer)(                                                     
a0007760:	e1a03005 	mov	r3, r5                                        
a0007764:	e58d7000 	str	r7, [sp]                                      
a0007768:	e1a00008 	mov	r0, r8                                        
a000776c:	e3a01000 	mov	r1, #0                                        
a0007770:	e59f22c4 	ldr	r2, [pc, #708]	; a0007a3c <_Heap_Walk+0x5bc>  
a0007774:	e12fff3a 	blx	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           
a0007778:	e5943020 	ldr	r3, [r4, #32]                                 
a000777c:	e1530006 	cmp	r3, r6                                        
a0007780:	9a000011 	bls	a00077cc <_Heap_Walk+0x34c>                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
a0007784:	e1a00008 	mov	r0, r8                                        
a0007788:	e58d6000 	str	r6, [sp]                                      
a000778c:	e1a03005 	mov	r3, r5                                        
a0007790:	e3a01001 	mov	r1, #1                                        
a0007794:	e59f22a4 	ldr	r2, [pc, #676]	; a0007a40 <_Heap_Walk+0x5c0>  
a0007798:	e12fff3a 	blx	sl                                            
a000779c:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a00077a0:	eaffff49 	b	a00074cc <_Heap_Walk+0x4c>                      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
a00077a4:	e58d7000 	str	r7, [sp]                                      
a00077a8:	e5953000 	ldr	r3, [r5]                                      
a00077ac:	e1a00008 	mov	r0, r8                                        
a00077b0:	e59f228c 	ldr	r2, [pc, #652]	; a0007a44 <_Heap_Walk+0x5c4>  
a00077b4:	e58d3004 	str	r3, [sp, #4]                                  
a00077b8:	e1a03005 	mov	r3, r5                                        
a00077bc:	e12fff3a 	blx	sl                                            
a00077c0:	e5943020 	ldr	r3, [r4, #32]                                 
a00077c4:	e1530006 	cmp	r3, r6                                        
a00077c8:	8affffed 	bhi	a0007784 <_Heap_Walk+0x304>                   
a00077cc:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a00077d0:	e1530006 	cmp	r3, r6                                        
a00077d4:	3affffea 	bcc	a0007784 <_Heap_Walk+0x304>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
a00077d8:	e1a00007 	mov	r0, r7                                        
a00077dc:	e59d1020 	ldr	r1, [sp, #32]                                 
a00077e0:	ebffe4c0 	bl	a0000ae8 <__umodsi3>                           
a00077e4:	e2509000 	subs	r9, r0, #0                                   
a00077e8:	1a000051 	bne	a0007934 <_Heap_Walk+0x4b4>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
a00077ec:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a00077f0:	e1520007 	cmp	r2, r7                                        
a00077f4:	8a000056 	bhi	a0007954 <_Heap_Walk+0x4d4>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
a00077f8:	e1550006 	cmp	r5, r6                                        
a00077fc:	2a00005e 	bcs	a000797c <_Heap_Walk+0x4fc>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
a0007800:	e5963004 	ldr	r3, [r6, #4]                                  
a0007804:	e3130001 	tst	r3, #1                                        
a0007808:	1a000034 	bne	a00078e0 <_Heap_Walk+0x460>                   
  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;                 
a000780c:	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)(                                                         
a0007810:	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;                            
a0007814:	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;                
a0007818:	e3cb7001 	bic	r7, fp, #1                                    
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
a000781c:	e594100c 	ldr	r1, [r4, #12]                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a0007820:	e1530002 	cmp	r3, r2                                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0007824:	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;                            
a0007828:	059f0218 	ldreq	r0, [pc, #536]	; a0007a48 <_Heap_Walk+0x5c8>
a000782c:	0a000003 	beq	a0007840 <_Heap_Walk+0x3c0>                   
    "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)" : ""),         
a0007830:	e59f3214 	ldr	r3, [pc, #532]	; a0007a4c <_Heap_Walk+0x5cc>  
a0007834:	e1520004 	cmp	r2, r4                                        
a0007838:	e59f0210 	ldr	r0, [pc, #528]	; a0007a50 <_Heap_Walk+0x5d0>  
a000783c:	11a00003 	movne	r0, r3                                      
  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)(                                                         
a0007840:	e5953008 	ldr	r3, [r5, #8]                                  
a0007844:	e1510003 	cmp	r1, r3                                        
a0007848:	059f1204 	ldreq	r1, [pc, #516]	; a0007a54 <_Heap_Walk+0x5d4>
a000784c:	0a000003 	beq	a0007860 <_Heap_Walk+0x3e0>                   
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
a0007850:	e59fc1f4 	ldr	ip, [pc, #500]	; a0007a4c <_Heap_Walk+0x5cc>  
a0007854:	e1530004 	cmp	r3, r4                                        
a0007858:	e59f11f8 	ldr	r1, [pc, #504]	; a0007a58 <_Heap_Walk+0x5d8>  
a000785c:	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)(                                                         
a0007860:	e58d2000 	str	r2, [sp]                                      
a0007864:	e98d0009 	stmib	sp, {r0, r3}                                
a0007868:	e58d100c 	str	r1, [sp, #12]                                 
a000786c:	e1a03005 	mov	r3, r5                                        
a0007870:	e1a00008 	mov	r0, r8                                        
a0007874:	e3a01000 	mov	r1, #0                                        
a0007878:	e59f21dc 	ldr	r2, [pc, #476]	; a0007a5c <_Heap_Walk+0x5dc>  
a000787c:	e12fff3a 	blx	sl                                            
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
a0007880:	e5993000 	ldr	r3, [r9]                                      
a0007884:	e1570003 	cmp	r7, r3                                        
a0007888:	0a000009 	beq	a00078b4 <_Heap_Walk+0x434>                   
    (*printer)(                                                       
a000788c:	e58d3004 	str	r3, [sp, #4]                                  
a0007890:	e1a00008 	mov	r0, r8                                        
a0007894:	e58d7000 	str	r7, [sp]                                      
a0007898:	e58d9008 	str	r9, [sp, #8]                                  
a000789c:	e1a03005 	mov	r3, r5                                        
a00078a0:	e3a01001 	mov	r1, #1                                        
a00078a4:	e59f21b4 	ldr	r2, [pc, #436]	; a0007a60 <_Heap_Walk+0x5e0>  
a00078a8:	e12fff3a 	blx	sl                                            
a00078ac:	e3a00000 	mov	r0, #0                                        
a00078b0:	eaffff05 	b	a00074cc <_Heap_Walk+0x4c>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
a00078b4:	e21b9001 	ands	r9, fp, #1                                   
a00078b8:	0a000016 	beq	a0007918 <_Heap_Walk+0x498>                   
a00078bc:	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 ) {                            
a00078c0:	e1530004 	cmp	r3, r4                                        
a00078c4:	1a000003 	bne	a00078d8 <_Heap_Walk+0x458>                   
a00078c8:	ea00000b 	b	a00078fc <_Heap_Walk+0x47c>                     <== NOT EXECUTED
    if ( free_block == block ) {                                      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
a00078cc:	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 ) {                            
a00078d0:	e1530004 	cmp	r3, r4                                        
a00078d4:	0a000008 	beq	a00078fc <_Heap_Walk+0x47c>                   
    if ( free_block == block ) {                                      
a00078d8:	e1530005 	cmp	r3, r5                                        
a00078dc:	1afffffa 	bne	a00078cc <_Heap_Walk+0x44c>                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a00078e0:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a00078e4:	e1520006 	cmp	r2, r6                                        
a00078e8:	0afffef6 	beq	a00074c8 <_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 ) {                            
a00078ec:	e5967004 	ldr	r7, [r6, #4]                                  
a00078f0:	e1a05006 	mov	r5, r6                                        
a00078f4:	e2076001 	and	r6, r7, #1                                    
a00078f8:	eaffff94 	b	a0007750 <_Heap_Walk+0x2d0>                     
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
a00078fc:	e1a00008 	mov	r0, r8                                        
a0007900:	e1a03005 	mov	r3, r5                                        
a0007904:	e3a01001 	mov	r1, #1                                        
a0007908:	e59f2154 	ldr	r2, [pc, #340]	; a0007a64 <_Heap_Walk+0x5e4>  
a000790c:	e12fff3a 	blx	sl                                            
a0007910:	e3a00000 	mov	r0, #0                                        
a0007914:	eafffeec 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
a0007918:	e1a00008 	mov	r0, r8                                        
a000791c:	e1a03005 	mov	r3, r5                                        
a0007920:	e3a01001 	mov	r1, #1                                        
a0007924:	e59f213c 	ldr	r2, [pc, #316]	; a0007a68 <_Heap_Walk+0x5e8>  
a0007928:	e12fff3a 	blx	sl                                            
a000792c:	e1a00009 	mov	r0, r9                                        
a0007930:	eafffee5 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
a0007934:	e1a00008 	mov	r0, r8                                        
a0007938:	e58d7000 	str	r7, [sp]                                      
a000793c:	e1a03005 	mov	r3, r5                                        
a0007940:	e3a01001 	mov	r1, #1                                        
a0007944:	e59f2120 	ldr	r2, [pc, #288]	; a0007a6c <_Heap_Walk+0x5ec>  
a0007948:	e12fff3a 	blx	sl                                            
a000794c:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
a0007950:	eafffedd 	b	a00074cc <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
      (*printer)(                                                     
a0007954:	e58d2004 	str	r2, [sp, #4]                                  
a0007958:	e1a00008 	mov	r0, r8                                        
a000795c:	e1a0b002 	mov	fp, r2                                        
a0007960:	e58d7000 	str	r7, [sp]                                      
a0007964:	e1a03005 	mov	r3, r5                                        
a0007968:	e3a01001 	mov	r1, #1                                        
a000796c:	e59f20fc 	ldr	r2, [pc, #252]	; a0007a70 <_Heap_Walk+0x5f0>  
a0007970:	e12fff3a 	blx	sl                                            
a0007974:	e1a00009 	mov	r0, r9                                        
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
a0007978:	eafffed3 	b	a00074cc <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
      (*printer)(                                                     
a000797c:	e1a00008 	mov	r0, r8                                        
a0007980:	e58d6000 	str	r6, [sp]                                      
a0007984:	e1a03005 	mov	r3, r5                                        
a0007988:	e3a01001 	mov	r1, #1                                        
a000798c:	e59f20e0 	ldr	r2, [pc, #224]	; a0007a74 <_Heap_Walk+0x5f4>  
a0007990:	e12fff3a 	blx	sl                                            
a0007994:	e1a00009 	mov	r0, r9                                        
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a0007998:	eafffecb 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
a000799c:	e1a00008 	mov	r0, r8                                        
a00079a0:	e3a01001 	mov	r1, #1                                        
a00079a4:	e59f20cc 	ldr	r2, [pc, #204]	; a0007a78 <_Heap_Walk+0x5f8>  
a00079a8:	e12fff3a 	blx	sl                                            
a00079ac:	e1a00009 	mov	r0, r9                                        
a00079b0:	eafffec5 	b	a00074cc <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
a00079b4:	e1a00008 	mov	r0, r8                                        
a00079b8:	e1a03009 	mov	r3, r9                                        
a00079bc:	e3a01001 	mov	r1, #1                                        
a00079c0:	e59f20b4 	ldr	r2, [pc, #180]	; a0007a7c <_Heap_Walk+0x5fc>  
a00079c4:	e12fff3a 	blx	sl                                            
a00079c8:	e3a00000 	mov	r0, #0                                        
a00079cc:	eafffebe 	b	a00074cc <_Heap_Walk+0x4c>                      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a00079d0:	e1a0c002 	mov	ip, r2                                        
      (*printer)(                                                     
a00079d4:	e1a00008 	mov	r0, r8                                        
a00079d8:	e58dc000 	str	ip, [sp]                                      
a00079dc:	e1a03009 	mov	r3, r9                                        
a00079e0:	e3a01001 	mov	r1, #1                                        
a00079e4:	e59f2094 	ldr	r2, [pc, #148]	; a0007a80 <_Heap_Walk+0x600>  
a00079e8:	e12fff3a 	blx	sl                                            
a00079ec:	e3a00000 	mov	r0, #0                                        
a00079f0:	eafffeb5 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
a00079f4:	e1a00008 	mov	r0, r8                                        
a00079f8:	e1a03009 	mov	r3, r9                                        
a00079fc:	e3a01001 	mov	r1, #1                                        
a0007a00:	e59f207c 	ldr	r2, [pc, #124]	; a0007a84 <_Heap_Walk+0x604>  
a0007a04:	e12fff3a 	blx	sl                                            
a0007a08:	e3a00000 	mov	r0, #0                                        
a0007a0c:	eafffeae 	b	a00074cc <_Heap_Walk+0x4c>                      
                                                                      

a0006968 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
a0006968:	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 )                           
a000696c:	e5908034 	ldr	r8, [r0, #52]	; 0x34                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a0006970:	e24dd014 	sub	sp, sp, #20                                   
a0006974:	e1a05000 	mov	r5, r0                                        
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a0006978:	e3580000 	cmp	r8, #0                                        
                                                                      
  /*                                                                  
   *  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 );      
a000697c:	e1d070b8 	ldrh	r7, [r0, #8]                                 
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a0006980:	0a00009d 	beq	a0006bfc <_Objects_Extend_information+0x294>  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
a0006984:	e1d091b4 	ldrh	r9, [r0, #20]                                
a0006988:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a000698c:	e1a01009 	mov	r1, r9                                        
a0006990:	e1a0000a 	mov	r0, sl                                        
a0006994:	eb0043d1 	bl	a00178e0 <__aeabi_uidiv>                       
a0006998:	e1a03800 	lsl	r3, r0, #16                                   
                                                                      
    for ( ; block < block_count; block++ ) {                          
a000699c:	e1b03823 	lsrs	r3, r3, #16                                  
a00069a0:	01a01009 	moveq	r1, r9                                      
a00069a4:	01a06007 	moveq	r6, r7                                      
a00069a8:	01a04003 	moveq	r4, r3                                      
a00069ac:	0a00000f 	beq	a00069f0 <_Objects_Extend_information+0x88>   
      if ( information->object_blocks[ block ] == NULL )              
a00069b0:	e5984000 	ldr	r4, [r8]                                      
a00069b4:	e3540000 	cmp	r4, #0                                        
a00069b8:	11a01009 	movne	r1, r9                                      
a00069bc:	11a06007 	movne	r6, r7                                      
a00069c0:	13a04000 	movne	r4, #0                                      
a00069c4:	01a01009 	moveq	r1, r9                                      
a00069c8:	01a06007 	moveq	r6, r7                                      
a00069cc:	1a000003 	bne	a00069e0 <_Objects_Extend_information+0x78>   
a00069d0:	ea000006 	b	a00069f0 <_Objects_Extend_information+0x88>     <== NOT EXECUTED
a00069d4:	e7982104 	ldr	r2, [r8, r4, lsl #2]                          
a00069d8:	e3520000 	cmp	r2, #0                                        
a00069dc:	0a000003 	beq	a00069f0 <_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++ ) {                          
a00069e0:	e2844001 	add	r4, r4, #1                                    
a00069e4:	e1530004 	cmp	r3, r4                                        
      if ( information->object_blocks[ block ] == NULL )              
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
a00069e8:	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++ ) {                          
a00069ec:	8afffff8 	bhi	a00069d4 <_Objects_Extend_information+0x6c>   
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
a00069f0:	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 ) {                           
a00069f4:	e35a0801 	cmp	sl, #65536	; 0x10000                          
a00069f8:	2a000065 	bcs	a0006b94 <_Objects_Extend_information+0x22c>  
  /*                                                                  
   * 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 ) {                                   
a00069fc:	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;      
a0006a00:	e5952018 	ldr	r2, [r5, #24]                                 
  if ( information->auto_extend ) {                                   
a0006a04:	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;      
a0006a08:	e0000192 	mul	r0, r2, r1                                    
  if ( information->auto_extend ) {                                   
a0006a0c:	1a000062 	bne	a0006b9c <_Objects_Extend_information+0x234>  
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
a0006a10:	e58d3000 	str	r3, [sp]                                      
a0006a14:	eb00081d 	bl	a0008a90 <_Workspace_Allocate_or_fatal_error>  
a0006a18:	e59d3000 	ldr	r3, [sp]                                      
a0006a1c:	e1a09000 	mov	r9, r0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
a0006a20:	e1d521b0 	ldrh	r2, [r5, #16]                                
a0006a24:	e1560002 	cmp	r6, r2                                        
a0006a28:	3a000039 	bcc	a0006b14 <_Objects_Extend_information+0x1ac>  
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
a0006a2c:	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 );       
a0006a30:	e08c008c 	add	r0, ip, ip, lsl #1                            
a0006a34:	e08a0000 	add	r0, sl, r0                                    
a0006a38:	e0800007 	add	r0, r0, r7                                    
a0006a3c:	e1a00100 	lsl	r0, r0, #2                                    
a0006a40:	e88d1008 	stm	sp, {r3, ip}                                  
a0006a44:	eb00081d 	bl	a0008ac0 <_Workspace_Allocate>                 
                                                                      
    if ( !object_blocks ) {                                           
a0006a48:	e250b000 	subs	fp, r0, #0                                   
a0006a4c:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006a50:	0a00006f 	beq	a0006c14 <_Objects_Extend_information+0x2ac>  
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
a0006a54:	e1d521b0 	ldrh	r2, [r5, #16]                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
a0006a58:	e08b818c 	add	r8, fp, ip, lsl #3                            
a0006a5c:	e08bc10c 	add	ip, fp, ip, lsl #2                            
a0006a60:	e1570002 	cmp	r7, r2                                        
a0006a64:	3a000052 	bcc	a0006bb4 <_Objects_Extend_information+0x24c>  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a0006a68:	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,                                            
a0006a6c:	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;                                  
a0006a70:	11a01002 	movne	r1, r2                                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a0006a74:	0a000003 	beq	a0006a88 <_Objects_Extend_information+0x120>  
        local_table[ index ] = NULL;                                  
a0006a78:	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++ ) {             
a0006a7c:	e2822001 	add	r2, r2, #1                                    
a0006a80:	e1570002 	cmp	r7, r2                                        
a0006a84:	8afffffb 	bhi	a0006a78 <_Objects_Extend_information+0x110>  
a0006a88:	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 );      
a0006a8c:	e1d511b4 	ldrh	r1, [r5, #20]                                
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a0006a90:	e3a00000 	mov	r0, #0                                        
    inactive_per_block[block_count] = 0;                              
a0006a94:	e78c0003 	str	r0, [ip, r3]                                  
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a0006a98:	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 ;                                          
a0006a9c:	e1560001 	cmp	r6, r1                                        
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a0006aa0:	e78b0003 	str	r0, [fp, r3]                                  
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006aa4:	2a000005 	bcs	a0006ac0 <_Objects_Extend_information+0x158>  
a0006aa8:	e0882106 	add	r2, r8, r6, lsl #2                            
a0006aac:	e1a03006 	mov	r3, r6                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
a0006ab0:	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 ;                                          
a0006ab4:	e1510003 	cmp	r1, r3                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
a0006ab8:	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 ;                                          
a0006abc:	8afffffb 	bhi	a0006ab0 <_Objects_Extend_information+0x148>  
a0006ac0:	e10f3000 	mrs	r3, CPSR                                      
a0006ac4:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0006ac8:	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(                      
a0006acc:	e5952000 	ldr	r2, [r5]                                      
a0006ad0:	e1d510b4 	ldrh	r1, [r5, #4]                                 
    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;                 
a0006ad4:	e1a0a80a 	lsl	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
a0006ad8:	e1a02c02 	lsl	r2, r2, #24                                   
a0006adc:	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;                 
a0006ae0:	e1a0a82a 	lsr	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
a0006ae4:	e1822d81 	orr	r2, r2, r1, lsl #27                           
a0006ae8:	e182200a 	orr	r2, r2, sl                                    
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
a0006aec:	e5950034 	ldr	r0, [r5, #52]	; 0x34                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
a0006af0:	e585c030 	str	ip, [r5, #48]	; 0x30                          
    information->local_table = local_table;                           
a0006af4:	e585801c 	str	r8, [r5, #28]                                 
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
a0006af8:	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;                 
a0006afc:	e1c5a1b0 	strh	sl, [r5, #16]                                
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
a0006b00:	e585b034 	str	fp, [r5, #52]	; 0x34                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006b04:	e129f003 	msr	CPSR_fc, r3                                   
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
a0006b08:	e3500000 	cmp	r0, #0                                        
a0006b0c:	0a000000 	beq	a0006b14 <_Objects_Extend_information+0x1ac>  
      _Workspace_Free( old_tables );                                  
a0006b10:	eb0007f0 	bl	a0008ad8 <_Workspace_Free>                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b14:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a0006b18:	e28d7008 	add	r7, sp, #8                                    
a0006b1c:	e1a01009 	mov	r1, r9                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b20:	e7839104 	str	r9, [r3, r4, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a0006b24:	e1a00007 	mov	r0, r7                                        
a0006b28:	e1d521b4 	ldrh	r2, [r5, #20]                                
a0006b2c:	e5953018 	ldr	r3, [r5, #24]                                 
a0006b30:	eb001335 	bl	a000b80c <_Chain_Initialize>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006b34:	e1a04104 	lsl	r4, r4, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006b38:	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 ) {
a0006b3c:	ea000008 	b	a0006b64 <_Objects_Extend_information+0x1fc>    
                                                                      
    the_object->id = _Objects_Build_id(                               
a0006b40:	e5952000 	ldr	r2, [r5]                                      
a0006b44:	e1d5c0b4 	ldrh	ip, [r5, #4]                                 
a0006b48:	e1a02c02 	lsl	r2, r2, #24                                   
a0006b4c:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
a0006b50:	e1822d8c 	orr	r2, r2, ip, lsl #27                           
a0006b54:	e1822006 	orr	r2, r2, r6                                    
a0006b58:	e5832008 	str	r2, [r3, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006b5c:	ebfffcf0 	bl	a0005f24 <_Chain_Append>                       
                                                                      
    index++;                                                          
a0006b60:	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 ) {
a0006b64:	e1a00007 	mov	r0, r7                                        
a0006b68:	ebfffd01 	bl	a0005f74 <_Chain_Get>                          
a0006b6c:	e2503000 	subs	r3, r0, #0                                   
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a0006b70:	e1a01003 	mov	r1, r3                                        
a0006b74:	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 ) {
a0006b78:	1afffff0 	bne	a0006b40 <_Objects_Extend_information+0x1d8>  
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006b7c:	e1d531b4 	ldrh	r3, [r5, #20]                                
  information->inactive =                                             
a0006b80:	e1d522bc 	ldrh	r2, [r5, #44]	; 0x2c                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006b84:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  information->inactive =                                             
a0006b88:	e0832002 	add	r2, r3, r2                                    
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006b8c:	e7813004 	str	r3, [r1, r4]                                  
  information->inactive =                                             
a0006b90:	e1c522bc 	strh	r2, [r5, #44]	; 0x2c                         
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
a0006b94:	e28dd014 	add	sp, sp, #20                                   
a0006b98:	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 );             
a0006b9c:	e58d3000 	str	r3, [sp]                                      
a0006ba0:	eb0007c6 	bl	a0008ac0 <_Workspace_Allocate>                 
    if ( !new_object_block )                                          
a0006ba4:	e2509000 	subs	r9, r0, #0                                   
a0006ba8:	e59d3000 	ldr	r3, [sp]                                      
a0006bac:	1affff9b 	bne	a0006a20 <_Objects_Extend_information+0xb8>   
a0006bb0:	eafffff7 	b	a0006b94 <_Objects_Extend_information+0x22c>    
      /*                                                              
       *  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,                                          
a0006bb4:	e1a03103 	lsl	r3, r3, #2                                    
a0006bb8:	e1a02003 	mov	r2, r3                                        
a0006bbc:	e5951034 	ldr	r1, [r5, #52]	; 0x34                          
a0006bc0:	e88d1008 	stm	sp, {r3, ip}                                  
a0006bc4:	eb001fc9 	bl	a000eaf0 <memcpy>                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
a0006bc8:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006bcc:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
a0006bd0:	e1a0000c 	mov	r0, ip                                        
a0006bd4:	e1a02003 	mov	r2, r3                                        
a0006bd8:	eb001fc4 	bl	a000eaf0 <memcpy>                              
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
a0006bdc:	e1d521b0 	ldrh	r2, [r5, #16]                                
a0006be0:	e1a00008 	mov	r0, r8                                        
a0006be4:	e595101c 	ldr	r1, [r5, #28]                                 
a0006be8:	e0872002 	add	r2, r7, r2                                    
a0006bec:	e1a02102 	lsl	r2, r2, #2                                    
a0006bf0:	eb001fbe 	bl	a000eaf0 <memcpy>                              
a0006bf4:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006bf8:	eaffffa3 	b	a0006a8c <_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 )                           
a0006bfc:	e1a04008 	mov	r4, r8                                        
a0006c00:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a0006c04:	e1d011b4 	ldrh	r1, [r0, #20]                                
a0006c08:	e1a06007 	mov	r6, r7                                        
a0006c0c:	e1a03008 	mov	r3, r8                                        
a0006c10:	eaffff76 	b	a00069f0 <_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 );                            
a0006c14:	e1a00009 	mov	r0, r9                                        
a0006c18:	eb0007ae 	bl	a0008ad8 <_Workspace_Free>                     
      return;                                                         
a0006c1c:	eaffffdc 	b	a0006b94 <_Objects_Extend_information+0x22c>    
                                                                      

a0007794 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
a0007794:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
a0007798:	e3a05000 	mov	r5, #0                                        
a000779c:	e5815100 	str	r5, [r1, #256]	; 0x100                        
a00077a0:	e5815104 	str	r5, [r1, #260]	; 0x104                        
a00077a4:	e5815108 	str	r5, [r1, #264]	; 0x108                        
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
a00077a8:	e58150fc 	str	r5, [r1, #252]	; 0xfc                         
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a00077ac:	e1a04001 	mov	r4, r1                                        
a00077b0:	e1a08000 	mov	r8, r0                                        
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
a00077b4:	e1a00001 	mov	r0, r1                                        
a00077b8:	e1a01003 	mov	r1, r3                                        
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a00077bc:	e1a06003 	mov	r6, r3                                        
a00077c0:	e59d7024 	ldr	r7, [sp, #36]	; 0x24                          
a00077c4:	e5dda028 	ldrb	sl, [sp, #40]	; 0x28                         
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
a00077c8:	eb000286 	bl	a00081e8 <_Thread_Stack_Allocate>              
    if ( !actual_stack_size || actual_stack_size < stack_size )       
a00077cc:	e1500005 	cmp	r0, r5                                        
a00077d0:	13a03000 	movne	r3, #0                                      
a00077d4:	03a03001 	moveq	r3, #1                                      
a00077d8:	e1560000 	cmp	r6, r0                                        
a00077dc:	91a06003 	movls	r6, r3                                      
a00077e0:	83836001 	orrhi	r6, r3, #1                                  
a00077e4:	e1560005 	cmp	r6, r5                                        
a00077e8:	1a00003f 	bne	a00078ec <_Thread_Initialize+0x158>           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a00077ec:	e59f5148 	ldr	r5, [pc, #328]	; a000793c <_Thread_Initialize+0x1a8>
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  the_stack->size = size;                                             
a00077f0:	e58400c0 	str	r0, [r4, #192]	; 0xc0                         
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
a00077f4:	e59430c8 	ldr	r3, [r4, #200]	; 0xc8                         
a00077f8:	e5959000 	ldr	r9, [r5]                                      
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a00077fc:	e5846050 	str	r6, [r4, #80]	; 0x50                          
a0007800:	e58430c4 	str	r3, [r4, #196]	; 0xc4                         
a0007804:	e3590000 	cmp	r9, #0                                        
  the_watchdog->routine   = routine;                                  
a0007808:	e5846064 	str	r6, [r4, #100]	; 0x64                         
  the_watchdog->id        = id;                                       
a000780c:	e5846068 	str	r6, [r4, #104]	; 0x68                         
  the_watchdog->user_data = user_data;                                
a0007810:	e584606c 	str	r6, [r4, #108]	; 0x6c                         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a0007814:	0584910c 	streq	r9, [r4, #268]	; 0x10c                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a0007818:	1a000035 	bne	a00078f4 <_Thread_Initialize+0x160>           
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
a000781c:	e59d302c 	ldr	r3, [sp, #44]	; 0x2c                          
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
a0007820:	e3a06000 	mov	r6, #0                                        
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a0007824:	e3a05001 	mov	r5, #1                                        
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
a0007828:	e58430b0 	str	r3, [r4, #176]	; 0xb0                         
  the_thread->Start.budget_callout   = budget_callout;                
a000782c:	e59d3030 	ldr	r3, [sp, #48]	; 0x30                          
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
a0007830:	e1a01007 	mov	r1, r7                                        
a0007834:	e1a00004 	mov	r0, r4                                        
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
a0007838:	e58430b4 	str	r3, [r4, #180]	; 0xb4                         
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a000783c:	e59d3034 	ldr	r3, [sp, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
a0007840:	e5c4a0ac 	strb	sl, [r4, #172]	; 0xac                        
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a0007844:	e5845010 	str	r5, [r4, #16]                                 
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a0007848:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
a000784c:	e5846044 	str	r6, [r4, #68]	; 0x44                          
  the_thread->resource_count          = 0;                            
a0007850:	e584601c 	str	r6, [r4, #28]                                 
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
a0007854:	e5847018 	str	r7, [r4, #24]                                 
  the_thread->Start.initial_priority  = priority;                     
a0007858:	e58470bc 	str	r7, [r4, #188]	; 0xbc                         
  _Thread_Set_priority( the_thread, priority );                       
a000785c:	eb0001c5 	bl	a0007f78 <_Thread_Set_priority>                
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
a0007860:	e5846088 	str	r6, [r4, #136]	; 0x88                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0007864:	e59d1038 	ldr	r1, [sp, #56]	; 0x38                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0007868:	e598301c 	ldr	r3, [r8, #28]                                 
a000786c:	e1d420b8 	ldrh	r2, [r4, #8]                                 
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0007870:	e584100c 	str	r1, [r4, #12]                                 
a0007874:	e5846084 	str	r6, [r4, #132]	; 0x84                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0007878:	e7834102 	str	r4, [r3, r2, lsl #2]                          
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
a000787c:	e1a00004 	mov	r0, r4                                        
a0007880:	eb000378 	bl	a0008668 <_User_extensions_Thread_create>      
  if ( extension_status )                                             
a0007884:	e1500006 	cmp	r0, r6                                        
a0007888:	1a000017 	bne	a00078ec <_Thread_Initialize+0x158>           
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
a000788c:	e59400fc 	ldr	r0, [r4, #252]	; 0xfc                         
a0007890:	e3500000 	cmp	r0, #0                                        
a0007894:	0a000000 	beq	a000789c <_Thread_Initialize+0x108>           
    _Workspace_Free( the_thread->libc_reent );                        
a0007898:	eb00048e 	bl	a0008ad8 <_Workspace_Free>                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000789c:	e5940100 	ldr	r0, [r4, #256]	; 0x100                        
a00078a0:	e3500000 	cmp	r0, #0                                        
a00078a4:	0a000000 	beq	a00078ac <_Thread_Initialize+0x118>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a00078a8:	eb00048a 	bl	a0008ad8 <_Workspace_Free>                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a00078ac:	e5940104 	ldr	r0, [r4, #260]	; 0x104                        
a00078b0:	e3500000 	cmp	r0, #0                                        
a00078b4:	0a000000 	beq	a00078bc <_Thread_Initialize+0x128>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a00078b8:	eb000486 	bl	a0008ad8 <_Workspace_Free>                     <== NOT EXECUTED
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a00078bc:	e5940108 	ldr	r0, [r4, #264]	; 0x108                        
a00078c0:	e3500000 	cmp	r0, #0                                        
a00078c4:	0a000000 	beq	a00078cc <_Thread_Initialize+0x138>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a00078c8:	eb000482 	bl	a0008ad8 <_Workspace_Free>                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
a00078cc:	e3590000 	cmp	r9, #0                                        
a00078d0:	0a000001 	beq	a00078dc <_Thread_Initialize+0x148>           
    (void) _Workspace_Free( extensions_area );                        
a00078d4:	e1a00009 	mov	r0, r9                                        
a00078d8:	eb00047e 	bl	a0008ad8 <_Workspace_Free>                     
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
      (void) _Workspace_Free( fp_area );                              
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
a00078dc:	e1a00004 	mov	r0, r4                                        
a00078e0:	eb00025d 	bl	a000825c <_Thread_Stack_Free>                  
a00078e4:	e3a00000 	mov	r0, #0                                        
  return false;                                                       
                                                                      
                                                                      
}                                                                     
a00078e8:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
a00078ec:	e1a00005 	mov	r0, r5                                        
a00078f0:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
a00078f4:	e2899001 	add	r9, r9, #1                                    
a00078f8:	e1a00109 	lsl	r0, r9, #2                                    
a00078fc:	eb00046f 	bl	a0008ac0 <_Workspace_Allocate>                 
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
a0007900:	e2509000 	subs	r9, r0, #0                                   
a0007904:	0affffe0 	beq	a000788c <_Thread_Initialize+0xf8>            
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a0007908:	e5950000 	ldr	r0, [r5]                                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a000790c:	e584910c 	str	r9, [r4, #268]	; 0x10c                        
a0007910:	e1a02009 	mov	r2, r9                                        
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a0007914:	e1a03006 	mov	r3, r6                                        
      the_thread->extensions[i] = NULL;                               
a0007918:	e1a01006 	mov	r1, r6                                        
a000791c:	ea000000 	b	a0007924 <_Thread_Initialize+0x190>             
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a0007920:	e594210c 	ldr	r2, [r4, #268]	; 0x10c                        
a0007924:	e2833001 	add	r3, r3, #1                                    
a0007928:	e1500003 	cmp	r0, r3                                        
      the_thread->extensions[i] = NULL;                               
a000792c:	e7821106 	str	r1, [r2, r6, lsl #2]                          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a0007930:	e1a06003 	mov	r6, r3                                        
a0007934:	2afffff9 	bcs	a0007920 <_Thread_Initialize+0x18c>           
a0007938:	eaffffb7 	b	a000781c <_Thread_Initialize+0x88>              
                                                                      

a0007c64 <_Thread_queue_Enqueue_priority>: Priority_Control priority; States_Control block_state; _Chain_Initialize_empty( &the_thread->Wait.Block2n ); priority = the_thread->current_priority;
a0007c64:	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                                       
)                                                                     
{                                                                     
a0007c68:	e92d05f0 	push	{r4, r5, r6, r7, r8, sl}                     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0007c6c:	e281503c 	add	r5, r1, #60	; 0x3c                            
a0007c70:	e5815038 	str	r5, [r1, #56]	; 0x38                          
  the_chain->permanent_null = NULL;                                   
a0007c74:	e3a05000 	mov	r5, #0                                        
  the_chain->last           = _Chain_Head(the_chain);                 
a0007c78:	e281c038 	add	ip, r1, #56	; 0x38                            
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a0007c7c:	e3130020 	tst	r3, #32                                       
                                                                      
  _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 ];  
a0007c80:	e1a04323 	lsr	r4, r3, #6                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a0007c84:	e581503c 	str	r5, [r1, #60]	; 0x3c                          
a0007c88:	e3a0500c 	mov	r5, #12                                       
  the_chain->last           = _Chain_Head(the_chain);                 
a0007c8c:	e581c040 	str	ip, [r1, #64]	; 0x40                          
  block_state  = the_thread_queue->state;                             
a0007c90:	e5906038 	ldr	r6, [r0, #56]	; 0x38                          
                                                                      
  _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 ];  
a0007c94:	e02c0495 	mla	ip, r5, r4, r0                                
a0007c98:	159fa17c 	ldrne	sl, [pc, #380]	; a0007e1c <_Thread_queue_Enqueue_priority+0x1b8>
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a0007c9c:	1a00001c 	bne	a0007d14 <_Thread_queue_Enqueue_priority+0xb0>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0007ca0:	e28ca004 	add	sl, ip, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007ca4:	e10f8000 	mrs	r8, CPSR                                      
a0007ca8:	e3884080 	orr	r4, r8, #128	; 0x80                           
a0007cac:	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;                   
a0007cb0:	e59c4000 	ldr	r4, [ip]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a0007cb4:	e154000a 	cmp	r4, sl                                        
a0007cb8:	1a000009 	bne	a0007ce4 <_Thread_queue_Enqueue_priority+0x80>
a0007cbc:	ea000053 	b	a0007e10 <_Thread_queue_Enqueue_priority+0x1ac> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0007cc0:	e10f7000 	mrs	r7, CPSR                                      
a0007cc4:	e129f008 	msr	CPSR_fc, r8                                   
a0007cc8:	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) ) {
a0007ccc:	e5947010 	ldr	r7, [r4, #16]                                 
a0007cd0:	e1160007 	tst	r6, r7                                        
a0007cd4:	0a000034 	beq	a0007dac <_Thread_queue_Enqueue_priority+0x148>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
a0007cd8:	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 ) ) {  
a0007cdc:	e154000a 	cmp	r4, sl                                        
a0007ce0:	0a000002 	beq	a0007cf0 <_Thread_queue_Enqueue_priority+0x8c>
    search_priority = search_thread->current_priority;                
a0007ce4:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority <= search_priority )                                
a0007ce8:	e1530005 	cmp	r3, r5                                        
a0007cec:	8afffff3 	bhi	a0007cc0 <_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 ) ) {  
a0007cf0:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007cf4:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
a0007cf8:	e35c0001 	cmp	ip, #1                                        
a0007cfc:	0a00002c 	beq	a0007db4 <_Thread_queue_Enqueue_priority+0x150>
   *  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;                                                   
a0007d00:	e5826000 	str	r6, [r2]                                      
  return the_thread_queue->sync_state;                                
a0007d04:	e1a0000c 	mov	r0, ip                                        
}                                                                     
a0007d08:	e8bd05f0 	pop	{r4, r5, r6, r7, r8, sl}                      
a0007d0c:	e12fff1e 	bx	lr                                             
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007d10:	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;                         
a0007d14:	e5da5000 	ldrb	r5, [sl]                                     
a0007d18:	e2855001 	add	r5, r5, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007d1c:	e10f8000 	mrs	r8, CPSR                                      
a0007d20:	e3884080 	orr	r4, r8, #128	; 0x80                           
a0007d24:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
a0007d28:	e59c4008 	ldr	r4, [ip, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a0007d2c:	e154000c 	cmp	r4, ip                                        
a0007d30:	1a000009 	bne	a0007d5c <_Thread_queue_Enqueue_priority+0xf8>
a0007d34:	ea00000b 	b	a0007d68 <_Thread_queue_Enqueue_priority+0x104> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0007d38:	e10f7000 	mrs	r7, CPSR                                      
a0007d3c:	e129f008 	msr	CPSR_fc, r8                                   
a0007d40:	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) ) {
a0007d44:	e5947010 	ldr	r7, [r4, #16]                                 
a0007d48:	e1160007 	tst	r6, r7                                        
a0007d4c:	0affffef 	beq	a0007d10 <_Thread_queue_Enqueue_priority+0xac>
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
a0007d50:	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 ) ) {  
a0007d54:	e154000c 	cmp	r4, ip                                        
a0007d58:	0a000002 	beq	a0007d68 <_Thread_queue_Enqueue_priority+0x104>
    search_priority = search_thread->current_priority;                
a0007d5c:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority >= search_priority )                                
a0007d60:	e1530005 	cmp	r3, r5                                        
a0007d64:	3afffff3 	bcc	a0007d38 <_Thread_queue_Enqueue_priority+0xd4>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007d68:	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 ) ) {  
a0007d6c:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007d70:	e35c0001 	cmp	ip, #1                                        
a0007d74:	1affffe1 	bne	a0007d00 <_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 )                                  
a0007d78:	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;
a0007d7c:	e3a03000 	mov	r3, #0                                        
a0007d80:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0007d84:	0a000017 	beq	a0007de8 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
a0007d88:	e5943000 	ldr	r3, [r4]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
a0007d8c:	e5814004 	str	r4, [r1, #4]                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007d90:	e5810044 	str	r0, [r1, #68]	; 0x44                          
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
a0007d94:	e5813000 	str	r3, [r1]                                      
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
a0007d98:	e5831004 	str	r1, [r3, #4]                                  
  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;                                 
a0007d9c:	e5841000 	str	r1, [r4]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007da0:	e129f008 	msr	CPSR_fc, r8                                   
a0007da4:	e3a00001 	mov	r0, #1                                        
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007da8:	eaffffd6 	b	a0007d08 <_Thread_queue_Enqueue_priority+0xa4>  
a0007dac:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a0007db0:	eaffffbb 	b	a0007ca4 <_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 )                                  
a0007db4:	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;
a0007db8:	e3a03000 	mov	r3, #0                                        
a0007dbc:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a0007dc0:	0a000008 	beq	a0007de8 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
a0007dc4:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0007dc8:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007dcc:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
a0007dd0:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0007dd4:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0007dd8:	e5841004 	str	r1, [r4, #4]                                  
a0007ddc:	e129f008 	msr	CPSR_fc, r8                                   
a0007de0:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007de4:	eaffffc7 	b	a0007d08 <_Thread_queue_Enqueue_priority+0xa4>  
a0007de8:	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;                              
a0007dec:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a0007df0:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007df4:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
a0007df8:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a0007dfc:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a0007e00:	e5841004 	str	r1, [r4, #4]                                  
a0007e04:	e129f006 	msr	CPSR_fc, r6                                   
a0007e08:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007e0c:	eaffffbd 	b	a0007d08 <_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 ) ) {  
a0007e10:	e1a06008 	mov	r6, r8                                        
a0007e14:	e3e05000 	mvn	r5, #0                                        
a0007e18:	eaffffb5 	b	a0007cf4 <_Thread_queue_Enqueue_priority+0x90>  
                                                                      

a0016830 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
a0016830:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0016834:	e24dd024 	sub	sp, sp, #36	; 0x24                            
a0016838:	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;                                   
a001683c:	e3a03000 	mov	r3, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0016840:	e28d0018 	add	r0, sp, #24                                   
a0016844:	e28d700c 	add	r7, sp, #12                                   
a0016848:	e59f91c8 	ldr	r9, [pc, #456]	; a0016a18 <_Timer_server_Body+0x1e8>
a001684c:	e59fb1c8 	ldr	fp, [pc, #456]	; a0016a1c <_Timer_server_Body+0x1ec>
a0016850:	e280a004 	add	sl, r0, #4                                    
a0016854:	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;                                   
a0016858:	e58d301c 	str	r3, [sp, #28]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
a001685c:	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;                                   
a0016860:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0016864:	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 );        
a0016868:	e2843008 	add	r3, r4, #8                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a001686c:	e58d2000 	str	r2, [sp]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0016870:	e58da018 	str	sl, [sp, #24]                                 
a0016874:	e58d200c 	str	r2, [sp, #12]                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a0016878:	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 );  
a001687c:	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 );
a0016880:	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 );        
a0016884:	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;                                    
a0016888:	e28d2018 	add	r2, sp, #24                                   
a001688c:	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;            
a0016890:	e5993000 	ldr	r3, [r9]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
a0016894:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a0016898:	e1a00006 	mov	r0, r6                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a001689c:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a00168a0:	e0611003 	rsb	r1, r1, r3                                    
a00168a4:	e1a02007 	mov	r2, r7                                        
a00168a8:	eb0010c0 	bl	a001abb0 <_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();
a00168ac:	e59b5000 	ldr	r5, [fp]                                      
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
a00168b0:	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 ) {                                   
a00168b4:	e1550001 	cmp	r5, r1                                        
a00168b8:	8a000022 	bhi	a0016948 <_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 ) {                            
a00168bc:	3a000018 	bcc	a0016924 <_Timer_server_Body+0xf4>            
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a00168c0:	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 );
a00168c4:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a00168c8:	eb000253 	bl	a001721c <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a00168cc:	e3500000 	cmp	r0, #0                                        
a00168d0:	0a00000b 	beq	a0016904 <_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 ) {                 
a00168d4:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a00168d8:	e3530001 	cmp	r3, #1                                        
a00168dc:	0a000015 	beq	a0016938 <_Timer_server_Body+0x108>           
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a00168e0:	e3530003 	cmp	r3, #3                                        
a00168e4:	1afffff6 	bne	a00168c4 <_Timer_server_Body+0x94>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a00168e8:	e2801010 	add	r1, r0, #16                                   
a00168ec:	e1a00008 	mov	r0, r8                                        
a00168f0:	eb0010dd 	bl	a001ac6c <_Watchdog_Insert>                    
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a00168f4:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a00168f8:	eb000247 	bl	a001721c <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a00168fc:	e3500000 	cmp	r0, #0                                        
a0016900:	1afffff3 	bne	a00168d4 <_Timer_server_Body+0xa4>            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0016904:	e10f2000 	mrs	r2, CPSR                                      
a0016908:	e3823080 	orr	r3, r2, #128	; 0x80                           
a001690c:	e129f003 	msr	CPSR_fc, r3                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
a0016910:	e59d3018 	ldr	r3, [sp, #24]                                 
a0016914:	e15a0003 	cmp	sl, r3                                        
a0016918:	0a00000f 	beq	a001695c <_Timer_server_Body+0x12c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a001691c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
a0016920:	eaffffda 	b	a0016890 <_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 ); 
a0016924:	e0652001 	rsb	r2, r5, r1                                    
a0016928:	e1a00008 	mov	r0, r8                                        
a001692c:	e3a01001 	mov	r1, #1                                        
a0016930:	eb00106f 	bl	a001aaf4 <_Watchdog_Adjust>                    
a0016934:	eaffffe1 	b	a00168c0 <_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 );
a0016938:	e2801010 	add	r1, r0, #16                                   
a001693c:	e1a00006 	mov	r0, r6                                        
a0016940:	eb0010c9 	bl	a001ac6c <_Watchdog_Insert>                    
a0016944:	eaffffde 	b	a00168c4 <_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 );
a0016948:	e0611005 	rsb	r1, r1, r5                                    
a001694c:	e1a00008 	mov	r0, r8                                        
a0016950:	e1a02007 	mov	r2, r7                                        
a0016954:	eb001095 	bl	a001abb0 <_Watchdog_Adjust_to_chain>           
a0016958:	eaffffd8 	b	a00168c0 <_Timer_server_Body+0x90>              
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
a001695c:	e5840078 	str	r0, [r4, #120]	; 0x78                         
a0016960:	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 ) ) {                          
a0016964:	e59d300c 	ldr	r3, [sp, #12]                                 
a0016968:	e59d0000 	ldr	r0, [sp]                                      
a001696c:	e1500003 	cmp	r0, r3                                        
a0016970:	159d5000 	ldrne	r5, [sp]                                    
a0016974:	1a00000a 	bne	a00169a4 <_Timer_server_Body+0x174>           
a0016978:	ea000011 	b	a00169c4 <_Timer_server_Body+0x194>             
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
a001697c:	e5923000 	ldr	r3, [r2]                                      
         *  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;                        
a0016980:	e3a00000 	mov	r0, #0                                        
a0016984:	e5820008 	str	r0, [r2, #8]                                  
  the_chain->first    = new_first;                                    
a0016988:	e58d300c 	str	r3, [sp, #12]                                 
  new_first->previous = _Chain_Head(the_chain);                       
a001698c:	e5837004 	str	r7, [r3, #4]                                  
a0016990:	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 );    
a0016994:	e5921024 	ldr	r1, [r2, #36]	; 0x24                          
a0016998:	e592301c 	ldr	r3, [r2, #28]                                 
a001699c:	e5920020 	ldr	r0, [r2, #32]                                 
a00169a0:	e12fff33 	blx	r3                                            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00169a4:	e10f1000 	mrs	r1, CPSR                                      
a00169a8:	e3813080 	orr	r3, r1, #128	; 0x80                           
a00169ac:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a00169b0:	e59d200c 	ldr	r2, [sp, #12]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
a00169b4:	e1550002 	cmp	r5, r2                                        
a00169b8:	1affffef 	bne	a001697c <_Timer_server_Body+0x14c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00169bc:	e129f001 	msr	CPSR_fc, r1                                   
a00169c0:	eaffffb0 	b	a0016888 <_Timer_server_Body+0x58>              
a00169c4:	e59f0054 	ldr	r0, [pc, #84]	; a0016a20 <_Timer_server_Body+0x1f0>
      }                                                               
    } else {                                                          
      ts->active = false;                                             
a00169c8:	e3a02000 	mov	r2, #0                                        
a00169cc:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
a00169d0:	e5903000 	ldr	r3, [r0]                                      
a00169d4:	e2833001 	add	r3, r3, #1                                    
a00169d8:	e5803000 	str	r3, [r0]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
a00169dc:	e3a01008 	mov	r1, #8                                        
a00169e0:	e5940000 	ldr	r0, [r4]                                      
a00169e4:	eb000dd4 	bl	a001a13c <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
a00169e8:	e1a00004 	mov	r0, r4                                        
a00169ec:	ebffff63 	bl	a0016780 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
a00169f0:	e1a00004 	mov	r0, r4                                        
a00169f4:	ebffff77 	bl	a00167d8 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
a00169f8:	eb000b1f 	bl	a001967c <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
a00169fc:	e3a02001 	mov	r2, #1                                        
a0016a00:	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 );        
a0016a04:	e59d0008 	ldr	r0, [sp, #8]                                  
a0016a08:	eb001104 	bl	a001ae20 <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0016a0c:	e59d0004 	ldr	r0, [sp, #4]                                  
a0016a10:	eb001102 	bl	a001ae20 <_Watchdog_Remove>                    
a0016a14:	eaffff9b 	b	a0016888 <_Timer_server_Body+0x58>              
                                                                      

a000a6a0 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
a000a6a0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000a6a4:	e1a04000 	mov	r4, r0                                        
a000a6a8:	e1a05002 	mov	r5, r2                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000a6ac:	e10f3000 	mrs	r3, CPSR                                      
a000a6b0:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000a6b4:	e129f002 	msr	CPSR_fc, r2                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a000a6b8:	e1a07000 	mov	r7, r0                                        
a000a6bc:	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 ) ) {                                 
a000a6c0:	e1520007 	cmp	r2, r7                                        
a000a6c4:	0a000018 	beq	a000a72c <_Watchdog_Adjust+0x8c>              
    switch ( direction ) {                                            
a000a6c8:	e3510000 	cmp	r1, #0                                        
a000a6cc:	1a000018 	bne	a000a734 <_Watchdog_Adjust+0x94>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000a6d0:	e3550000 	cmp	r5, #0                                        
a000a6d4:	0a000014 	beq	a000a72c <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000a6d8:	e5926010 	ldr	r6, [r2, #16]                                 
a000a6dc:	e1550006 	cmp	r5, r6                                        
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000a6e0:	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 ) {  
a000a6e4:	2a000005 	bcs	a000a700 <_Watchdog_Adjust+0x60>              
a000a6e8:	ea000018 	b	a000a750 <_Watchdog_Adjust+0xb0>                <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000a6ec:	e0555006 	subs	r5, r5, r6                                   
a000a6f0:	0a00000d 	beq	a000a72c <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000a6f4:	e5926010 	ldr	r6, [r2, #16]                                 
a000a6f8:	e1560005 	cmp	r6, r5                                        
a000a6fc:	8a000013 	bhi	a000a750 <_Watchdog_Adjust+0xb0>              
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000a700:	e5828010 	str	r8, [r2, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000a704:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
a000a708:	e1a00004 	mov	r0, r4                                        
a000a70c:	eb0000aa 	bl	a000a9bc <_Watchdog_Tickle>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000a710:	e10f3000 	mrs	r3, CPSR                                      
a000a714:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000a718:	e129f002 	msr	CPSR_fc, r2                                   
a000a71c:	e5941000 	ldr	r1, [r4]                                      
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
a000a720:	e1570001 	cmp	r7, r1                                        
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
a000a724:	e1a02001 	mov	r2, r1                                        
a000a728:	1affffef 	bne	a000a6ec <_Watchdog_Adjust+0x4c>              
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000a72c:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000a730:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
a000a734:	e3510001 	cmp	r1, #1                                        
a000a738:	1afffffb 	bne	a000a72c <_Watchdog_Adjust+0x8c>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
a000a73c:	e5921010 	ldr	r1, [r2, #16]                                 
a000a740:	e0815005 	add	r5, r1, r5                                    
a000a744:	e5825010 	str	r5, [r2, #16]                                 
a000a748:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000a74c:	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;       
a000a750:	e0655006 	rsb	r5, r5, r6                                    
a000a754:	e5825010 	str	r5, [r2, #16]                                 
            break;                                                    
a000a758:	eafffff3 	b	a000a72c <_Watchdog_Adjust+0x8c>                
                                                                      

a0021ea0 <__kill>: #endif int __kill( pid_t pid, int sig ) { return 0; }
a0021ea0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0021ea4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0019bc0 <_exit>: /* * If the toolset uses init/fini sections, then we need to * run the global destructors now. */ #if defined(__USE_INIT_FINI__) FINI_SYMBOL();
a0019bc0:	e24dd004 	sub	sp, sp, #4                                    
a0019bc4:	e58d0000 	str	r0, [sp]                                      
a0019bc8:	eb0001f4 	bl	a001a3a0 <___DTOR_END__>                       
   *  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();                                                      
a0019bcc:	ebffffe0 	bl	a0019b54 <libc_wrapup>                         
  rtems_shutdown_executive(status);                                   
a0019bd0:	e59d0000 	ldr	r0, [sp]                                      
a0019bd4:	eb00003f 	bl	a0019cd8 <rtems_shutdown_executive>            
a0019bd8:	eafffffe 	b	a0019bd8 <_exit+0x18>                           <== NOT EXECUTED
                                                                      

a0002ab0 <_fcntl_r>: int fd, int cmd, int arg ) { return fcntl( fd, cmd, arg );
a0002ab0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0002ab4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0002ab8:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0002abc:	eaffff83 	b	a00028d0 <fcntl>                                <== NOT EXECUTED
                                                                      

a0021e80 <_getpid_r>: pid_t _getpid_r( struct _reent *ptr __attribute__((unused)) ) { return getpid(); }
a0021e80:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0021e84:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0002070 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) { return gettimeofday( tp, tzp );
a0002070:	eaffffe5 	b	a000200c <gettimeofday>                         <== NOT EXECUTED
                                                                      

a0021e98 <_kill_r>: #include <reent.h> int _kill_r( struct _reent *ptr, pid_t pid, int sig ) { return 0; }
a0021e98:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0021e9c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a00033ec <_link_r>: struct _reent *ptr __attribute__((unused)), const char *existing, const char *new ) { return link( existing, new );
a00033ec:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00033f0:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00033f4:	eaffff79 	b	a00031e0 <link>                                 <== NOT EXECUTED
                                                                      

a0019cbc <_realloc_r>: struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) { return realloc( ptr, size );
a0019cbc:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0019cc0:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0019cc4:	ea00000e 	b	a0019d04 <realloc>                              <== NOT EXECUTED
                                                                      

a000630c <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
a000630c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a0006310:	e1a00001 	mov	r0, r1                                        
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a0006314:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0006318:	e1a05001 	mov	r5, r1                                        
a000631c:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a0006320:	ebfff9f0 	bl	a0004ae8 <rtems_filesystem_dirname>            
                                                                      
  if ( old_parent_pathlen == 0 )                                      
a0006324:	e2507000 	subs	r7, r0, #0                                   
a0006328:	1a000088 	bne	a0006550 <_rename_r+0x244>                    
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a000632c:	e28d4018 	add	r4, sp, #24                                   
a0006330:	e1a00005 	mov	r0, r5                                        
a0006334:	e28d1044 	add	r1, sp, #68	; 0x44                            
a0006338:	e1a02004 	mov	r2, r4                                        
a000633c:	eb000199 	bl	a00069a8 <rtems_filesystem_get_start_loc>      
a0006340:	e1a08007 	mov	r8, r7                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0006344:	e28dc02c 	add	ip, sp, #44	; 0x2c                            
a0006348:	e1a0e004 	mov	lr, r4                                        
a000634c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006350:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006354:	e59e3000 	ldr	r3, [lr]                                      
  name = old + old_parent_pathlen;                                    
a0006358:	e0855007 	add	r5, r5, r7                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000635c:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0006360:	e58c3000 	str	r3, [ip]                                      
  name = old + old_parent_pathlen;                                    
a0006364:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0006368:	eb003b77 	bl	a001514c <strlen>                              
a000636c:	e1a01000 	mov	r1, r0                                        
a0006370:	e1a00005 	mov	r0, r5                                        
a0006374:	ebfff9c6 	bl	a0004a94 <rtems_filesystem_prefix_separators>  
a0006378:	e0855000 	add	r5, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000637c:	e1a00005 	mov	r0, r5                                        
   * 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 ) ); 
a0006380:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0006384:	eb003b70 	bl	a001514c <strlen>                              
a0006388:	e28d702c 	add	r7, sp, #44	; 0x2c                            
a000638c:	e3a0c000 	mov	ip, #0                                        
a0006390:	e1a01000 	mov	r1, r0                                        
a0006394:	e1a0200c 	mov	r2, ip                                        
a0006398:	e1a00005 	mov	r0, r5                                        
a000639c:	e1a03007 	mov	r3, r7                                        
a00063a0:	e58dc000 	str	ip, [sp]                                      
a00063a4:	ebfff9e0 	bl	a0004b2c <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
a00063a8:	e3500000 	cmp	r0, #0                                        
a00063ac:	1a000059 	bne	a0006518 <_rename_r+0x20c>                    
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a00063b0:	e28d5004 	add	r5, sp, #4                                    
a00063b4:	e1a00006 	mov	r0, r6                                        
a00063b8:	e28d1044 	add	r1, sp, #68	; 0x44                            
a00063bc:	e1a02005 	mov	r2, r5                                        
a00063c0:	eb000178 	bl	a00069a8 <rtems_filesystem_get_start_loc>      
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
a00063c4:	e59d3010 	ldr	r3, [sp, #16]                                 
a00063c8:	e5933004 	ldr	r3, [r3, #4]                                  
a00063cc:	e3530000 	cmp	r3, #0                                        
a00063d0:	0a00008b 	beq	a0006604 <_rename_r+0x2f8>                    
      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 );
a00063d4:	e59d0044 	ldr	r0, [sp, #68]	; 0x44                          
a00063d8:	e1a01005 	mov	r1, r5                                        
a00063dc:	e28d2040 	add	r2, sp, #64	; 0x40                            
a00063e0:	e0860000 	add	r0, r6, r0                                    
a00063e4:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a00063e8:	e3500000 	cmp	r0, #0                                        
a00063ec:	1a000063 	bne	a0006580 <_rename_r+0x274>                    
  /*                                                                  
   *  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 ) {         
a00063f0:	e59d3014 	ldr	r3, [sp, #20]                                 
a00063f4:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a00063f8:	e1520003 	cmp	r2, r3                                        
a00063fc:	1a000026 	bne	a000649c <_rename_r+0x190>                    
      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 ) {                              
a0006400:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006404:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          
a0006408:	e35c0000 	cmp	ip, #0                                        
a000640c:	0a000077 	beq	a00065f0 <_rename_r+0x2e4>                    
      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 );
a0006410:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          
a0006414:	e1a00004 	mov	r0, r4                                        
a0006418:	e1a01007 	mov	r1, r7                                        
a000641c:	e1a02005 	mov	r2, r5                                        
a0006420:	e12fff3c 	blx	ip                                            
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0006424:	e59d3010 	ldr	r3, [sp, #16]                                 
      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 );
a0006428:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a000642c:	e3530000 	cmp	r3, #0                                        
a0006430:	0a000004 	beq	a0006448 <_rename_r+0x13c>                    
a0006434:	e593301c 	ldr	r3, [r3, #28]                                 
a0006438:	e3530000 	cmp	r3, #0                                        
a000643c:	0a000001 	beq	a0006448 <_rename_r+0x13c>                    
a0006440:	e1a00005 	mov	r0, r5                                        
a0006444:	e12fff33 	blx	r3                                            
  if ( free_old_parentloc )                                           
a0006448:	e3580000 	cmp	r8, #0                                        
a000644c:	0a000007 	beq	a0006470 <_rename_r+0x164>                    
    rtems_filesystem_freenode( &old_parent_loc );                     
a0006450:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006454:	e3530000 	cmp	r3, #0                                        
a0006458:	0a000004 	beq	a0006470 <_rename_r+0x164>                    
a000645c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006460:	e3530000 	cmp	r3, #0                                        
a0006464:	0a000001 	beq	a0006470 <_rename_r+0x164>                    
a0006468:	e1a00004 	mov	r0, r4                                        
a000646c:	e12fff33 	blx	r3                                            
  rtems_filesystem_freenode( &old_loc );                              
a0006470:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006474:	e3530000 	cmp	r3, #0                                        
a0006478:	0a000004 	beq	a0006490 <_rename_r+0x184>                    
a000647c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006480:	e3530000 	cmp	r3, #0                                        
a0006484:	0a000001 	beq	a0006490 <_rename_r+0x184>                    
a0006488:	e1a00007 	mov	r0, r7                                        
a000648c:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0006490:	e1a00006 	mov	r0, r6                                        
a0006494:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0006498:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *  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 );                     
a000649c:	e59d3010 	ldr	r3, [sp, #16]                                 
a00064a0:	e3530000 	cmp	r3, #0                                        
a00064a4:	0a000004 	beq	a00064bc <_rename_r+0x1b0>                    
a00064a8:	e593301c 	ldr	r3, [r3, #28]                                 
a00064ac:	e3530000 	cmp	r3, #0                                        
a00064b0:	0a000001 	beq	a00064bc <_rename_r+0x1b0>                    
a00064b4:	e1a00005 	mov	r0, r5                                        
a00064b8:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a00064bc:	e3580000 	cmp	r8, #0                                        
a00064c0:	0a000007 	beq	a00064e4 <_rename_r+0x1d8>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a00064c4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00064c8:	e3530000 	cmp	r3, #0                                        
a00064cc:	0a000004 	beq	a00064e4 <_rename_r+0x1d8>                    
a00064d0:	e593301c 	ldr	r3, [r3, #28]                                 
a00064d4:	e3530000 	cmp	r3, #0                                        
a00064d8:	0a000001 	beq	a00064e4 <_rename_r+0x1d8>                    
a00064dc:	e1a00004 	mov	r0, r4                                        
a00064e0:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a00064e4:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a00064e8:	e3530000 	cmp	r3, #0                                        
a00064ec:	0a000004 	beq	a0006504 <_rename_r+0x1f8>                    
a00064f0:	e593301c 	ldr	r3, [r3, #28]                                 
a00064f4:	e3530000 	cmp	r3, #0                                        
a00064f8:	0a000001 	beq	a0006504 <_rename_r+0x1f8>                    
a00064fc:	e1a00007 	mov	r0, r7                                        
a0006500:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0006504:	eb002dff 	bl	a0011d08 <__errno>                             
a0006508:	e3a03012 	mov	r3, #18                                       
a000650c:	e5803000 	str	r3, [r0]                                      
a0006510:	e3e06000 	mvn	r6, #0                                        
a0006514:	eaffffdd 	b	a0006490 <_rename_r+0x184>                      
  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 )                                         
a0006518:	e3580000 	cmp	r8, #0                                        
a000651c:	1a000001 	bne	a0006528 <_rename_r+0x21c>                    
  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 );                     
  rtems_filesystem_freenode( &old_loc );                              
a0006520:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0006524:	eaffffd9 	b	a0006490 <_rename_r+0x184>                      <== 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 );                   
a0006528:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000652c:	e3530000 	cmp	r3, #0                                        
a0006530:	0afffffa 	beq	a0006520 <_rename_r+0x214>                    
a0006534:	e593301c 	ldr	r3, [r3, #28]                                 
a0006538:	e3530000 	cmp	r3, #0                                        
a000653c:	0afffff7 	beq	a0006520 <_rename_r+0x214>                    
a0006540:	e1a00004 	mov	r0, r4                                        
a0006544:	e12fff33 	blx	r3                                            
a0006548:	e3e06000 	mvn	r6, #0                                        
a000654c:	eaffffcf 	b	a0006490 <_rename_r+0x184>                      
  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, 
a0006550:	e28d4018 	add	r4, sp, #24                                   
a0006554:	e3a0c000 	mov	ip, #0                                        
a0006558:	e1a00005 	mov	r0, r5                                        
a000655c:	e1a01007 	mov	r1, r7                                        
a0006560:	e3a02002 	mov	r2, #2                                        
a0006564:	e1a03004 	mov	r3, r4                                        
a0006568:	e58dc000 	str	ip, [sp]                                      
a000656c:	ebfff9a8 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
a0006570:	e3500000 	cmp	r0, #0                                        
a0006574:	1affffe9 	bne	a0006520 <_rename_r+0x214>                    
a0006578:	e3a08001 	mov	r8, #1                                        
a000657c:	eaffff70 	b	a0006344 <_rename_r+0x38>                       
    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 );                     
a0006580:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006584:	e3530000 	cmp	r3, #0                                        
a0006588:	0a000004 	beq	a00065a0 <_rename_r+0x294>                    
a000658c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006590:	e3530000 	cmp	r3, #0                                        
a0006594:	0a000001 	beq	a00065a0 <_rename_r+0x294>                    
a0006598:	e1a00005 	mov	r0, r5                                        
a000659c:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a00065a0:	e3580000 	cmp	r8, #0                                        
a00065a4:	0a000007 	beq	a00065c8 <_rename_r+0x2bc>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a00065a8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00065ac:	e3530000 	cmp	r3, #0                                        
a00065b0:	0a000004 	beq	a00065c8 <_rename_r+0x2bc>                    
a00065b4:	e593301c 	ldr	r3, [r3, #28]                                 
a00065b8:	e3530000 	cmp	r3, #0                                        
a00065bc:	0a000001 	beq	a00065c8 <_rename_r+0x2bc>                    
a00065c0:	e1a00004 	mov	r0, r4                                        
a00065c4:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a00065c8:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a00065cc:	e3530000 	cmp	r3, #0                                        
a00065d0:	0affffd2 	beq	a0006520 <_rename_r+0x214>                    
a00065d4:	e593301c 	ldr	r3, [r3, #28]                                 
a00065d8:	e3530000 	cmp	r3, #0                                        
a00065dc:	0affffcf 	beq	a0006520 <_rename_r+0x214>                    
a00065e0:	e1a00007 	mov	r0, r7                                        
a00065e4:	e12fff33 	blx	r3                                            
a00065e8:	e3e06000 	mvn	r6, #0                                        
a00065ec:	eaffffa7 	b	a0006490 <_rename_r+0x184>                      
    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 );                     
a00065f0:	e593301c 	ldr	r3, [r3, #28]                                 
a00065f4:	e3530000 	cmp	r3, #0                                        
a00065f8:	0a000001 	beq	a0006604 <_rename_r+0x2f8>                    
a00065fc:	e1a00005 	mov	r0, r5                                        
a0006600:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a0006604:	e3580000 	cmp	r8, #0                                        
a0006608:	0a000007 	beq	a000662c <_rename_r+0x320>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a000660c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006610:	e3530000 	cmp	r3, #0                                        
a0006614:	0a000004 	beq	a000662c <_rename_r+0x320>                    
a0006618:	e593301c 	ldr	r3, [r3, #28]                                 
a000661c:	e3530000 	cmp	r3, #0                                        
a0006620:	0a000001 	beq	a000662c <_rename_r+0x320>                    
a0006624:	e1a00004 	mov	r0, r4                                        
a0006628:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a000662c:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006630:	e3530000 	cmp	r3, #0                                        
a0006634:	0a000004 	beq	a000664c <_rename_r+0x340>                    
a0006638:	e593301c 	ldr	r3, [r3, #28]                                 
a000663c:	e3530000 	cmp	r3, #0                                        
a0006640:	0a000001 	beq	a000664c <_rename_r+0x340>                    
a0006644:	e1a00007 	mov	r0, r7                                        
a0006648:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000664c:	eb002dad 	bl	a0011d08 <__errno>                             
a0006650:	e3a03086 	mov	r3, #134	; 0x86                               
a0006654:	e5803000 	str	r3, [r0]                                      
a0006658:	e3e06000 	mvn	r6, #0                                        
a000665c:	eaffff8b 	b	a0006490 <_rename_r+0x184>                      
                                                                      

a000420c <_stat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
a000420c:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0004210:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0004214:	eaffffc2 	b	a0004124 <stat>                                 <== NOT EXECUTED
                                                                      

a000dd58 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) { return unlink( path );
a000dd58:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000dd5c:	eaffff6f 	b	a000db20 <unlink>                               <== NOT EXECUTED
                                                                      

a000b148 <chdir>: #include <rtems/seterr.h> int chdir( const char *pathname ) {
a000b148:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a000b14c:	e2505000 	subs	r5, r0, #0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a000b150:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a000b154:	0a00002f 	beq	a000b218 <chdir+0xd0>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
a000b158:	eb001127 	bl	a000f5fc <strlen>                              
a000b15c:	e28d4004 	add	r4, sp, #4                                    
a000b160:	e3a0c001 	mov	ip, #1                                        
a000b164:	e1a01000 	mov	r1, r0                                        
a000b168:	e1a0200c 	mov	r2, ip                                        
a000b16c:	e1a00005 	mov	r0, r5                                        
a000b170:	e1a03004 	mov	r3, r4                                        
a000b174:	e58dc000 	str	ip, [sp]                                      
a000b178:	ebffdb90 	bl	a0001fc0 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
a000b17c:	e3500000 	cmp	r0, #0                                        
a000b180:	1a000022 	bne	a000b210 <chdir+0xc8>                         
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
a000b184:	e59d2010 	ldr	r2, [sp, #16]                                 
a000b188:	e5923010 	ldr	r3, [r2, #16]                                 
a000b18c:	e3530000 	cmp	r3, #0                                        
a000b190:	0a000016 	beq	a000b1f0 <chdir+0xa8>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a000b194:	e1a00004 	mov	r0, r4                                        
a000b198:	e12fff33 	blx	r3                                            
a000b19c:	e3500001 	cmp	r0, #1                                        
a000b1a0:	1a000021 	bne	a000b22c <chdir+0xe4>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
a000b1a4:	e59f50b4 	ldr	r5, [pc, #180]	; a000b260 <chdir+0x118>       
a000b1a8:	e595c000 	ldr	ip, [r5]                                      
a000b1ac:	e59c3010 	ldr	r3, [ip, #16]                                 
a000b1b0:	e3530000 	cmp	r3, #0                                        
a000b1b4:	0a000005 	beq	a000b1d0 <chdir+0x88>                         
a000b1b8:	e593301c 	ldr	r3, [r3, #28]                                 
a000b1bc:	e3530000 	cmp	r3, #0                                        
a000b1c0:	0a000002 	beq	a000b1d0 <chdir+0x88>                         
a000b1c4:	e28c0004 	add	r0, ip, #4                                    
a000b1c8:	e12fff33 	blx	r3                                            
a000b1cc:	e595c000 	ldr	ip, [r5]                                      
                                                                      
  rtems_filesystem_current = loc;                                     
a000b1d0:	e28cc004 	add	ip, ip, #4                                    
a000b1d4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a000b1d8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000b1dc:	e5943000 	ldr	r3, [r4]                                      
a000b1e0:	e3a00000 	mov	r0, #0                                        
a000b1e4:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a000b1e8:	e28dd018 	add	sp, sp, #24                                   
a000b1ec:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
a000b1f0:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a000b1f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b1f8:	0a000001 	beq	a000b204 <chdir+0xbc>                         <== NOT EXECUTED
a000b1fc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b200:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000b204:	eb000d23 	bl	a000e698 <__errno>                             <== NOT EXECUTED
a000b208:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000b20c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000b210:	e3e00000 	mvn	r0, #0                                        
a000b214:	eafffff3 	b	a000b1e8 <chdir+0xa0>                           
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000b218:	eb000d1e 	bl	a000e698 <__errno>                             
a000b21c:	e3a0300e 	mov	r3, #14                                       
a000b220:	e5803000 	str	r3, [r0]                                      
a000b224:	e3e00000 	mvn	r0, #0                                        
a000b228:	eaffffee 	b	a000b1e8 <chdir+0xa0>                           
    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 );                                
a000b22c:	e59d3010 	ldr	r3, [sp, #16]                                 
a000b230:	e3530000 	cmp	r3, #0                                        
a000b234:	0a000004 	beq	a000b24c <chdir+0x104>                        
a000b238:	e593301c 	ldr	r3, [r3, #28]                                 
a000b23c:	e3530000 	cmp	r3, #0                                        
a000b240:	0a000001 	beq	a000b24c <chdir+0x104>                        
a000b244:	e1a00004 	mov	r0, r4                                        
a000b248:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a000b24c:	eb000d11 	bl	a000e698 <__errno>                             
a000b250:	e3a03014 	mov	r3, #20                                       
a000b254:	e5803000 	str	r3, [r0]                                      
a000b258:	e3e00000 	mvn	r0, #0                                        
a000b25c:	eaffffe1 	b	a000b1e8 <chdir+0xa0>                           
                                                                      

a0003cc8 <chmod>: int chmod( const char *path, mode_t mode ) {
a0003cc8:	e92d4070 	push	{r4, r5, r6, lr}                             
a0003ccc:	e24dd018 	sub	sp, sp, #24                                   
a0003cd0:	e1a05001 	mov	r5, r1                                        
a0003cd4:	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 );
a0003cd8:	eb003c63 	bl	a0012e6c <strlen>                              
a0003cdc:	e28d4004 	add	r4, sp, #4                                    
a0003ce0:	e1a01000 	mov	r1, r0                                        
a0003ce4:	e3a0c001 	mov	ip, #1                                        
a0003ce8:	e1a00006 	mov	r0, r6                                        
a0003cec:	e3a02000 	mov	r2, #0                                        
a0003cf0:	e1a03004 	mov	r3, r4                                        
a0003cf4:	e58dc000 	str	ip, [sp]                                      
a0003cf8:	eb0000c0 	bl	a0004000 <rtems_filesystem_evaluate_path>      
  if ( status != 0 )                                                  
a0003cfc:	e3500000 	cmp	r0, #0                                        
a0003d00:	1a00001f 	bne	a0003d84 <chmod+0xbc>                         
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
a0003d04:	e59d300c 	ldr	r3, [sp, #12]                                 
a0003d08:	e3530000 	cmp	r3, #0                                        
a0003d0c:	0a000011 	beq	a0003d58 <chmod+0x90>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EBADF );                    
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
a0003d10:	e593301c 	ldr	r3, [r3, #28]                                 
a0003d14:	e3530000 	cmp	r3, #0                                        
a0003d18:	0a00001b 	beq	a0003d8c <chmod+0xc4>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
a0003d1c:	e1a01005 	mov	r1, r5                                        
a0003d20:	e1a00004 	mov	r0, r4                                        
a0003d24:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003d28:	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 );                   
a0003d2c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003d30:	e3530000 	cmp	r3, #0                                        
a0003d34:	0a000004 	beq	a0003d4c <chmod+0x84>                         
a0003d38:	e593301c 	ldr	r3, [r3, #28]                                 
a0003d3c:	e3530000 	cmp	r3, #0                                        
a0003d40:	0a000001 	beq	a0003d4c <chmod+0x84>                         
a0003d44:	e1a00004 	mov	r0, r4                                        
a0003d48:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0003d4c:	e1a00005 	mov	r0, r5                                        
a0003d50:	e28dd018 	add	sp, sp, #24                                   
a0003d54:	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 );                                
a0003d58:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0003d5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d60:	0a000004 	beq	a0003d78 <chmod+0xb0>                         <== NOT EXECUTED
a0003d64:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003d68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d6c:	0a000001 	beq	a0003d78 <chmod+0xb0>                         <== NOT EXECUTED
a0003d70:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003d74:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0003d78:	eb0034fa 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a0003d7c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0003d80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003d84:	e3e05000 	mvn	r5, #0                                        
a0003d88:	eaffffef 	b	a0003d4c <chmod+0x84>                           
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
a0003d8c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0003d90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d94:	0a000004 	beq	a0003dac <chmod+0xe4>                         <== NOT EXECUTED
a0003d98:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003d9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003da0:	0a000001 	beq	a0003dac <chmod+0xe4>                         <== NOT EXECUTED
a0003da4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003da8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003dac:	eb0034ed 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a0003db0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003db4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003db8:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0003dbc:	eaffffe2 	b	a0003d4c <chmod+0x84>                           <== NOT EXECUTED
                                                                      

a0003dc0 <chown>: int chown( const char *path, uid_t owner, gid_t group ) {
a0003dc0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0003dc4:	e1a01801 	lsl	r1, r1, #16                                   
a0003dc8:	e1a02802 	lsl	r2, r2, #16                                   
a0003dcc:	e24dd018 	sub	sp, sp, #24                                   
a0003dd0:	e1a06821 	lsr	r6, r1, #16                                   
a0003dd4:	e1a05822 	lsr	r5, r2, #16                                   
a0003dd8:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
a0003ddc:	eb003c22 	bl	a0012e6c <strlen>                              
a0003de0:	e28d4004 	add	r4, sp, #4                                    
a0003de4:	e1a01000 	mov	r1, r0                                        
a0003de8:	e3a0c001 	mov	ip, #1                                        
a0003dec:	e1a00007 	mov	r0, r7                                        
a0003df0:	e3a02000 	mov	r2, #0                                        
a0003df4:	e1a03004 	mov	r3, r4                                        
a0003df8:	e58dc000 	str	ip, [sp]                                      
a0003dfc:	eb00007f 	bl	a0004000 <rtems_filesystem_evaluate_path>      
a0003e00:	e3500000 	cmp	r0, #0                                        
a0003e04:	1a00001b 	bne	a0003e78 <chown+0xb8>                         
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
a0003e08:	e59d2010 	ldr	r2, [sp, #16]                                 
a0003e0c:	e5923018 	ldr	r3, [r2, #24]                                 
a0003e10:	e3530000 	cmp	r3, #0                                        
a0003e14:	0a00000f 	beq	a0003e58 <chown+0x98>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
a0003e18:	e1a02005 	mov	r2, r5                                        
a0003e1c:	e1a01006 	mov	r1, r6                                        
a0003e20:	e1a00004 	mov	r0, r4                                        
a0003e24:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003e28:	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 );                 
a0003e2c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003e30:	e3530000 	cmp	r3, #0                                        
a0003e34:	0a000004 	beq	a0003e4c <chown+0x8c>                         
a0003e38:	e593301c 	ldr	r3, [r3, #28]                                 
a0003e3c:	e3530000 	cmp	r3, #0                                        
a0003e40:	0a000001 	beq	a0003e4c <chown+0x8c>                         
a0003e44:	e1a00004 	mov	r0, r4                                        
a0003e48:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0003e4c:	e1a00005 	mov	r0, r5                                        
a0003e50:	e28dd018 	add	sp, sp, #24                                   
a0003e54:	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 );                                
a0003e58:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0003e5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003e60:	0a000001 	beq	a0003e6c <chown+0xac>                         <== NOT EXECUTED
a0003e64:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003e68:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003e6c:	eb0034bd 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a0003e70:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003e74:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003e78:	e3e05000 	mvn	r5, #0                                        
a0003e7c:	eafffff2 	b	a0003e4c <chown+0x8c>                           
                                                                      

a0001cb4 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
a0001cb4:	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) {             
a0001cb8:	e59f50d4 	ldr	r5, [pc, #212]	; a0001d94 <chroot+0xe0>       
a0001cbc:	e59f30d4 	ldr	r3, [pc, #212]	; a0001d98 <chroot+0xe4>       
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001cc0:	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) {             
a0001cc4:	e5954000 	ldr	r4, [r5]                                      
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001cc8:	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) {             
a0001ccc:	e1540003 	cmp	r4, r3                                        
a0001cd0:	0a00001f 	beq	a0001d54 <chroot+0xa0>                        
   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);                                           
a0001cd4:	e1a00006 	mov	r0, r6                                        
a0001cd8:	eb00251a 	bl	a000b148 <chdir>                               
  if (result) {                                                       
a0001cdc:	e250c000 	subs	ip, r0, #0                                   
a0001ce0:	1a000024 	bne	a0001d78 <chroot+0xc4>                        
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0001ce4:	e28d4004 	add	r4, sp, #4                                    
a0001ce8:	e1a0200c 	mov	r2, ip                                        
a0001cec:	e59f00a8 	ldr	r0, [pc, #168]	; a0001d9c <chroot+0xe8>       
a0001cf0:	e3a01001 	mov	r1, #1                                        
a0001cf4:	e1a03004 	mov	r3, r4                                        
a0001cf8:	e58dc000 	str	ip, [sp]                                      
a0001cfc:	eb0000af 	bl	a0001fc0 <rtems_filesystem_evaluate_path>      
a0001d00:	e3500000 	cmp	r0, #0                                        
a0001d04:	1a00001b 	bne	a0001d78 <chroot+0xc4>                        
    /* 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);                  
a0001d08:	e595c000 	ldr	ip, [r5]                                      
a0001d0c:	e59c3024 	ldr	r3, [ip, #36]	; 0x24                          
a0001d10:	e3530000 	cmp	r3, #0                                        
a0001d14:	0a000006 	beq	a0001d34 <chroot+0x80>                        
a0001d18:	e593301c 	ldr	r3, [r3, #28]                                 
a0001d1c:	e3530000 	cmp	r3, #0                                        
a0001d20:	0a000003 	beq	a0001d34 <chroot+0x80>                        
a0001d24:	e28c0018 	add	r0, ip, #24                                   
a0001d28:	e12fff33 	blx	r3                                            
a0001d2c:	e59f3060 	ldr	r3, [pc, #96]	; a0001d94 <chroot+0xe0>        
a0001d30:	e593c000 	ldr	ip, [r3]                                      
  rtems_filesystem_root = loc;                                        
a0001d34:	e28cc018 	add	ip, ip, #24                                   
a0001d38:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001d3c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001d40:	e5943000 	ldr	r3, [r4]                                      
a0001d44:	e3a00000 	mov	r0, #0                                        
a0001d48:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a0001d4c:	e28dd018 	add	sp, sp, #24                                   
a0001d50:	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*/   
a0001d54:	eb00056c 	bl	a000330c <rtems_libio_set_private_env>         
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
a0001d58:	e5953000 	ldr	r3, [r5]                                      
a0001d5c:	e1530004 	cmp	r3, r4                                        
a0001d60:	1affffdb 	bne	a0001cd4 <chroot+0x20>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001d64:	eb00324b 	bl	a000e698 <__errno>                             <== NOT EXECUTED
a0001d68:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001d6c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001d70:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001d74:	eafffff4 	b	a0001d4c <chroot+0x98>                          <== 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 );                    
a0001d78:	eb003246 	bl	a000e698 <__errno>                             <== NOT EXECUTED
a0001d7c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0001d80:	eb003244 	bl	a000e698 <__errno>                             <== NOT EXECUTED
a0001d84:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0001d88:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001d8c:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a0001d90:	eaffffed 	b	a0001d4c <chroot+0x98>                          <== NOT EXECUTED
                                                                      

a00086a4 <devFS_close>: #include "devfs.h" int devFS_close( rtems_libio_t *iop ) {
a00086a4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
a00086a8:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00086ac:	e24dd00c 	sub	sp, sp, #12                                   
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a00086b0:	e3a01000 	mov	r1, #0                                        
  args.mode  = 0;                                                     
a00086b4:	e58d1008 	str	r1, [sp, #8]                                  
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a00086b8:	e58d1004 	str	r1, [sp, #4]                                  
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00086bc:	e1a03000 	mov	r3, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a00086c0:	e592100c 	ldr	r1, [r2, #12]                                 
a00086c4:	e5920008 	ldr	r0, [r2, #8]                                  
a00086c8:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a00086cc:	e58d3000 	str	r3, [sp]                                      
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a00086d0:	eb000379 	bl	a00094bc <rtems_io_close>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a00086d4:	e2503000 	subs	r3, r0, #0                                   
a00086d8:	01a00003 	moveq	r0, r3                                      
a00086dc:	0a000000 	beq	a00086e4 <devFS_close+0x40>                   
    return rtems_deviceio_errno(status);                              
a00086e0:	eb000047 	bl	a0008804 <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a00086e4:	e28dd00c 	add	sp, sp, #12                                   
a00086e8:	e8bd8000 	pop	{pc}                                          
                                                                      

a00086f8 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
a00086f8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a00086fc:	e3d22007 	bics	r2, r2, #7                                   
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a0008700:	e24dd004 	sub	sp, sp, #4                                    
a0008704:	e1a0b000 	mov	fp, r0                                        
a0008708:	e1a04001 	mov	r4, r1                                        
a000870c:	e58d3000 	str	r3, [sp]                                      
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
a0008710:	1a00002d 	bne	a00087cc <devFS_evaluate_path+0xd4>           
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a0008714:	e59d1000 	ldr	r1, [sp]                                      
a0008718:	e5917000 	ldr	r7, [r1]                                      
  if (!device_name_table)                                             
a000871c:	e3570000 	cmp	r7, #0                                        
a0008720:	0a00002e 	beq	a00087e0 <devFS_evaluate_path+0xe8>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0008724:	e59f30c8 	ldr	r3, [pc, #200]	; a00087f4 <devFS_evaluate_path+0xfc>
a0008728:	e5938000 	ldr	r8, [r3]                                      
a000872c:	e3580000 	cmp	r8, #0                                        
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0008730:	11a03002 	movne	r3, r2                                      
a0008734:	11a05003 	movne	r5, r3                                      
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0008738:	13a0a014 	movne	sl, #20                                     
  /* 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++) {                     
a000873c:	0a000010 	beq	a0008784 <devFS_evaluate_path+0x8c>           
    if (!device_name_table[i].device_name)                            
a0008740:	e009039a 	mul	r9, sl, r3                                    
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008744:	e1a0000b 	mov	r0, fp                                        
  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)                            
a0008748:	e7976009 	ldr	r6, [r7, r9]                                  
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a000874c:	e1a02004 	mov	r2, r4                                        
  /* 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++) {                     
a0008750:	e2855001 	add	r5, r5, #1                                    
    if (!device_name_table[i].device_name)                            
a0008754:	e2561000 	subs	r1, r6, #0                                   
a0008758:	e0879009 	add	r9, r7, r9                                    
a000875c:	0a000005 	beq	a0008778 <devFS_evaluate_path+0x80>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008760:	eb000acf 	bl	a000b2a4 <strncmp>                             
a0008764:	e3500000 	cmp	r0, #0                                        
a0008768:	1a000002 	bne	a0008778 <devFS_evaluate_path+0x80>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
a000876c:	e7d60004 	ldrb	r0, [r6, r4]                                 
a0008770:	e3500000 	cmp	r0, #0                                        
a0008774:	0a000007 	beq	a0008798 <devFS_evaluate_path+0xa0>           
  /* 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++) {                     
a0008778:	e1580005 	cmp	r8, r5                                        
a000877c:	e1a03005 	mov	r3, r5                                        
a0008780:	8affffee 	bhi	a0008740 <devFS_evaluate_path+0x48>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a0008784:	eb000710 	bl	a000a3cc <__errno>                             
a0008788:	e3a03002 	mov	r3, #2                                        
a000878c:	e5803000 	str	r3, [r0]                                      
a0008790:	e3e00000 	mvn	r0, #0                                        
a0008794:	ea00000a 	b	a00087c4 <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];             
a0008798:	e59d2000 	ldr	r2, [sp]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a000879c:	e59f3054 	ldr	r3, [pc, #84]	; a00087f8 <devFS_evaluate_path+0x100>
    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;                         
a00087a0:	e59d1000 	ldr	r1, [sp]                                      
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a00087a4:	e5829000 	str	r9, [r2]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a00087a8:	e5933000 	ldr	r3, [r3]                                      
    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;                         
a00087ac:	e59f2048 	ldr	r2, [pc, #72]	; a00087fc <devFS_evaluate_path+0x104>
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a00087b0:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
    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;                         
a00087b4:	e5812008 	str	r2, [r1, #8]                                  
    pathloc->ops = &devFS_ops;                                        
a00087b8:	e59f2040 	ldr	r2, [pc, #64]	; a0008800 <devFS_evaluate_path+0x108>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a00087bc:	e5813010 	str	r3, [r1, #16]                                 
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
a00087c0:	e581200c 	str	r2, [r1, #12]                                 
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a00087c4:	e28dd004 	add	sp, sp, #4                                    
a00087c8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
a00087cc:	eb0006fe 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a00087d0:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a00087d4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00087d8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00087dc:	eafffff8 	b	a00087c4 <devFS_evaluate_path+0xcc>             <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00087e0:	eb0006f9 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a00087e4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00087e8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00087ec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00087f0:	eafffff3 	b	a00087c4 <devFS_evaluate_path+0xcc>             <== NOT EXECUTED
                                                                      

a000115c <devFS_initialize>: int devFS_initialize( rtems_filesystem_mount_table_entry_t *temp_mt_entry, const void *data ) {
a000115c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
a0001160:	e59f7058 	ldr	r7, [pc, #88]	; a00011c0 <devFS_initialize+0x64>
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
a0001164:	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(     
a0001168:	e3a06014 	mov	r6, #20                                       
a000116c:	e5970000 	ldr	r0, [r7]                                      
a0001170:	e0000096 	mul	r0, r6, r0                                    
a0001174:	eb001c2d 	bl	a0008230 <_Workspace_Allocate>                 
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
a0001178:	e2505000 	subs	r5, r0, #0                                   
a000117c:	0a00000a 	beq	a00011ac <devFS_initialize+0x50>              
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  memset(                                                             
a0001180:	e5972000 	ldr	r2, [r7]                                      
a0001184:	e3a01000 	mov	r1, #0                                        
a0001188:	e0020296 	mul	r2, r6, r2                                    
a000118c:	eb0026bc 	bl	a000ac84 <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;      
a0001190:	e59f302c 	ldr	r3, [pc, #44]	; a00011c4 <devFS_initialize+0x68>
  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;  
a0001194:	e584501c 	str	r5, [r4, #28]                                 
a0001198:	e3a00000 	mov	r0, #0                                        
    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;                
a000119c:	e2832038 	add	r2, r3, #56	; 0x38                            
a00011a0:	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;      
a00011a4:	e5843024 	str	r3, [r4, #36]	; 0x24                          
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
                                                                      
  return 0;                                                           
}                                                                     
a00011a8:	e8bd80f0 	pop	{r4, r5, r6, r7, 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 );                 
a00011ac:	eb002486 	bl	a000a3cc <__errno>                             
a00011b0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00011b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00011b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00011bc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      

a0001344 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a0001344:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0001348:	e1a03000 	mov	r3, r0                                        
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
a000134c:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0001350:	e24dd010 	sub	sp, sp, #16                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a0001354:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001358:	e590100c 	ldr	r1, [r0, #12]                                 
a000135c:	e1a0200d 	mov	r2, sp                                        
a0001360:	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;                                                 
a0001364:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001368:	eb00106d 	bl	a0005524 <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000136c:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a0001370:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001374:	1a000001 	bne	a0001380 <devFS_ioctl+0x3c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a0001378:	e28dd010 	add	sp, sp, #16                                   
a000137c:	e8bd8000 	pop	{pc}                                          
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0001380:	eb001d1f 	bl	a0008804 <rtems_deviceio_errno>                <== NOT EXECUTED
a0001384:	eafffffb 	b	a0001378 <devFS_ioctl+0x34>                     <== NOT EXECUTED
                                                                      

a00011c8 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
a00011c8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00011cc:	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') &&                         
a00011d0:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00011d4:	e24dd004 	sub	sp, sp, #4                                    
a00011d8:	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') &&                         
a00011dc:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00011e0:	e58d2000 	str	r2, [sp]                                      
a00011e4:	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') &&                         
a00011e8:	0a000039 	beq	a00012d4 <devFS_mknod+0x10c>                  
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
a00011ec:	e2053a0f 	and	r3, r5, #61440	; 0xf000                       
a00011f0:	e3530a02 	cmp	r3, #8192	; 0x2000                            
a00011f4:	13530a06 	cmpne	r3, #24576	; 0x6000                         
a00011f8:	03a03000 	moveq	r3, #0                                      
a00011fc:	13a03001 	movne	r3, #1                                      
a0001200:	1a00003d 	bne	a00012fc <devFS_mknod+0x134>                  
    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;    
a0001204:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0001208:	e5927000 	ldr	r7, [r2]                                      
  if (!device_name_table)                                             
a000120c:	e3570000 	cmp	r7, #0                                        
a0001210:	0a000043 	beq	a0001324 <devFS_mknod+0x15c>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001214:	e59f211c 	ldr	r2, [pc, #284]	; a0001338 <devFS_mknod+0x170> 
a0001218:	e5928000 	ldr	r8, [r2]                                      
a000121c:	e3580000 	cmp	r8, #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 );                   
a0001220:	13e09000 	mvnne	r9, #0                                      
a0001224:	11a06003 	movne	r6, r3                                      
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
a0001228:	13a0a014 	movne	sl, #20                                     
  /* 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++){           
a000122c:	1a000007 	bne	a0001250 <devFS_mknod+0x88>                   
a0001230:	ea000036 	b	a0001310 <devFS_mknod+0x148>                    <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a0001234:	eb00273a 	bl	a000af24 <strcmp>                              <== NOT EXECUTED
a0001238:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000123c:	0a00001f 	beq	a00012c0 <devFS_mknod+0xf8>                   <== 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++){           
a0001240:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a0001244:	e1560008 	cmp	r6, r8                                        <== NOT EXECUTED
a0001248:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000124c:	2a000009 	bcs	a0001278 <devFS_mknod+0xb0>                   <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
a0001250:	e002039a 	mul	r2, sl, r3                                    
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a0001254:	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)                   
a0001258:	e7973002 	ldr	r3, [r7, r2]                                  
a000125c:	e2531000 	subs	r1, r3, #0                                   
a0001260:	1afffff3 	bne	a0001234 <devFS_mknod+0x6c>                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
a0001264:	e1a09006 	mov	r9, r6                                        
  /* 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++){           
a0001268:	e2866001 	add	r6, r6, #1                                    
a000126c:	e1560008 	cmp	r6, r8                                        
a0001270:	e1a03006 	mov	r3, r6                                        
a0001274:	3afffff5 	bcc	a0001250 <devFS_mknod+0x88>                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
a0001278:	e3790001 	cmn	r9, #1                                        
a000127c:	0a000023 	beq	a0001310 <devFS_mknod+0x148>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0001280:	e10f6000 	mrs	r6, CPSR                                      
a0001284:	e3863080 	orr	r3, r6, #128	; 0x80                           
a0001288:	e129f003 	msr	CPSR_fc, r3                                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a000128c:	e3a02014 	mov	r2, #20                                       
a0001290:	e0030992 	mul	r3, r2, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0001294:	e1a00004 	mov	r0, r4                                        
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a0001298:	e7874003 	str	r4, [r7, r3]                                  
a000129c:	e0877003 	add	r7, r7, r3                                    
  device_name_table[slot].device_name_length = strlen(path);          
a00012a0:	eb0027e7 	bl	a000b244 <strlen>                              
  device_name_table[slot].major = major;                              
a00012a4:	e59d3000 	ldr	r3, [sp]                                      
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
a00012a8:	e5875010 	str	r5, [r7, #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);          
a00012ac:	e9870809 	stmib	r7, {r0, r3, fp}                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00012b0:	e129f006 	msr	CPSR_fc, r6                                   
a00012b4:	e3a00000 	mov	r0, #0                                        
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
a00012b8:	e28dd004 	add	sp, sp, #4                                    
a00012bc:	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 );         
a00012c0:	eb002441 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a00012c4:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
a00012c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00012cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00012d0:	eafffff8 	b	a00012b8 <devFS_mknod+0xf0>                     <== 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') &&                         
a00012d4:	e5d43001 	ldrb	r3, [r4, #1]                                 
a00012d8:	e3530065 	cmp	r3, #101	; 0x65                               
a00012dc:	1affffc2 	bne	a00011ec <devFS_mknod+0x24>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
a00012e0:	e5d43002 	ldrb	r3, [r4, #2]                                 
a00012e4:	e3530076 	cmp	r3, #118	; 0x76                               
a00012e8:	1affffbf 	bne	a00011ec <devFS_mknod+0x24>                   
a00012ec:	e5d40003 	ldrb	r0, [r4, #3]                                 
a00012f0:	e3500000 	cmp	r0, #0                                        
a00012f4:	1affffbc 	bne	a00011ec <devFS_mknod+0x24>                   
a00012f8:	eaffffee 	b	a00012b8 <devFS_mknod+0xf0>                     
      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 );                   
a00012fc:	eb002432 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a0001300:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001304:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001308:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000130c:	eaffffe9 	b	a00012b8 <devFS_mknod+0xf0>                     <== 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 );                 
a0001310:	eb00242d 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a0001314:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0001318:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000131c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001320:	eaffffe4 	b	a00012b8 <devFS_mknod+0xf0>                     <== 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 );                   
a0001324:	eb002428 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a0001328:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a000132c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001330:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001334:	eaffffdf 	b	a00012b8 <devFS_mknod+0xf0>                     <== NOT EXECUTED
                                                                      

a0001388 <devFS_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
a0001388:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a000138c:	e5901014 	ldr	r1, [r0, #20]                                 
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
a0001390:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a0001394:	e24dd00c 	sub	sp, sp, #12                                   
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a0001398:	e98d000a 	stmib	sp, {r1, r3}                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000139c:	e1a0c000 	mov	ip, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a00013a0:	e592100c 	ldr	r1, [r2, #12]                                 
a00013a4:	e5920008 	ldr	r0, [r2, #8]                                  
a00013a8:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a00013ac:	e58dc000 	str	ip, [sp]                                      
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a00013b0:	eb0010a8 	bl	a0005658 <rtems_io_open>                       
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a00013b4:	e2503000 	subs	r3, r0, #0                                   
a00013b8:	01a00003 	moveq	r0, r3                                      
a00013bc:	0a000000 	beq	a00013c4 <devFS_open+0x3c>                    
    return rtems_deviceio_errno(status);                              
a00013c0:	eb001d0f 	bl	a0008804 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a00013c4:	e28dd00c 	add	sp, sp, #12                                   
a00013c8:	e8bd8000 	pop	{pc}                                          
                                                                      

a00013cc <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a00013cc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00013d0:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00013d4:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a00013d8:	e1a03000 	mov	r3, r0                                        <== 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;           
a00013dc:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a00013e0:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a00013e4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00013e8:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00013ec:	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;                                          
a00013f0:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00013f4:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00013f8:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
a00013fc:	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;                                             
a0001400:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.offset      = iop->offset;                                     
a0001404:	e283400c 	add	r4, r3, #12                                   <== NOT EXECUTED
a0001408:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
a000140c:	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(                                             
a0001410:	eb0010a4 	bl	a00056a8 <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001414:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0001418:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000141c:	1a000001 	bne	a0001428 <devFS_read+0x5c>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a0001420:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0001424:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0001428:	eb001cf5 	bl	a0008804 <rtems_deviceio_errno>                <== NOT EXECUTED
a000142c:	eafffffb 	b	a0001420 <devFS_read+0x54>                      <== NOT EXECUTED
                                                                      

a0001430 <devFS_stat>: struct stat *buf ) { rtems_device_name_t *the_dev; the_dev = (rtems_device_name_t *)loc->node_access;
a0001430:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a0001434:	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)                                                       
a0001438:	e3530000 	cmp	r3, #0                                        
a000143c:	0a000007 	beq	a0001460 <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;                                       
a0001440:	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 );
a0001444:	e593200c 	ldr	r2, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0001448:	e5933008 	ldr	r3, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
a000144c:	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 );
a0001450:	e581201c 	str	r2, [r1, #28]                                 
a0001454:	e5813018 	str	r3, [r1, #24]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001458:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a000145c:	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 );                   
a0001460:	eb0023d9 	bl	a000a3cc <__errno>                             <== NOT EXECUTED
a0001464:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001468:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000146c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001470:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0001474 <devFS_write>: ssize_t devFS_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a0001474:	e92d4010 	push	{r4, lr}                                     
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001478:	e590c014 	ldr	ip, [r0, #20]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000147c:	e24dd01c 	sub	sp, sp, #28                                   
a0001480:	e1a03000 	mov	r3, r0                                        
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
a0001484:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a0001488:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000148c:	e3a02000 	mov	r2, #0                                        
a0001490:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001494:	e58dc014 	str	ip, [sp, #20]                                 
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a0001498:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000149c:	e1a0200d 	mov	r2, sp                                        
a00014a0:	e590100c 	ldr	r1, [r0, #12]                                 
a00014a4:	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;                                             
a00014a8:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
a00014ac:	e283400c 	add	r4, r3, #12                                   
a00014b0:	e8940018 	ldm	r4, {r3, r4}                                  
a00014b4:	e98d0018 	stmib	sp, {r3, r4}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a00014b8:	eb00108e 	bl	a00056f8 <rtems_io_write>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00014bc:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a00014c0:	059d0018 	ldreq	r0, [sp, #24]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00014c4:	1a000001 	bne	a00014d0 <devFS_write+0x5c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a00014c8:	e28dd01c 	add	sp, sp, #28                                   
a00014cc:	e8bd8010 	pop	{r4, pc}                                      
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a00014d0:	eb001ccb 	bl	a0008804 <rtems_deviceio_errno>                <== NOT EXECUTED
a00014d4:	eafffffb 	b	a00014c8 <devFS_write+0x54>                     <== NOT EXECUTED
                                                                      

a000d5b8 <device_close>: */ int device_close( rtems_libio_t *iop ) {
a000d5b8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
a000d5bc:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
 */                                                                   
                                                                      
int device_close(                                                     
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000d5c0:	e24dd00c 	sub	sp, sp, #12                                   
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000d5c4:	e3a02000 	mov	r2, #0                                        
  args.mode  = 0;                                                     
a000d5c8:	e58d2008 	str	r2, [sp, #8]                                  
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000d5cc:	e88d0005 	stm	sp, {r0, r2}                                  
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a000d5d0:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000d5d4:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000d5d8:	e1a0200d 	mov	r2, sp                                        
a000d5dc:	eb00023d 	bl	a000ded8 <rtems_io_close>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a000d5e0:	e2503000 	subs	r3, r0, #0                                   
a000d5e4:	01a00003 	moveq	r0, r3                                      
a000d5e8:	0a000000 	beq	a000d5f0 <device_close+0x38>                  
    return rtems_deviceio_errno(status);                              
a000d5ec:	eb0002fb 	bl	a000e1e0 <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a000d5f0:	e28dd00c 	add	sp, sp, #12                                   
a000d5f4:	e8bd8000 	pop	{pc}                                          
                                                                      

a000d4bc <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
a000d4bc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
a000d4c0:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000d4c4:	e24dd010 	sub	sp, sp, #16                                   
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
a000d4c8:	e88d0007 	stm	sp, {r0, r1, r2}                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
a000d4cc:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000d4d0:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000d4d4:	e1a0200d 	mov	r2, sp                                        
a000d4d8:	eb000292 	bl	a000df28 <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d4dc:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a000d4e0:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d4e4:	1a000001 	bne	a000d4f0 <device_ioctl+0x34>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a000d4e8:	e28dd010 	add	sp, sp, #16                                   
a000d4ec:	e8bd8000 	pop	{pc}                                          
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000d4f0:	eb00033a 	bl	a000e1e0 <rtems_deviceio_errno>                <== NOT EXECUTED
a000d4f4:	eafffffb 	b	a000d4e8 <device_ioctl+0x2c>                    <== NOT EXECUTED
                                                                      

a000d5f8 <device_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
a000d5f8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a000d5fc:	e5901014 	ldr	r1, [r0, #20]                                 
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
a000d600:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000d604:	e24dd00c 	sub	sp, sp, #12                                   
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a000d608:	e88d000b 	stm	sp, {r0, r1, r3}                              
                                                                      
  status = rtems_io_open(                                             
a000d60c:	e5921054 	ldr	r1, [r2, #84]	; 0x54                          
a000d610:	e5920050 	ldr	r0, [r2, #80]	; 0x50                          
a000d614:	e1a0200d 	mov	r2, sp                                        
a000d618:	eb000256 	bl	a000df78 <rtems_io_open>                       
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a000d61c:	e2503000 	subs	r3, r0, #0                                   
a000d620:	01a00003 	moveq	r0, r3                                      
a000d624:	0a000000 	beq	a000d62c <device_open+0x34>                   
    return rtems_deviceio_errno(status);                              
a000d628:	eb0002ec 	bl	a000e1e0 <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000d62c:	e28dd00c 	add	sp, sp, #12                                   
a000d630:	e8bd8000 	pop	{pc}                                          
                                                                      

a000d558 <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
a000d558:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000d55c:	e280500c 	add	r5, r0, #12                                   <== NOT EXECUTED
a000d560:	e8950030 	ldm	r5, {r4, r5}                                  <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000d564:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000d568:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
a000d56c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000d570:	e98d0030 	stmib	sp, {r4, r5}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a000d574:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000d578:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000d57c:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a000d580:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000d584:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000d588:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000d58c:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          <== NOT EXECUTED
a000d590:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          <== NOT EXECUTED
a000d594:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000d598:	eb00028a 	bl	a000dfc8 <rtems_io_read>                       <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d59c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000d5a0:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d5a4:	1a000001 	bne	a000d5b0 <device_read+0x58>                   <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000d5a8:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a000d5ac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000d5b0:	eb00030a 	bl	a000e1e0 <rtems_deviceio_errno>                <== NOT EXECUTED
a000d5b4:	eafffffb 	b	a000d5a8 <device_read+0x50>                     <== NOT EXECUTED
                                                                      

a000d4f8 <device_write>: ssize_t device_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
a000d4f8:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000d4fc:	e280500c 	add	r5, r0, #12                                   
a000d500:	e8950030 	ldm	r5, {r4, r5}                                  
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000d504:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000d508:	e590c014 	ldr	ip, [r0, #20]                                 
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
a000d50c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000d510:	e98d0030 	stmib	sp, {r4, r5}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a000d514:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000d518:	e3a02000 	mov	r2, #0                                        
a000d51c:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a000d520:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000d524:	e58dc014 	str	ip, [sp, #20]                                 
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000d528:	e58d0000 	str	r0, [sp]                                      
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000d52c:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000d530:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000d534:	e1a0200d 	mov	r2, sp                                        
a000d538:	eb0002b6 	bl	a000e018 <rtems_io_write>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d53c:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000d540:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000d544:	1a000001 	bne	a000d550 <device_write+0x58>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000d548:	e28dd01c 	add	sp, sp, #28                                   
a000d54c:	e8bd8030 	pop	{r4, r5, pc}                                  
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000d550:	eb000322 	bl	a000e1e0 <rtems_deviceio_errno>                <== NOT EXECUTED
a000d554:	eafffffb 	b	a000d548 <device_write+0x50>                    <== NOT EXECUTED
                                                                      

a0003c88 <drainOutput>: drainOutput (struct rtems_termios_tty *tty) { rtems_interrupt_level level; rtems_status_code sc; if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {
a0003c88:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003c8c:	e92d4030 	push	{r4, r5, lr}                                 
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003c90:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003c94:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003c98:	0a000017 	beq	a0003cfc <drainOutput+0x74>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003c9c:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0003ca0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0003ca4:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
a0003ca8:	e5901084 	ldr	r1, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0003cac:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a0003cb0:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0003cb4:	0a00000f 	beq	a0003cf8 <drainOutput+0x70>                   <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a0003cb8:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
a0003cbc:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003cc0:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a0003cc4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0003cc8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0003ccc:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003cd0:	eb00063d 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003cd4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003cd8:	1a000008 	bne	a0003d00 <drainOutput+0x78>                   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003cdc:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0003ce0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0003ce4:	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) {                
a0003ce8:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0003cec:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0003cf0:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0003cf4:	1afffff0 	bne	a0003cbc <drainOutput+0x34>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003cf8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0003cfc:	e8bd8030 	pop	{r4, r5, 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);                                  
a0003d00:	eb0007d1 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0002664 <dup2>: int dup2( int fildes, int fildes2 ) {
a0002664:	e92d4070 	push	{r4, r5, r6, lr}                             
a0002668:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a000266c:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002670:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a0002674:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002678:	eb0001a5 	bl	a0002d14 <fstat>                               
  if ( status == -1 )                                                 
a000267c:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002680:	e1a0400d 	mov	r4, sp                                        
  if ( status == -1 )                                                 
a0002684:	1a000002 	bne	a0002694 <dup2+0x30>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a0002688:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a000268c:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0002690:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
a0002694:	e1a0100d 	mov	r1, sp                                        
a0002698:	e1a00005 	mov	r0, r5                                        
a000269c:	eb00019c 	bl	a0002d14 <fstat>                               
  if ( status == -1 )                                                 
a00026a0:	e3700001 	cmn	r0, #1                                        
a00026a4:	0afffff7 	beq	a0002688 <dup2+0x24>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a00026a8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00026ac:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a00026b0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00026b4:	eb000085 	bl	a00028d0 <fcntl>                               <== NOT EXECUTED
a00026b8:	eafffff3 	b	a000268c <dup2+0x28>                            <== NOT EXECUTED
                                                                      

a0003700 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
a0003700:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0003704:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0003708:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000370c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0003710:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0003714:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0003718:	0a000007 	beq	a000373c <echo+0x3c>                          <== NOT EXECUTED
a000371c:	e59f2060 	ldr	r2, [pc, #96]	; a0003784 <echo+0x84>          <== NOT EXECUTED
a0003720:	e2503009 	subs	r3, r0, #9                                   <== NOT EXECUTED
a0003724:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
a0003728:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a000372c:	e0822000 	add	r2, r2, r0                                    <== NOT EXECUTED
a0003730:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0003734:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
a0003738:	1a000003 	bne	a000374c <echo+0x4c>                          <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
a000373c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003740:	ebffff92 	bl	a0003590 <oproc>                               <== NOT EXECUTED
	}                                                                    
}                                                                     
a0003744:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0003748:	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')) {
a000374c:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
a0003750:	0afffff9 	beq	a000373c <echo+0x3c>                          <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
a0003754:	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] = '^';                                                   
a0003758:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a000375c:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0003760:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0003764:	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;                                              
a0003768:	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] = '^';                                                   
a000376c:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a0003770:	ebffff3e 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
		tty->column += 2;                                                   
a0003774:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003778:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a000377c:	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')) {
a0003780:	eaffffef 	b	a0003744 <echo+0x44>                            <== NOT EXECUTED
                                                                      

a0002174 <endgrent>: group_fp = fopen("/etc/group", "r"); } void endgrent(void) { if (group_fp != NULL)
a0002174:	e59f300c 	ldr	r3, [pc, #12]	; a0002188 <endgrent+0x14>      <== NOT EXECUTED
a0002178:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a000217c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002180:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
a0002184:	ea003339 	b	a000ee70 <fclose>                               <== NOT EXECUTED
                                                                      

a000218c <endpwent>: passwd_fp = fopen("/etc/passwd", "r"); } void endpwent(void) { if (passwd_fp != NULL)
a000218c:	e59f300c 	ldr	r3, [pc, #12]	; a00021a0 <endpwent+0x14>      <== NOT EXECUTED
a0002190:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
a0002194:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002198:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
a000219c:	ea003333 	b	a000ee70 <fclose>                               <== NOT EXECUTED
                                                                      

a0003788 <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)
a0003788:	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)                   
{                                                                     
a000378c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a0003790:	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)                   
{                                                                     
a0003794:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0003798:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a000379c:	0a000027 	beq	a0003840 <erase+0xb8>                         <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
a00037a0:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a00037a4:	0590203c 	ldreq	r2, [r0, #60]	; 0x3c                        <== NOT EXECUTED
a00037a8:	1a000025 	bne	a0003844 <erase+0xbc>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
a00037ac:	e59f71d0 	ldr	r7, [pc, #464]	; a0003984 <erase+0x1fc>       <== NOT EXECUTED
a00037b0:	ea000007 	b	a00037d4 <erase+0x4c>                           <== NOT EXECUTED
a00037b4:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
a00037b8:	1a000059 	bne	a0003924 <erase+0x19c>                        <== NOT EXECUTED
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
a00037bc:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00037c0:	0a00001e 	beq	a0003840 <erase+0xb8>                         <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
a00037c4:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00037c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00037cc:	0a00001b 	beq	a0003840 <erase+0xb8>                         <== NOT EXECUTED
a00037d0:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
		unsigned char c = tty->cbuf[--tty->ccount];                         
a00037d4:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a00037d8:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a00037dc:	e5843020 	str	r3, [r4, #32]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a00037e0:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
a00037e4:	e7d05003 	ldrb	r5, [r0, r3]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a00037e8:	0afffff3 	beq	a00037bc <erase+0x34>                         <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
a00037ec:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00037f0:	1a000001 	bne	a00037fc <erase+0x74>                         <== NOT EXECUTED
a00037f4:	e3120010 	tst	r2, #16                                       <== NOT EXECUTED
a00037f8:	0a000045 	beq	a0003914 <erase+0x18c>                        <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
a00037fc:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
a0003800:	0a00001f 	beq	a0003884 <erase+0xfc>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
a0003804:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a0003808:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
a000380c:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a0003810:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003814:	1affffe6 	bne	a00037b4 <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);                            
a0003818:	e59f0168 	ldr	r0, [pc, #360]	; a0003988 <erase+0x200>       <== NOT EXECUTED
a000381c:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003820:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003824:	ebffff11 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0003828:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000382c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0003830:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003834:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
a0003838:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000383c:	1affffe0 	bne	a00037c4 <erase+0x3c>                         <== NOT EXECUTED
a0003840:	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)) {                               
a0003844:	e590203c 	ldr	r2, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a0003848:	e2121008 	ands	r1, r2, #8                                   <== NOT EXECUTED
a000384c:	0a00002e 	beq	a000390c <erase+0x184>                        <== NOT EXECUTED
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
a0003850:	e2121010 	ands	r1, r2, #16                                  <== NOT EXECUTED
a0003854:	1affffd4 	bne	a00037ac <erase+0x24>                         <== NOT EXECUTED
			tty->ccount = 0;                                                   
a0003858:	e5801020 	str	r1, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
a000385c:	e5d00044 	ldrb	r0, [r0, #68]	; 0x44                         <== NOT EXECUTED
a0003860:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003864:	ebffffa5 	bl	a0003700 <echo>                                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
a0003868:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a000386c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003870:	0afffff2 	beq	a0003840 <erase+0xb8>                         <== NOT EXECUTED
				echo ('\n', tty);                                                 
a0003874:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003878:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
a000387c:	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);                                                 
a0003880:	eaffff9e 	b	a0003700 <echo>                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a0003884:	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;                                 
a0003888:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a000388c:	0a000011 	beq	a00038d8 <erase+0x150>                        <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0003890:	e5978000 	ldr	r8, [r7]                                      <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
a0003894:	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)) {                                          
a0003898:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
a000389c:	e7d01002 	ldrb	r1, [r0, r2]                                 <== NOT EXECUTED
a00038a0:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
					if (c == '\t') {                                                 
a00038a4:	e3510009 	cmp	r1, #9                                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
a00038a8:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
					}                                                                
					else if (iscntrl (c)) {                                          
a00038ac:	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;                                            
a00038b0:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
a00038b4:	0a000005 	beq	a00038d0 <erase+0x148>                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a00038b8:	e5dc1001 	ldrb	r1, [ip, #1]                                 <== NOT EXECUTED
a00038bc:	e3110020 	tst	r1, #32                                       <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
							col += 2;                                                      
					}                                                                
					else {                                                           
						col++;                                                          
a00038c0:	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)) {                                          
a00038c4:	0a000001 	beq	a00038d0 <erase+0x148>                        <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
a00038c8:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
							col += 2;                                                      
a00038cc:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a00038d0:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00038d4:	1afffff0 	bne	a000389c <erase+0x114>                        <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a00038d8:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00038dc:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a00038e0:	aaffffb5 	bge	a00037bc <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
a00038e4:	e59f00a0 	ldr	r0, [pc, #160]	; a000398c <erase+0x204>       <== NOT EXECUTED
a00038e8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00038ec:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00038f0:	ebfffede 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
					tty->column--;                                                   
a00038f4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00038f8:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a00038fc:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
a0003900:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a0003904:	bafffff6 	blt	a00038e4 <erase+0x15c>                        <== NOT EXECUTED
a0003908:	eaffffab 	b	a00037bc <erase+0x34>                           <== NOT EXECUTED
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
			tty->ccount = 0;                                                   
a000390c:	e5801020 	str	r1, [r0, #32]                                 <== NOT EXECUTED
			return;                                                            
a0003910:	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);                            
a0003914:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
a0003918:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
a000391c:	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);                            
a0003920:	eaffff76 	b	a0003700 <echo>                                 <== NOT EXECUTED
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
					rtems_termios_puts ("\b \b", 3, tty);                            
a0003924:	e59f005c 	ldr	r0, [pc, #92]	; a0003988 <erase+0x200>        <== NOT EXECUTED
a0003928:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a000392c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003930:	ebfffece 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0003934:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003938:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a000393c:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003940:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
a0003944:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a0003948:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a000394c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003950:	0affffb0 	beq	a0003818 <erase+0x90>                         <== NOT EXECUTED
a0003954:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003958:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
a000395c:	0affff96 	beq	a00037bc <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
a0003960:	e59f0020 	ldr	r0, [pc, #32]	; a0003988 <erase+0x200>        <== NOT EXECUTED
a0003964:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003968:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000396c:	ebfffebf 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0003970:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003974:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0003978:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000397c:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003980:	eaffffac 	b	a0003838 <erase+0xb0>                           <== NOT EXECUTED
                                                                      

a00028d0 <fcntl>: int fcntl( int fd, int cmd, ... ) {
a00028d0:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a00028d4:	e59f21cc 	ldr	r2, [pc, #460]	; a0002aa8 <fcntl+0x1d8>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a00028d8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a00028dc:	e5922000 	ldr	r2, [r2]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a00028e0:	e24dd004 	sub	sp, sp, #4                                    
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a00028e4:	e28d3028 	add	r3, sp, #40	; 0x28                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a00028e8:	e1500002 	cmp	r0, r2                                        
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a00028ec:	e58d3000 	str	r3, [sp]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a00028f0:	e59d4024 	ldr	r4, [sp, #36]	; 0x24                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a00028f4:	2a00005f 	bcs	a0002a78 <fcntl+0x1a8>                        
  iop = rtems_libio_iop( fd );                                        
a00028f8:	e59f61ac 	ldr	r6, [pc, #428]	; a0002aac <fcntl+0x1dc>       
a00028fc:	e5967000 	ldr	r7, [r6]                                      
a0002900:	e0875300 	add	r5, r7, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002904:	e595c014 	ldr	ip, [r5, #20]                                 
a0002908:	e31c0c01 	tst	ip, #256	; 0x100                              
a000290c:	0a000059 	beq	a0002a78 <fcntl+0x1a8>                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
a0002910:	e3540009 	cmp	r4, #9                                        
a0002914:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
a0002918:	ea00002a 	b	a00029c8 <fcntl+0xf8>                           
a000291c:	a00029dc 	.word	0xa00029dc                                  
a0002920:	a0002a3c 	.word	0xa0002a3c                                  
a0002924:	a0002a48 	.word	0xa0002a48                                  
a0002928:	a0002a68 	.word	0xa0002a68                                  
a000292c:	a0002968 	.word	0xa0002968                                  
a0002930:	a0002944 	.word	0xa0002944                                  
a0002934:	a0002944 	.word	0xa0002944                                  
a0002938:	a0002944 	.word	0xa0002944                                  
a000293c:	a0002944 	.word	0xa0002944                                  
a0002940:	a0002944 	.word	0xa0002944                                  
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
a0002944:	eb0032ba 	bl	a000f434 <__errno>                             
a0002948:	e3a03086 	mov	r3, #134	; 0x86                               
a000294c:	e5803000 	str	r3, [r0]                                      
a0002950:	e3e07000 	mvn	r7, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
a0002954:	e1a00007 	mov	r0, r7                                        
a0002958:	e28dd004 	add	sp, sp, #4                                    
a000295c:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a0002960:	e28dd00c 	add	sp, sp, #12                                   
a0002964:	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 ) );           
a0002968:	e5930000 	ldr	r0, [r3]                                      
a000296c:	eb00023c 	bl	a0003264 <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
a0002970:	e5952014 	ldr	r2, [r5, #20]                                 
a0002974:	e3a03c02 	mov	r3, #512	; 0x200                              
a0002978:	e2833001 	add	r3, r3, #1                                    
a000297c:	e3c22c02 	bic	r2, r2, #512	; 0x200                          
a0002980:	e0003003 	and	r3, r0, r3                                    
a0002984:	e3c22001 	bic	r2, r2, #1                                    
a0002988:	e1833002 	orr	r3, r3, r2                                    
a000298c:	e5853014 	str	r3, [r5, #20]                                 
a0002990:	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) {                                     
a0002994:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          
a0002998:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a000299c:	e3530000 	cmp	r3, #0                                        
a00029a0:	0affffeb 	beq	a0002954 <fcntl+0x84>                         
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
a00029a4:	e1a00004 	mov	r0, r4                                        
a00029a8:	e1a01005 	mov	r1, r5                                        
a00029ac:	e12fff33 	blx	r3                                            
      if (err) {                                                      
a00029b0:	e2504000 	subs	r4, r0, #0                                   
a00029b4:	0affffe6 	beq	a0002954 <fcntl+0x84>                         
        errno = err;                                                  
a00029b8:	eb00329d 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a00029bc:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a00029c0:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00029c4:	eaffffe2 	b	a0002954 <fcntl+0x84>                           <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
a00029c8:	eb003299 	bl	a000f434 <__errno>                             
a00029cc:	e3a03016 	mov	r3, #22                                       
a00029d0:	e5803000 	str	r3, [r0]                                      
a00029d4:	e3e07000 	mvn	r7, #0                                        
a00029d8:	eaffffdd 	b	a0002954 <fcntl+0x84>                           
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
a00029dc:	e5938000 	ldr	r8, [r3]                                      
      if ( fd2 )                                                      
a00029e0:	e3580000 	cmp	r8, #0                                        
a00029e4:	0a000028 	beq	a0002a8c <fcntl+0x1bc>                        
        diop = rtems_libio_iop( fd2 );                                
a00029e8:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
a00029ec:	93a09000 	movls	r9, #0                                      <== NOT EXECUTED
a00029f0:	80878308 	addhi	r8, r7, r8, lsl #6                          <== NOT EXECUTED
a00029f4:	91a08009 	movls	r8, r9                                      <== NOT EXECUTED
a00029f8:	81a09008 	movhi	r9, r8                                      <== NOT EXECUTED
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a00029fc:	e288a018 	add	sl, r8, #24                                   
a0002a00:	e2856018 	add	r6, r5, #24                                   
a0002a04:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a0002a08:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a0002a0c:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002a10:	e5961000 	ldr	r1, [r6]                                      
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
a0002a14:	e5953038 	ldr	r3, [r5, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002a18:	e0677009 	rsb	r7, r7, r9                                    
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002a1c:	e58a1000 	str	r1, [sl]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a0002a20:	e588203c 	str	r2, [r8, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
a0002a24:	e5883038 	str	r3, [r8, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
a0002a28:	e588c014 	str	ip, [r8, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002a2c:	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) {                                                     
a0002a30:	e3570000 	cmp	r7, #0                                        
a0002a34:	aaffffd6 	bge	a0002994 <fcntl+0xc4>                         
a0002a38:	eaffffc5 	b	a0002954 <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);          
a0002a3c:	e1a0c5ac 	lsr	ip, ip, #11                                   
a0002a40:	e20c7001 	and	r7, ip, #1                                    
a0002a44:	eaffffd2 	b	a0002994 <fcntl+0xc4>                           
       *  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 ) )                                        
a0002a48:	e5937000 	ldr	r7, [r3]                                      
a0002a4c:	e3570000 	cmp	r7, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a0002a50:	138ccb02 	orrne	ip, ip, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0002a54:	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;                      
a0002a58:	1585c014 	strne	ip, [r5, #20]                               
a0002a5c:	13a07000 	movne	r7, #0                                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0002a60:	0585c014 	streq	ip, [r5, #20]                               
a0002a64:	eaffffca 	b	a0002994 <fcntl+0xc4>                           
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
a0002a68:	e1a0000c 	mov	r0, ip                                        
a0002a6c:	eb00015b 	bl	a0002fe0 <rtems_libio_to_fcntl_flags>          
a0002a70:	e1a07000 	mov	r7, r0                                        
a0002a74:	eaffffed 	b	a0002a30 <fcntl+0x160>                          
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a0002a78:	eb00326d 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a0002a7c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0002a80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002a84:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0002a88:	eaffffb1 	b	a0002954 <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();                                
a0002a8c:	eb0001c6 	bl	a00031ac <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
a0002a90:	e2508000 	subs	r8, r0, #0                                   
a0002a94:	0affffc9 	beq	a00029c0 <fcntl+0xf0>                         
a0002a98:	e5967000 	ldr	r7, [r6]                                      
a0002a9c:	e595c014 	ldr	ip, [r5, #20]                                 
a0002aa0:	e1a09008 	mov	r9, r8                                        
a0002aa4:	eaffffd4 	b	a00029fc <fcntl+0x12c>                          
                                                                      

a00094ec <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
a00094ec:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a00094f0:	e59f53bc 	ldr	r5, [pc, #956]	; a00098b4 <fifo_open+0x3c8>   
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00094f4:	e1a07001 	mov	r7, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a00094f8:	e3a01000 	mov	r1, #0                                        
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00094fc:	e24dd008 	sub	sp, sp, #8                                    
a0009500:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a0009504:	e1a02001 	mov	r2, r1                                        
a0009508:	e5950000 	ldr	r0, [r5]                                      
a000950c:	ebfff02e 	bl	a00055cc <rtems_semaphore_obtain>              
a0009510:	e2509000 	subs	r9, r0, #0                                   
a0009514:	13e08003 	mvnne	r8, #3                                      
a0009518:	1a00001c 	bne	a0009590 <fifo_open+0xa4>                     
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
a000951c:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
  if (pipe == NULL) {                                                 
a0009520:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0009524:	0a00001c 	beq	a000959c <fifo_open+0xb0>                     <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0009528:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000952c:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
a0009530:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0009534:	ebfff024 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a0009538:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000953c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0009540:	01a08000 	moveq	r8, r0                                      <== NOT EXECUTED
a0009544:	13e08003 	mvnne	r8, #3                                      <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a0009548:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000954c:	0a0000ab 	beq	a0009800 <fifo_open+0x314>                    <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a0009550:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009554:	ebfff064 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
a0009558:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000955c:	1a00000b 	bne	a0009590 <fifo_open+0xa4>                     <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a0009560:	e5973014 	ldr	r3, [r7, #20]                                 <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
a0009564:	e5945000 	ldr	r5, [r4]                                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a0009568:	e2033006 	and	r3, r3, #6                                    <== NOT EXECUTED
a000956c:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
a0009570:	0a000082 	beq	a0009780 <fifo_open+0x294>                    <== NOT EXECUTED
a0009574:	e3530006 	cmp	r3, #6                                        <== NOT EXECUTED
a0009578:	0a00006c 	beq	a0009730 <fifo_open+0x244>                    <== NOT EXECUTED
a000957c:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0009580:	0a000046 	beq	a00096a0 <fifo_open+0x1b4>                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a0009584:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0009588:	ebfff057 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a000958c:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
a0009590:	e1a00008 	mov	r0, r8                                        
a0009594:	e28dd008 	add	sp, sp, #8                                    
a0009598:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000959c:	e3a00034 	mov	r0, #52	; 0x34                                <== NOT EXECUTED
a00095a0:	ebffe349 	bl	a00022cc <malloc>                              <== NOT EXECUTED
  if (pipe == NULL)                                                   
a00095a4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a00095a8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a00095ac:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
a00095b0:	0a0000bd 	beq	a00098ac <fifo_open+0x3c0>                    <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a00095b4:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a00095b8:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095bc:	e2822004 	add	r2, r2, #4                                    <== NOT EXECUTED
a00095c0:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095c4:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095c8:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095cc:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095d0:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095d4:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095d8:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095dc:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095e0:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
a00095e4:	e4829004 	str	r9, [r2], #4                                  <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
a00095e8:	e3a03c02 	mov	r3, #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));                            
a00095ec:	e5829000 	str	r9, [r2]                                      <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
a00095f0:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
a00095f4:	e5863004 	str	r3, [r6, #4]                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
a00095f8:	ebffe333 	bl	a00022cc <malloc>                              <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a00095fc:	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);                                  
a0009600:	e5860000 	str	r0, [r6]                                      <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a0009604:	0a0000a6 	beq	a00098a4 <fifo_open+0x3b8>                    <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
  if (rtems_barrier_create(                                           
a0009608:	e59f82a8 	ldr	r8, [pc, #680]	; a00098b8 <fifo_open+0x3cc>   <== NOT EXECUTED
a000960c:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a0009610:	e1a02009 	mov	r2, r9                                        <== NOT EXECUTED
a0009614:	e5d80000 	ldrb	r0, [r8]                                     <== NOT EXECUTED
a0009618:	e286302c 	add	r3, r6, #44	; 0x2c                            <== NOT EXECUTED
a000961c:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              <== NOT EXECUTED
a0009620:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a0009624:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       <== NOT EXECUTED
a0009628:	eb00068f 	bl	a000b06c <rtems_barrier_create>                <== NOT EXECUTED
a000962c:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a0009630:	1a000099 	bne	a000989c <fifo_open+0x3b0>                    <== 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(                                           
a0009634:	e5d83000 	ldrb	r3, [r8]                                     <== NOT EXECUTED
a0009638:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000963c:	e3830205 	orr	r0, r3, #1342177280	; 0x50000000              <== NOT EXECUTED
a0009640:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a0009644:	e2863030 	add	r3, r6, #48	; 0x30                            <== NOT EXECUTED
a0009648:	e3800c77 	orr	r0, r0, #30464	; 0x7700                       <== NOT EXECUTED
a000964c:	eb000686 	bl	a000b06c <rtems_barrier_create>                <== NOT EXECUTED
a0009650:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0009654:	1a00008e 	bne	a0009894 <fifo_open+0x3a8>                    <== 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(                                         
a0009658:	e5d82000 	ldrb	r2, [r8]                                     <== NOT EXECUTED
a000965c:	e286c028 	add	ip, r6, #40	; 0x28                            <== NOT EXECUTED
a0009660:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0009664:	e3820205 	orr	r0, r2, #1342177280	; 0x50000000              <== NOT EXECUTED
a0009668:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a000966c:	e3800c73 	orr	r0, r0, #29440	; 0x7300                       <== NOT EXECUTED
a0009670:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a0009674:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0009678:	ebffef38 	bl	a0005360 <rtems_semaphore_create>              <== NOT EXECUTED
a000967c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0009680:	1a000081 	bne	a000988c <fifo_open+0x3a0>                    <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a0009684:	e5d83000 	ldrb	r3, [r8]                                     <== NOT EXECUTED
a0009688:	e353007a 	cmp	r3, #122	; 0x7a                               <== NOT EXECUTED
a000968c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0009690:	e5c83000 	strb	r3, [r8]                                     <== NOT EXECUTED
    c = 'a';                                                          
a0009694:	03a03061 	moveq	r3, #97	; 0x61                              <== NOT EXECUTED
a0009698:	05c83000 	strbeq	r3, [r8]                                   <== NOT EXECUTED
a000969c:	eaffffa1 	b	a0009528 <fifo_open+0x3c>                       <== NOT EXECUTED
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a00096a0:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00096a4:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a00096a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00096ac:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a00096b0:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a00096b4:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a00096b8:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
a00096bc:	0a00006a 	beq	a000986c <fifo_open+0x380>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
a00096c0:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
a00096c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00096c8:	1affffad 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
a00096cc:	e5973014 	ldr	r3, [r7, #20]                                 <== NOT EXECUTED
a00096d0:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a00096d4:	1affffaa 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
a00096d8:	e5956024 	ldr	r6, [r5, #36]	; 0x24                          <== NOT EXECUTED
a00096dc:	ea000006 	b	a00096fc <fifo_open+0x210>                      <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a00096e0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00096e4:	ebffefb8 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a00096e8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00096ec:	1a00000a 	bne	a000971c <fifo_open+0x230>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
a00096f0:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
a00096f4:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a00096f8:	1affffa1 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a00096fc:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0009700:	ebffeff9 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
a0009704:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0009708:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000970c:	eb0006cc 	bl	a000b244 <rtems_barrier_wait>                  <== NOT EXECUTED
a0009710:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a0009714:	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))                                  
a0009718:	0afffff0 	beq	a00096e0 <fifo_open+0x1f4>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
a000971c:	e3e08003 	mvn	r8, #3                                        <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
a0009720:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0009724:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0009728:	ebffff28 	bl	a00093d0 <pipe_release>                        <== NOT EXECUTED
  return err;                                                         
a000972c:	eaffff97 	b	a0009590 <fifo_open+0xa4>                       <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a0009730:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a0009734:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0009738:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000973c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0009740:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a0009744:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a0009748:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
a000974c:	0a00003e 	beq	a000984c <fifo_open+0x360>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a0009750:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a0009754:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0009758:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000975c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0009760:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a0009764:	e5852024 	str	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a0009768:	e5853014 	str	r3, [r5, #20]                                 <== NOT EXECUTED
a000976c:	1affff84 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
a0009770:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0009774:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a0009778:	eb000698 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a000977c:	eaffff80 	b	a0009584 <fifo_open+0x98>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0009780:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a0009784:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0009788:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a000978c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0009790:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
a0009794:	e5852024 	str	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
a0009798:	e5853014 	str	r3, [r5, #20]                                 <== NOT EXECUTED
a000979c:	0a00002e 	beq	a000985c <fifo_open+0x370>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a00097a0:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
a00097a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00097a8:	1affff75 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
a00097ac:	e5973014 	ldr	r3, [r7, #20]                                 <== NOT EXECUTED
a00097b0:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
a00097b4:	05956020 	ldreq	r6, [r5, #32]                               <== NOT EXECUTED
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a00097b8:	0a000007 	beq	a00097dc <fifo_open+0x2f0>                    <== NOT EXECUTED
a00097bc:	ea00002e 	b	a000987c <fifo_open+0x390>                      <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a00097c0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00097c4:	ebffef80 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a00097c8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00097cc:	1affffd2 	bne	a000971c <fifo_open+0x230>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
a00097d0:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00097d4:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a00097d8:	1affff69 	bne	a0009584 <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a00097dc:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00097e0:	ebffefc1 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
a00097e4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00097e8:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a00097ec:	eb000694 	bl	a000b244 <rtems_barrier_wait>                  <== NOT EXECUTED
a00097f0:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a00097f4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
a00097f8:	0afffff0 	beq	a00097c0 <fifo_open+0x2d4>                    <== NOT EXECUTED
a00097fc:	eaffffc6 	b	a000971c <fifo_open+0x230>                      <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
a0009800:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a0009804:	1a000003 	bne	a0009818 <fifo_open+0x32c>                    <== NOT EXECUTED
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
a0009808:	e5846000 	str	r6, [r4]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000980c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009810:	ebffefb5 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0009814:	eaffff51 	b	a0009560 <fifo_open+0x74>                       <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a0009818:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          <== NOT EXECUTED
a000981c:	eb000643 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a0009820:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          <== NOT EXECUTED
a0009824:	eb000641 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a0009828:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
a000982c:	ebffef3d 	bl	a0005528 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a0009830:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a0009834:	ebffe1c0 	bl	a0001f3c <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a0009838:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000983c:	ebffe1be 	bl	a0001f3c <free>                                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a0009840:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009844:	ebffefa8 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0009848:	eaffff50 	b	a0009590 <fifo_open+0xa4>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000984c:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0009850:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a0009854:	eb000661 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a0009858:	eaffffbc 	b	a0009750 <fifo_open+0x264>                      <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
a000985c:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0009860:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a0009864:	eb00065d 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a0009868:	eaffffcc 	b	a00097a0 <fifo_open+0x2b4>                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000986c:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0009870:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
a0009874:	eb000659 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a0009878:	eaffff90 	b	a00096c0 <fifo_open+0x1d4>                      <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
a000987c:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a0009880:	ebffef99 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0009884:	e3e08005 	mvn	r8, #5                                        <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
a0009888:	eaffffa4 	b	a0009720 <fifo_open+0x234>                      <== NOT EXECUTED
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
a000988c:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          <== NOT EXECUTED
a0009890:	eb000626 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
a0009894:	e59a002c 	ldr	r0, [sl, #44]	; 0x2c                          <== NOT EXECUTED
a0009898:	eb000624 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
a000989c:	e59a0000 	ldr	r0, [sl]                                      <== NOT EXECUTED
a00098a0:	ebffe1a5 	bl	a0001f3c <free>                                <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
a00098a4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a00098a8:	ebffe1a3 	bl	a0001f3c <free>                                <== NOT EXECUTED
a00098ac:	e3e0800b 	mvn	r8, #11                                       <== NOT EXECUTED
a00098b0:	eaffffe2 	b	a0009840 <fifo_open+0x354>                      <== NOT EXECUTED
                                                                      

a0002b50 <fpathconf>: { long return_value; rtems_libio_t *iop; rtems_filesystem_limits_and_options_t *the_limits; rtems_libio_check_fd(fd);
a0002b50:	e59f3108 	ldr	r3, [pc, #264]	; a0002c60 <fpathconf+0x110>   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
a0002b54:	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);                                           
a0002b58:	e5933000 	ldr	r3, [r3]                                      
a0002b5c:	e1500003 	cmp	r0, r3                                        
a0002b60:	2a000034 	bcs	a0002c38 <fpathconf+0xe8>                     
  iop = rtems_libio_iop(fd);                                          
a0002b64:	e59f30f8 	ldr	r3, [pc, #248]	; a0002c64 <fpathconf+0x114>   
a0002b68:	e5933000 	ldr	r3, [r3]                                      
a0002b6c:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002b70:	e5903014 	ldr	r3, [r0, #20]                                 
a0002b74:	e3130c01 	tst	r3, #256	; 0x100                              
a0002b78:	0a00002e 	beq	a0002c38 <fpathconf+0xe8>                     
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002b7c:	e3130002 	tst	r3, #2                                        
a0002b80:	0a000031 	beq	a0002c4c <fpathconf+0xfc>                     
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
a0002b84:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
a0002b88:	e351000b 	cmp	r1, #11                                       
a0002b8c:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
a0002b90:	ea00000d 	b	a0002bcc <fpathconf+0x7c>                       
a0002b94:	a0002be0 	.word	0xa0002be0                                  
a0002b98:	a0002be8 	.word	0xa0002be8                                  
a0002b9c:	a0002bf0 	.word	0xa0002bf0                                  
a0002ba0:	a0002bf8 	.word	0xa0002bf8                                  
a0002ba4:	a0002c00 	.word	0xa0002c00                                  
a0002ba8:	a0002c08 	.word	0xa0002c08                                  
a0002bac:	a0002c10 	.word	0xa0002c10                                  
a0002bb0:	a0002c18 	.word	0xa0002c18                                  
a0002bb4:	a0002c20 	.word	0xa0002c20                                  
a0002bb8:	a0002c28 	.word	0xa0002c28                                  
a0002bbc:	a0002c30 	.word	0xa0002c30                                  
a0002bc0:	a0002bc4 	.word	0xa0002bc4                                  
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
a0002bc4:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
a0002bc8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0002bcc:	eb003218 	bl	a000f434 <__errno>                             
a0002bd0:	e3a03016 	mov	r3, #22                                       
a0002bd4:	e5803000 	str	r3, [r0]                                      
a0002bd8:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
a0002bdc:	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;                            
a0002be0:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
a0002be4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
a0002be8:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
a0002bec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
a0002bf0:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
a0002bf4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
a0002bf8:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
a0002bfc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
a0002c00:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
a0002c04:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
a0002c08:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
a0002c0c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
a0002c10:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
a0002c14:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
a0002c18:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
a0002c1c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
a0002c20:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
a0002c24:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
a0002c28:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
a0002c2c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
a0002c30:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
a0002c34:	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);                                     
a0002c38:	eb0031fd 	bl	a000f434 <__errno>                             
a0002c3c:	e3a03009 	mov	r3, #9                                        
a0002c40:	e5803000 	str	r3, [r0]                                      
a0002c44:	e3e00000 	mvn	r0, #0                                        
a0002c48:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002c4c:	eb0031f8 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a0002c50:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002c54:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002c58:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002c5c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a0001f3c <free>: void free( void *ptr ) { MSBUMP(free_calls, 1);
a0001f3c:	e59f3090 	ldr	r3, [pc, #144]	; a0001fd4 <free+0x98>         
a0001f40:	e92d4030 	push	{r4, r5, lr}                                 
a0001f44:	e593200c 	ldr	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a0001f48:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a0001f4c:	e2822001 	add	r2, r2, #1                                    
a0001f50:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a0001f54:	0a000010 	beq	a0001f9c <free+0x60>                          
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001f58:	e59f3078 	ldr	r3, [pc, #120]	; a0001fd8 <free+0x9c>         
a0001f5c:	e5933000 	ldr	r3, [r3]                                      
a0001f60:	e3530003 	cmp	r3, #3                                        
a0001f64:	0a000014 	beq	a0001fbc <free+0x80>                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0001f68:	e59f306c 	ldr	r3, [pc, #108]	; a0001fdc <free+0xa0>         
a0001f6c:	e5933000 	ldr	r3, [r3]                                      
a0001f70:	e3530000 	cmp	r3, #0                                        
a0001f74:	0a000002 	beq	a0001f84 <free+0x48>                          
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
a0001f78:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0001f7c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001f80:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
a0001f84:	e59f5054 	ldr	r5, [pc, #84]	; a0001fe0 <free+0xa4>          
a0001f88:	e1a01004 	mov	r1, r4                                        
a0001f8c:	e5950000 	ldr	r0, [r5]                                      
a0001f90:	eb00143c 	bl	a0007088 <_Protected_heap_Free>                
a0001f94:	e3500000 	cmp	r0, #0                                        
a0001f98:	0a000000 	beq	a0001fa0 <free+0x64>                          
a0001f9c:	e8bd8030 	pop	{r4, r5, pc}                                  
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
a0001fa0:	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",
a0001fa4:	e59f0038 	ldr	r0, [pc, #56]	; a0001fe4 <free+0xa8>          <== NOT EXECUTED
a0001fa8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0001fac:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001fb0:	e5922018 	ldr	r2, [r2, #24]                                 <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0001fb4:	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",
a0001fb8:	ea000390 	b	a0002e00 <printk>                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001fbc:	eb000065 	bl	a0002158 <malloc_is_system_state_OK>           
a0001fc0:	e3500000 	cmp	r0, #0                                        
a0001fc4:	1affffe7 	bne	a0001f68 <free+0x2c>                          
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
a0001fc8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0001fcc:	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);                                      
a0001fd0:	ea000073 	b	a00021a4 <malloc_deferred_free>                 <== NOT EXECUTED
                                                                      

a00031f4 <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
a00031f4:	e59f305c 	ldr	r3, [pc, #92]	; a0003258 <free_user_env+0x64> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a00031f8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a00031fc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a0003200:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a0003204:	0a000012 	beq	a0003254 <free_user_env+0x60>                 <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
a0003208:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
a000320c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003210:	0a000004 	beq	a0003228 <free_user_env+0x34>                 <== NOT EXECUTED
a0003214:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003218:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000321c:	0a000001 	beq	a0003228 <free_user_env+0x34>                 <== NOT EXECUTED
a0003220:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a0003224:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
a0003228:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a000322c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003230:	0a000004 	beq	a0003248 <free_user_env+0x54>                 <== NOT EXECUTED
a0003234:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003238:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000323c:	0a000001 	beq	a0003248 <free_user_env+0x54>                 <== NOT EXECUTED
a0003240:	e2840018 	add	r0, r4, #24                                   <== NOT EXECUTED
a0003244:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		free(env);                                                          
a0003248:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
a000324c:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
a0003250:	eafffb7c 	b	a0002048 <free>                                 <== NOT EXECUTED
a0003254:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0019930 <fstat>: int fstat( int fd, struct stat *sbuf ) {
a0019930:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
a0019934:	e2515000 	subs	r5, r1, #0                                   
a0019938:	0a000023 	beq	a00199cc <fstat+0x9c>                         
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
a001993c:	e59f309c 	ldr	r3, [pc, #156]	; a00199e0 <fstat+0xb0>        
a0019940:	e5933000 	ldr	r3, [r3]                                      
a0019944:	e1500003 	cmp	r0, r3                                        
a0019948:	2a000015 	bcs	a00199a4 <fstat+0x74>                         
a001994c:	e59f3090 	ldr	r3, [pc, #144]	; a00199e4 <fstat+0xb4>        
a0019950:	e5934000 	ldr	r4, [r3]                                      
a0019954:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
a0019958:	e5943014 	ldr	r3, [r4, #20]                                 
a001995c:	e3130c01 	tst	r3, #256	; 0x100                              
a0019960:	0a00000f 	beq	a00199a4 <fstat+0x74>                         
                                                                      
  if ( !iop->handlers )                                               
a0019964:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0019968:	e3530000 	cmp	r3, #0                                        
a001996c:	0a00000c 	beq	a00199a4 <fstat+0x74>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fstat_h )                                      
a0019970:	e5933018 	ldr	r3, [r3, #24]                                 
a0019974:	e3530000 	cmp	r3, #0                                        
a0019978:	0a00000e 	beq	a00199b8 <fstat+0x88>                         
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
a001997c:	e3a01000 	mov	r1, #0                                        
a0019980:	e3a02048 	mov	r2, #72	; 0x48                                
a0019984:	e1a00005 	mov	r0, r5                                        
a0019988:	ebffd494 	bl	a000ebe0 <memset>                              
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
a001998c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0019990:	e2840018 	add	r0, r4, #24                                   
a0019994:	e1a01005 	mov	r1, r5                                        
a0019998:	e5933018 	ldr	r3, [r3, #24]                                 
a001999c:	e12fff33 	blx	r3                                            
}                                                                     
a00199a0:	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 );                    
a00199a4:	ebffd243 	bl	a000e2b8 <__errno>                             
a00199a8:	e3a03009 	mov	r3, #9                                        
a00199ac:	e5803000 	str	r3, [r0]                                      
a00199b0:	e3e00000 	mvn	r0, #0                                        
a00199b4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  if ( !iop->handlers->fstat_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00199b8:	ebffd23e 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00199bc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00199c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00199c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00199c8:	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 );                   
a00199cc:	ebffd239 	bl	a000e2b8 <__errno>                             
a00199d0:	e3a0300e 	mov	r3, #14                                       
a00199d4:	e5803000 	str	r3, [r0]                                      
a00199d8:	e3e00000 	mvn	r0, #0                                        
a00199dc:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a0002dd8 <fsync>: int fd ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0002dd8:	e59f3088 	ldr	r3, [pc, #136]	; a0002e68 <fsync+0x90>        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
a0002ddc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002de0:	e5933000 	ldr	r3, [r3]                                      
a0002de4:	e1500003 	cmp	r0, r3                                        
a0002de8:	2a00000f 	bcs	a0002e2c <fsync+0x54>                         
  iop = rtems_libio_iop( fd );                                        
a0002dec:	e59f3078 	ldr	r3, [pc, #120]	; a0002e6c <fsync+0x94>        
a0002df0:	e5933000 	ldr	r3, [r3]                                      
a0002df4:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002df8:	e5903014 	ldr	r3, [r0, #20]                                 
a0002dfc:	e3130c01 	tst	r3, #256	; 0x100                              
a0002e00:	0a000009 	beq	a0002e2c <fsync+0x54>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0002e04:	e3130004 	tst	r3, #4                                        
a0002e08:	0a00000c 	beq	a0002e40 <fsync+0x68>                         
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0002e0c:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
a0002e10:	e3530000 	cmp	r3, #0                                        
a0002e14:	0a000004 	beq	a0002e2c <fsync+0x54>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
a0002e18:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0002e1c:	e3530000 	cmp	r3, #0                                        
a0002e20:	0a00000b 	beq	a0002e54 <fsync+0x7c>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
a0002e24:	e12fff33 	blx	r3                                            
}                                                                     
a0002e28:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0002e2c:	eb003180 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a0002e30:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0002e34:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002e38:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002e3c:	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 );            
a0002e40:	eb00317b 	bl	a000f434 <__errno>                             
a0002e44:	e3a03016 	mov	r3, #22                                       
a0002e48:	e5803000 	str	r3, [r0]                                      
a0002e4c:	e3e00000 	mvn	r0, #0                                        
a0002e50:	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 );                  
a0002e54:	eb003176 	bl	a000f434 <__errno>                             
a0002e58:	e3a03086 	mov	r3, #134	; 0x86                               
a0002e5c:	e5803000 	str	r3, [r0]                                      
a0002e60:	e3e00000 	mvn	r0, #0                                        
a0002e64:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

a000a9e4 <ftruncate>: ) { rtems_libio_t *iop; rtems_filesystem_location_info_t loc; rtems_libio_check_fd( fd );
a000a9e4:	e59f30ec 	ldr	r3, [pc, #236]	; a000aad8 <ftruncate+0xf4>    
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000a9e8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000a9ec:	e5933000 	ldr	r3, [r3]                                      
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000a9f0:	e24dd014 	sub	sp, sp, #20                                   
a000a9f4:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000a9f8:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000a9fc:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000aa00:	2a000020 	bcs	a000aa88 <ftruncate+0xa4>                     
  iop = rtems_libio_iop( fd );                                        
a000aa04:	e59f30d0 	ldr	r3, [pc, #208]	; a000aadc <ftruncate+0xf8>    
a000aa08:	e5934000 	ldr	r4, [r3]                                      
a000aa0c:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a000aa10:	e5943014 	ldr	r3, [r4, #20]                                 
a000aa14:	e3130c01 	tst	r3, #256	; 0x100                              
a000aa18:	0a00001a 	beq	a000aa88 <ftruncate+0xa4>                     
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000aa1c:	e284c018 	add	ip, r4, #24                                   
a000aa20:	e1a0700d 	mov	r7, sp                                        
a000aa24:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000aa28:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a000aa2c:	e59d100c 	ldr	r1, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000aa30:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a000aa34:	e591c010 	ldr	ip, [r1, #16]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000aa38:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
a000aa3c:	e35c0000 	cmp	ip, #0                                        
a000aa40:	0a00001a 	beq	a000aab0 <ftruncate+0xcc>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
a000aa44:	e1a0000d 	mov	r0, sp                                        
a000aa48:	e12fff3c 	blx	ip                                            
a000aa4c:	e3500001 	cmp	r0, #1                                        
a000aa50:	0a00001b 	beq	a000aac4 <ftruncate+0xe0>                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a000aa54:	e5943014 	ldr	r3, [r4, #20]                                 
a000aa58:	e3130004 	tst	r3, #4                                        
a000aa5c:	0a00000e 	beq	a000aa9c <ftruncate+0xb8>                     
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
a000aa60:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a000aa64:	e5933020 	ldr	r3, [r3, #32]                                 
a000aa68:	e3530000 	cmp	r3, #0                                        
a000aa6c:	0a00000f 	beq	a000aab0 <ftruncate+0xcc>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
a000aa70:	e1a00004 	mov	r0, r4                                        
a000aa74:	e1a01005 	mov	r1, r5                                        
a000aa78:	e1a02006 	mov	r2, r6                                        
a000aa7c:	e12fff33 	blx	r3                                            
}                                                                     
a000aa80:	e28dd014 	add	sp, sp, #20                                   
a000aa84:	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);                                     
a000aa88:	eb000e0a 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000aa8c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a000aa90:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000aa94:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000aa98:	eafffff8 	b	a000aa80 <ftruncate+0x9c>                       <== 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 );            
a000aa9c:	eb000e05 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000aaa0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000aaa4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000aaa8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000aaac:	eafffff3 	b	a000aa80 <ftruncate+0x9c>                       <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000aab0:	eb000e00 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000aab4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000aab8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000aabc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000aac0:	eaffffee 	b	a000aa80 <ftruncate+0x9c>                       <== 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 );                   
a000aac4:	eb000dfb 	bl	a000e2b8 <__errno>                             
a000aac8:	e3a03015 	mov	r3, #21                                       
a000aacc:	e5803000 	str	r3, [r0]                                      
a000aad0:	e3e00000 	mvn	r0, #0                                        
a000aad4:	eaffffe9 	b	a000aa80 <ftruncate+0x9c>                       
                                                                      

a001b5fc <getdents>: /* * Get the file control block structure associated with the file descriptor */ iop = rtems_libio_iop( dd_fd );
a001b5fc:	e59f30ac 	ldr	r3, [pc, #172]	; a001b6b0 <getdents+0xb4>     
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001b600:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001b604:	e5933000 	ldr	r3, [r3]                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001b608:	e24dd014 	sub	sp, sp, #20                                   
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001b60c:	e1a0700d 	mov	r7, sp                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001b610:	e1500003 	cmp	r0, r3                                        
a001b614:	359f3098 	ldrcc	r3, [pc, #152]	; a001b6b4 <getdents+0xb8>   
a001b618:	23a04000 	movcs	r4, #0                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001b61c:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001b620:	35934000 	ldrcc	r4, [r3]                                    
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001b624:	e1a05002 	mov	r5, r2                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001b628:	30844300 	addcc	r4, r4, r0, lsl #6                          
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001b62c:	e284c018 	add	ip, r4, #24                                   
a001b630:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a001b634:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a001b638:	e59d100c 	ldr	r1, [sp, #12]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001b63c:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a001b640:	e591c010 	ldr	ip, [r1, #16]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001b644:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
a001b648:	e35c0000 	cmp	ip, #0                                        
a001b64c:	0a000012 	beq	a001b69c <getdents+0xa0>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
a001b650:	e1a0000d 	mov	r0, sp                                        
a001b654:	e12fff3c 	blx	ip                                            
a001b658:	e3500001 	cmp	r0, #1                                        
a001b65c:	1a000009 	bne	a001b688 <getdents+0x8c>                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a001b660:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a001b664:	e5933008 	ldr	r3, [r3, #8]                                  
a001b668:	e3530000 	cmp	r3, #0                                        
a001b66c:	0a00000a 	beq	a001b69c <getdents+0xa0>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
a001b670:	e1a00004 	mov	r0, r4                                        
a001b674:	e1a01006 	mov	r1, r6                                        
a001b678:	e1a02005 	mov	r2, r5                                        
a001b67c:	e12fff33 	blx	r3                                            
}                                                                     
a001b680:	e28dd014 	add	sp, sp, #20                                   
a001b684:	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 );                  
a001b688:	ebffcefd 	bl	a000f284 <__errno>                             
a001b68c:	e3a03014 	mov	r3, #20                                       
a001b690:	e5803000 	str	r3, [r0]                                      
a001b694:	e3e00000 	mvn	r0, #0                                        
a001b698:	eafffff8 	b	a001b680 <getdents+0x84>                        
   *  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 );                  
a001b69c:	ebffcef8 	bl	a000f284 <__errno>                             
a001b6a0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a001b6a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a001b6a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a001b6ac:	eafffff3 	b	a001b680 <getdents+0x84>                        <== NOT EXECUTED
                                                                      

a00027b0 <getgr_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
a00027b0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00027b4:	e59d801c 	ldr	r8, [sp, #28]                                 
a00027b8:	e1a05000 	mov	r5, r0                                        
a00027bc:	e1a0a001 	mov	sl, r1                                        
a00027c0:	e1a04002 	mov	r4, r2                                        
a00027c4:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a00027c8:	ebffffb0 	bl	a0002690 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
a00027cc:	e59f00b0 	ldr	r0, [pc, #176]	; a0002884 <getgr_r+0xd4>      
a00027d0:	e59f10b0 	ldr	r1, [pc, #176]	; a0002888 <getgr_r+0xd8>      
a00027d4:	eb00335d 	bl	a000f550 <fopen>                               
a00027d8:	e2506000 	subs	r6, r0, #0                                   
a00027dc:	1a000006 	bne	a00027fc <getgr_r+0x4c>                       
a00027e0:	ea000022 	b	a0002870 <getgr_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a00027e4:	e5940000 	ldr	r0, [r4]                                      
a00027e8:	eb00372d 	bl	a00104a4 <strcmp>                              
a00027ec:	e2700001 	rsbs	r0, r0, #1                                   
a00027f0:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
    }                                                                 
    if (match) {                                                      
a00027f4:	e3500000 	cmp	r0, #0                                        
a00027f8:	1a00000f 	bne	a000283c <getgr_r+0x8c>                       
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a00027fc:	e1a01004 	mov	r1, r4                                        
a0002800:	e1a02007 	mov	r2, r7                                        
a0002804:	e1a03008 	mov	r3, r8                                        
a0002808:	e1a00006 	mov	r0, r6                                        
a000280c:	ebfffedf 	bl	a0002390 <scangr>                              
a0002810:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a0002814:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a0002818:	0a00000d 	beq	a0002854 <getgr_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
a000281c:	e3550000 	cmp	r5, #0                                        
a0002820:	1affffef 	bne	a00027e4 <getgr_r+0x34>                       
      match = (strcmp(grp->gr_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
a0002824:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0002828:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a000282c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0002830:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a0002834:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002838:	0affffef 	beq	a00027fc <getgr_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a000283c:	e1a00006 	mov	r0, r6                                        
a0002840:	eb00318a 	bl	a000ee70 <fclose>                              
      *result = grp;                                                  
a0002844:	e59d3020 	ldr	r3, [sp, #32]                                 
a0002848:	e3a00000 	mov	r0, #0                                        
a000284c:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a0002850:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
a0002854:	eb003138 	bl	a000ed3c <__errno>                             <== NOT EXECUTED
a0002858:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000285c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a0002860:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002864:	eb003181 	bl	a000ee70 <fclose>                              <== NOT EXECUTED
a0002868:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a000286c:	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;                                                   
a0002870:	eb003131 	bl	a000ed3c <__errno>                             <== NOT EXECUTED
a0002874:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002878:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000287c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0002880:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a00024e4 <getgrent>: return NULL; return p; } struct group *getgrent(void) {
a00024e4:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (group_fp == NULL)                                               
a00024e8:	e59f4030 	ldr	r4, [pc, #48]	; a0002520 <getgrent+0x3c>      <== NOT EXECUTED
a00024ec:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00024f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00024f4:	1a000001 	bne	a0002500 <getgrent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a00024f8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
a00024fc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct group *getgrent(void)                                          
{                                                                     
  if (group_fp == NULL)                                               
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a0002500:	e2841008 	add	r1, r4, #8                                    <== NOT EXECUTED
a0002504:	e2842018 	add	r2, r4, #24                                   <== NOT EXECUTED
a0002508:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a000250c:	ebffff9f 	bl	a0002390 <scangr>                              <== NOT EXECUTED
a0002510:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002514:	0afffff7 	beq	a00024f8 <getgrent+0x14>                      <== NOT EXECUTED
a0002518:	e2840008 	add	r0, r4, #8                                    <== NOT EXECUTED
a000251c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a00028c8 <getgrgid>: struct group *getgrgid( gid_t gid ) {
a00028c8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a00028cc:	e59f1030 	ldr	r1, [pc, #48]	; a0002904 <getgrgid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a00028d0:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a00028d4:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a00028d8:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a00028dc:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
a00028e0:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00028e4:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a00028e8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a00028ec:	ebffffe6 	bl	a000288c <getgrgid_r>                          <== NOT EXECUTED
a00028f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00028f4:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a00028f8:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a00028fc:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002900:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a000288c <getgrgid_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
a000288c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0002890:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0002894:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0002898:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a000289c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00028a0:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a00028a4:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a00028a8:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a00028ac:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a00028b0:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a00028b4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00028b8:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a00028bc:	ebffffbb 	bl	a00027b0 <getgr_r>                             <== NOT EXECUTED
}                                                                     
a00028c0:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00028c4:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0021e78 <getpid>: */ pid_t getpid( void ) { return _Objects_Local_node; }
a0021e78:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0021e7c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a00029ac <getpw_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
a00029ac:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a00029b0:	e59d801c 	ldr	r8, [sp, #28]                                 
a00029b4:	e1a05000 	mov	r5, r0                                        
a00029b8:	e1a0a001 	mov	sl, r1                                        
a00029bc:	e1a04002 	mov	r4, r2                                        
a00029c0:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a00029c4:	ebffff31 	bl	a0002690 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
a00029c8:	e59f00b0 	ldr	r0, [pc, #176]	; a0002a80 <getpw_r+0xd4>      
a00029cc:	e59f10b0 	ldr	r1, [pc, #176]	; a0002a84 <getpw_r+0xd8>      
a00029d0:	eb0032de 	bl	a000f550 <fopen>                               
a00029d4:	e2506000 	subs	r6, r0, #0                                   
a00029d8:	1a000006 	bne	a00029f8 <getpw_r+0x4c>                       
a00029dc:	ea000022 	b	a0002a6c <getpw_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a00029e0:	e5940000 	ldr	r0, [r4]                                      
a00029e4:	eb0036ae 	bl	a00104a4 <strcmp>                              
a00029e8:	e2700001 	rsbs	r0, r0, #1                                   
a00029ec:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
    if (match) {                                                      
a00029f0:	e3500000 	cmp	r0, #0                                        
a00029f4:	1a00000f 	bne	a0002a38 <getpw_r+0x8c>                       
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a00029f8:	e1a01004 	mov	r1, r4                                        
a00029fc:	e1a02007 	mov	r2, r7                                        
a0002a00:	e1a03008 	mov	r3, r8                                        
a0002a04:	e1a00006 	mov	r0, r6                                        
a0002a08:	ebfffec5 	bl	a0002524 <scanpw>                              
a0002a0c:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a0002a10:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a0002a14:	0a00000d 	beq	a0002a50 <getpw_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
a0002a18:	e3550000 	cmp	r5, #0                                        
a0002a1c:	1affffef 	bne	a00029e0 <getpw_r+0x34>                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
a0002a20:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0002a24:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a0002a28:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0002a2c:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a0002a30:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002a34:	0affffef 	beq	a00029f8 <getpw_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a0002a38:	e1a00006 	mov	r0, r6                                        
a0002a3c:	eb00310b 	bl	a000ee70 <fclose>                              
      *result = pwd;                                                  
a0002a40:	e59d3020 	ldr	r3, [sp, #32]                                 
a0002a44:	e3a00000 	mov	r0, #0                                        
a0002a48:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a0002a4c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
a0002a50:	eb0030b9 	bl	a000ed3c <__errno>                             <== NOT EXECUTED
a0002a54:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002a58:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a0002a5c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002a60:	eb003102 	bl	a000ee70 <fclose>                              <== NOT EXECUTED
a0002a64:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a0002a68:	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;                                                   
a0002a6c:	eb0030b2 	bl	a000ed3c <__errno>                             <== NOT EXECUTED
a0002a70:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002a74:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002a78:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0002a7c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

a0002650 <getpwent>: return NULL; return p; } struct passwd *getpwent(void) {
a0002650:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
a0002654:	e59f4030 	ldr	r4, [pc, #48]	; a000268c <getpwent+0x3c>      <== NOT EXECUTED
a0002658:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a000265c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002660:	1a000001 	bne	a000266c <getpwent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a0002664:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
a0002668:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
  if (passwd_fp == NULL)                                              
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a000266c:	e28410e0 	add	r1, r4, #224	; 0xe0                           <== NOT EXECUTED
a0002670:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
a0002674:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0002678:	ebffffa9 	bl	a0002524 <scanpw>                              <== NOT EXECUTED
a000267c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002680:	0afffff7 	beq	a0002664 <getpwent+0x14>                      <== NOT EXECUTED
a0002684:	e28400e0 	add	r0, r4, #224	; 0xe0                           <== NOT EXECUTED
a0002688:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0002ac4 <getpwuid>: struct passwd *getpwuid( uid_t uid ) {
a0002ac4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0002ac8:	e59f1030 	ldr	r1, [pc, #48]	; a0002b00 <getpwuid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0002acc:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a0002ad0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0002ad4:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0002ad8:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
a0002adc:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0002ae0:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0002ae4:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0002ae8:	ebffffe6 	bl	a0002a88 <getpwuid_r>                          <== NOT EXECUTED
a0002aec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002af0:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0002af4:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a0002af8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002afc:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a0002a88 <getpwuid_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
a0002a88:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0002a8c:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0002a90:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0002a94:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0002a98:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0002a9c:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0002aa0:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0002aa4:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0002aa8:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0002aac:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a0002ab0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002ab4:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0002ab8:	ebffffbb 	bl	a00029ac <getpw_r>                             <== NOT EXECUTED
}                                                                     
a0002abc:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002ac0:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      

a000200c <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
a000200c:	e92d4030 	push	{r4, r5, lr}                                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
a0002010:	e2504000 	subs	r4, r0, #0                                   
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
a0002014:	e24dd008 	sub	sp, sp, #8                                    
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
a0002018:	0a00000e 	beq	a0002058 <gettimeofday+0x4c>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000201c:	e10f5000 	mrs	r5, CPSR                                      
a0002020:	e3853080 	orr	r3, r5, #128	; 0x80                           
a0002024:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
a0002028:	e1a0000d 	mov	r0, sp                                        
a000202c:	eb0010cd 	bl	a0006368 <_TOD_Get>                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002030:	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;                                           
a0002034:	e59fc030 	ldr	ip, [pc, #48]	; a000206c <gettimeofday+0x60>  
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
a0002038:	e89d000c 	ldm	sp, {r2, r3}                                  
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
a000203c:	e3a00000 	mov	r0, #0                                        
a0002040:	e0c1539c 	smull	r5, r1, ip, r3                              
a0002044:	e1a03fc3 	asr	r3, r3, #31                                   
a0002048:	e0633341 	rsb	r3, r3, r1, asr #6                            
a000204c:	e884000c 	stm	r4, {r2, r3}                                  
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a0002050:	e28dd008 	add	sp, sp, #8                                    
a0002054:	e8bd8030 	pop	{r4, r5, pc}                                  
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    errno = EFAULT;                                                   
a0002058:	eb003096 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000205c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0002060:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002064:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0002068:	eafffff8 	b	a0002050 <gettimeofday+0x44>                    <== NOT EXECUTED
                                                                      

a0005598 <ioctl>: int ioctl( int fd, ioctl_command_t command, ... ) {
a0005598:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a000559c:	e59f308c 	ldr	r3, [pc, #140]	; a0005630 <ioctl+0x98>        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a00055a0:	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 );                                         
a00055a4:	e5933000 	ldr	r3, [r3]                                      
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a00055a8:	e24dd004 	sub	sp, sp, #4                                    
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a00055ac:	e1500003 	cmp	r0, r3                                        
a00055b0:	2a000014 	bcs	a0005608 <ioctl+0x70>                         
  iop = rtems_libio_iop( fd );                                        
a00055b4:	e59f3078 	ldr	r3, [pc, #120]	; a0005634 <ioctl+0x9c>        
a00055b8:	e5933000 	ldr	r3, [r3]                                      
a00055bc:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a00055c0:	e5903014 	ldr	r3, [r0, #20]                                 
a00055c4:	e3130c01 	tst	r3, #256	; 0x100                              
a00055c8:	0a00000e 	beq	a0005608 <ioctl+0x70>                         
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a00055cc:	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 *);                                        
a00055d0:	e28d2010 	add	r2, sp, #16                                   
a00055d4:	e58d2000 	str	r2, [sp]                                      
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a00055d8:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
a00055dc:	e59d200c 	ldr	r2, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a00055e0:	0a000008 	beq	a0005608 <ioctl+0x70>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
a00055e4:	e5933010 	ldr	r3, [r3, #16]                                 
a00055e8:	e3530000 	cmp	r3, #0                                        
a00055ec:	0a00000a 	beq	a000561c <ioctl+0x84>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
a00055f0:	e59d1008 	ldr	r1, [sp, #8]                                  
a00055f4:	e12fff33 	blx	r3                                            
                                                                      
  return rc;                                                          
}                                                                     
a00055f8:	e28dd004 	add	sp, sp, #4                                    
a00055fc:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
a0005600:	e28dd00c 	add	sp, sp, #12                                   
a0005604:	e12fff1e 	bx	lr                                             
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0005608:	eb0033bf 	bl	a001250c <__errno>                             
a000560c:	e3a03009 	mov	r3, #9                                        
a0005610:	e5803000 	str	r3, [r0]                                      
a0005614:	e3e00000 	mvn	r0, #0                                        
a0005618:	eafffff6 	b	a00055f8 <ioctl+0x60>                           
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000561c:	eb0033ba 	bl	a001250c <__errno>                             <== NOT EXECUTED
a0005620:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005624:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005628:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000562c:	eafffff1 	b	a00055f8 <ioctl+0x60>                           <== NOT EXECUTED
                                                                      

a0003990 <iproc>: * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) { if (tty->termios.c_iflag & ISTRIP)
a0003990:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003994:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
a0003998:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a000399c:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
a00039a0:	1200407f 	andne	r4, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
a00039a4:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a00039a8:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
a00039ac:	0a000007 	beq	a00039d0 <iproc+0x40>                         <== NOT EXECUTED
		c = tolower (c);                                                    
a00039b0:	e59f219c 	ldr	r2, [pc, #412]	; a0003b54 <iproc+0x1c4>       <== NOT EXECUTED
a00039b4:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a00039b8:	e0822004 	add	r2, r2, r4                                    <== NOT EXECUTED
a00039bc:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a00039c0:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a00039c4:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
a00039c8:	02844020 	addeq	r4, r4, #32                                 <== NOT EXECUTED
a00039cc:	e20440ff 	and	r4, r4, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
a00039d0:	e354000d 	cmp	r4, #13                                       <== NOT EXECUTED
a00039d4:	0a000012 	beq	a0003a24 <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)) {            
a00039d8:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a00039dc:	0a000034 	beq	a0003ab4 <iproc+0x124>                        <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
a00039e0:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00039e4:	1a000015 	bne	a0003a40 <iproc+0xb0>                         <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
a00039e8:	e59f2168 	ldr	r2, [pc, #360]	; a0003b58 <iproc+0x1c8>       <== NOT EXECUTED
a00039ec:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00039f0:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a00039f4:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a00039f8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00039fc:	aa00000a 	bge	a0003a2c <iproc+0x9c>                         <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
a0003a00:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a0003a04:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
a0003a08:	1a00002c 	bne	a0003ac0 <iproc+0x130>                        <== NOT EXECUTED
			echo (c, tty);                                                     
		tty->cbuf[tty->ccount++] = c;                                       
a0003a0c:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0003a10:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a0003a14:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003a18:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003a1c:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a0003a20:	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)                                   
a0003a24:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
a0003a28:	0a000001 	beq	a0003a34 <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;                                       
a0003a2c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
a0003a30:	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)                                   
a0003a34:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0003a38:	03a0400d 	moveq	r4, #13                                     <== NOT EXECUTED
a0003a3c:	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)) {                
a0003a40:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a0003a44:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0003a48:	0affffe6 	beq	a00039e8 <iproc+0x58>                         <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
a0003a4c:	e5d52043 	ldrb	r2, [r5, #67]	; 0x43                         <== NOT EXECUTED
a0003a50:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003a54:	0a000039 	beq	a0003b40 <iproc+0x1b0>                        <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
a0003a58:	e5d52044 	ldrb	r2, [r5, #68]	; 0x44                         <== NOT EXECUTED
a0003a5c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003a60:	0a000031 	beq	a0003b2c <iproc+0x19c>                        <== NOT EXECUTED
			erase (tty, 1);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
a0003a64:	e5d52045 	ldrb	r2, [r5, #69]	; 0x45                         <== NOT EXECUTED
a0003a68:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003a6c:	0a000028 	beq	a0003b14 <iproc+0x184>                        <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
a0003a70:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a0003a74:	0a00001b 	beq	a0003ae8 <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])                             
a0003a78:	e5d5204c 	ldrb	r2, [r5, #76]	; 0x4c                         <== NOT EXECUTED
a0003a7c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003a80:	0a000002 	beq	a0003a90 <iproc+0x100>                        <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
a0003a84:	e5d52051 	ldrb	r2, [r5, #81]	; 0x51                         <== NOT EXECUTED
a0003a88:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003a8c:	1affffd5 	bne	a00039e8 <iproc+0x58>                         <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
a0003a90:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a0003a94:	1a000020 	bne	a0003b1c <iproc+0x18c>                        <== NOT EXECUTED
				echo (c, tty);                                                    
			tty->cbuf[tty->ccount++] = c;                                      
a0003a98:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a0003a9c:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0003aa0:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003aa4:	e0832000 	add	r2, r3, r0                                    <== NOT EXECUTED
a0003aa8:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003aac:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
			return 1;                                                          
a0003ab0:	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)) {            
a0003ab4:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
a0003ab8:	13a0400d 	movne	r4, #13                                     <== NOT EXECUTED
a0003abc:	eaffffdf 	b	a0003a40 <iproc+0xb0>                           <== NOT EXECUTED
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
		if (tty->termios.c_lflag & ECHO)                                    
			echo (c, tty);                                                     
a0003ac0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003ac4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003ac8:	ebffff0c 	bl	a0003700 <echo>                                <== NOT EXECUTED
a0003acc:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
a0003ad0:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0003ad4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003ad8:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a0003adc:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003ae0:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a0003ae4:	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))                        
a0003ae8:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
a0003aec:	0a000002 	beq	a0003afc <iproc+0x16c>                        <== NOT EXECUTED
				echo (c, tty);                                                    
a0003af0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003af4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003af8:	ebffff00 	bl	a0003700 <echo>                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
a0003afc:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a0003b00:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a0003b04:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a0003b08:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a0003b0c:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
a0003b10:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a0003b14:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
			return 1;                                                          
a0003b18:	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);                                                    
a0003b1c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003b20:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003b24:	ebfffef5 	bl	a0003700 <echo>                                <== NOT EXECUTED
a0003b28:	eaffffda 	b	a0003a98 <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);                                                    
a0003b2c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003b30:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003b34:	ebffff13 	bl	a0003788 <erase>                               <== NOT EXECUTED
a0003b38:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
a0003b3c:	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);                                                    
a0003b40:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003b44:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0003b48:	ebffff0e 	bl	a0003788 <erase>                               <== NOT EXECUTED
a0003b4c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
a0003b50:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0021e90 <kill>: #if !defined(RTEMS_POSIX_API) int kill( pid_t pid, int sig ) { return 0; }
a0021e90:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0021e94:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0019b54 <libc_wrapup>: /* * In case RTEMS is already down, don't do this. It could be * dangerous. */ if (!_System_state_Is_up(_System_state_Get()))
a0019b54:	e59f3058 	ldr	r3, [pc, #88]	; a0019bb4 <libc_wrapup+0x60>   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
a0019b58:	e92d4030 	push	{r4, r5, lr}                                 
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
a0019b5c:	e5933000 	ldr	r3, [r3]                                      
a0019b60:	e3530003 	cmp	r3, #3                                        
a0019b64:	0a000000 	beq	a0019b6c <libc_wrapup+0x18>                   
a0019b68:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
a0019b6c:	e59f3044 	ldr	r3, [pc, #68]	; a0019bb8 <libc_wrapup+0x64>   
a0019b70:	e59f4044 	ldr	r4, [pc, #68]	; a0019bbc <libc_wrapup+0x68>   
a0019b74:	e5935000 	ldr	r5, [r3]                                      
a0019b78:	e5943000 	ldr	r3, [r4]                                      
a0019b7c:	e1530005 	cmp	r3, r5                                        
a0019b80:	0a000002 	beq	a0019b90 <libc_wrapup+0x3c>                   
      _wrapup_reent(_global_impure_ptr);                              
a0019b84:	e1a00005 	mov	r0, r5                                        
a0019b88:	eb000174 	bl	a001a160 <_wrapup_reent>                       
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
a0019b8c:	e5845000 	str	r5, [r4]                                      
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
a0019b90:	e5950004 	ldr	r0, [r5, #4]                                  
a0019b94:	ebffd214 	bl	a000e3ec <fclose>                              
  fclose (stdout);                                                    
a0019b98:	e5943000 	ldr	r3, [r4]                                      
a0019b9c:	e5930008 	ldr	r0, [r3, #8]                                  
a0019ba0:	ebffd211 	bl	a000e3ec <fclose>                              
  fclose (stderr);                                                    
a0019ba4:	e5943000 	ldr	r3, [r4]                                      
a0019ba8:	e593000c 	ldr	r0, [r3, #12]                                 
}                                                                     
a0019bac:	e8bd4030 	pop	{r4, r5, lr}                                  
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
a0019bb0:	eaffd20d 	b	a000e3ec <fclose>                               
                                                                      

a00031e0 <link>: int link( const char *existing, const char *new ) {
a00031e0:	e92d4070 	push	{r4, r5, r6, lr}                             
a00031e4:	e24dd034 	sub	sp, sp, #52	; 0x34                            
a00031e8:	e1a05001 	mov	r5, r1                                        
a00031ec:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
a00031f0:	eb0035b5 	bl	a00108cc <strlen>                              
a00031f4:	e28d4018 	add	r4, sp, #24                                   
a00031f8:	e1a01000 	mov	r1, r0                                        
a00031fc:	e3a0c001 	mov	ip, #1                                        
a0003200:	e1a00006 	mov	r0, r6                                        
a0003204:	e3a02000 	mov	r2, #0                                        
a0003208:	e1a03004 	mov	r3, r4                                        
a000320c:	e58dc000 	str	ip, [sp]                                      
a0003210:	ebfffe9b 	bl	a0002c84 <rtems_filesystem_evaluate_path>      
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
a0003214:	e3500000 	cmp	r0, #0                                        
a0003218:	0a000003 	beq	a000322c <link+0x4c>                          
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000321c:	e3e05000 	mvn	r5, #0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  rtems_filesystem_freenode( &parent_loc );                           
                                                                      
  return result;                                                      
}                                                                     
a0003220:	e1a00005 	mov	r0, r5                                        
a0003224:	e28dd034 	add	sp, sp, #52	; 0x34                            
a0003228:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a000322c:	e28d6004 	add	r6, sp, #4                                    
a0003230:	e1a00005 	mov	r0, r5                                        
a0003234:	e28d1030 	add	r1, sp, #48	; 0x30                            
a0003238:	e1a02006 	mov	r2, r6                                        
a000323c:	eb0003e0 	bl	a00041c4 <rtems_filesystem_get_start_loc>      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
a0003240:	e59d3010 	ldr	r3, [sp, #16]                                 
a0003244:	e5933004 	ldr	r3, [r3, #4]                                  
a0003248:	e3530000 	cmp	r3, #0                                        
a000324c:	0a000045 	beq	a0003368 <link+0x188>                         
    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 );
a0003250:	e59d0030 	ldr	r0, [sp, #48]	; 0x30                          
a0003254:	e1a01006 	mov	r1, r6                                        
a0003258:	e28d202c 	add	r2, sp, #44	; 0x2c                            
a000325c:	e0850000 	add	r0, r5, r0                                    
a0003260:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a0003264:	e2505000 	subs	r5, r0, #0                                   
a0003268:	1a000032 	bne	a0003338 <link+0x158>                         
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
a000326c:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0003270:	e59d2014 	ldr	r2, [sp, #20]                                 
a0003274:	e1520003 	cmp	r2, r3                                        
a0003278:	1a000019 	bne	a00032e4 <link+0x104>                         
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
a000327c:	e59d2010 	ldr	r2, [sp, #16]                                 
a0003280:	e5923008 	ldr	r3, [r2, #8]                                  
a0003284:	e3530000 	cmp	r3, #0                                        
a0003288:	0a000042 	beq	a0003398 <link+0x1b8>                         
    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 );
a000328c:	e1a00004 	mov	r0, r4                                        
a0003290:	e1a01006 	mov	r1, r6                                        
a0003294:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
a0003298:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a000329c:	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 );
a00032a0:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a00032a4:	e3530000 	cmp	r3, #0                                        
a00032a8:	0a000004 	beq	a00032c0 <link+0xe0>                          
a00032ac:	e593301c 	ldr	r3, [r3, #28]                                 
a00032b0:	e3530000 	cmp	r3, #0                                        
a00032b4:	0a000001 	beq	a00032c0 <link+0xe0>                          
a00032b8:	e1a00004 	mov	r0, r4                                        
a00032bc:	e12fff33 	blx	r3                                            
  rtems_filesystem_freenode( &parent_loc );                           
a00032c0:	e59d3010 	ldr	r3, [sp, #16]                                 
a00032c4:	e3530000 	cmp	r3, #0                                        
a00032c8:	0affffd4 	beq	a0003220 <link+0x40>                          
a00032cc:	e593301c 	ldr	r3, [r3, #28]                                 
a00032d0:	e3530000 	cmp	r3, #0                                        
a00032d4:	0affffd1 	beq	a0003220 <link+0x40>                          
a00032d8:	e1a00006 	mov	r0, r6                                        
a00032dc:	e12fff33 	blx	r3                                            
a00032e0:	eaffffce 	b	a0003220 <link+0x40>                            
   *  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 );                       
a00032e4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00032e8:	e3530000 	cmp	r3, #0                                        
a00032ec:	0a000004 	beq	a0003304 <link+0x124>                         
a00032f0:	e593301c 	ldr	r3, [r3, #28]                                 
a00032f4:	e3530000 	cmp	r3, #0                                        
a00032f8:	0a000001 	beq	a0003304 <link+0x124>                         
a00032fc:	e1a00004 	mov	r0, r4                                        
a0003300:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &parent_loc );                         
a0003304:	e59d3010 	ldr	r3, [sp, #16]                                 
a0003308:	e3530000 	cmp	r3, #0                                        
a000330c:	0a000004 	beq	a0003324 <link+0x144>                         
a0003310:	e593301c 	ldr	r3, [r3, #28]                                 
a0003314:	e3530000 	cmp	r3, #0                                        
a0003318:	0a000001 	beq	a0003324 <link+0x144>                         
a000331c:	e1a00006 	mov	r0, r6                                        
a0003320:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0003324:	eb002fd6 	bl	a000f284 <__errno>                             
a0003328:	e3a03012 	mov	r3, #18                                       
a000332c:	e5803000 	str	r3, [r0]                                      
a0003330:	e3e05000 	mvn	r5, #0                                        
a0003334:	eaffffb9 	b	a0003220 <link+0x40>                            
    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 );                       
a0003338:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000333c:	e3530000 	cmp	r3, #0                                        
a0003340:	0a000004 	beq	a0003358 <link+0x178>                         
a0003344:	e593301c 	ldr	r3, [r3, #28]                                 
a0003348:	e3530000 	cmp	r3, #0                                        
a000334c:	0a000001 	beq	a0003358 <link+0x178>                         
a0003350:	e1a00004 	mov	r0, r4                                        
a0003354:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( result );                   
a0003358:	eb002fc9 	bl	a000f284 <__errno>                             
a000335c:	e5805000 	str	r5, [r0]                                      
a0003360:	e3e05000 	mvn	r5, #0                                        
a0003364:	eaffffad 	b	a0003220 <link+0x40>                            
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
a0003368:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000336c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003370:	0a000004 	beq	a0003388 <link+0x1a8>                         <== NOT EXECUTED
a0003374:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003378:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000337c:	0a000001 	beq	a0003388 <link+0x1a8>                         <== NOT EXECUTED
a0003380:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003384:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003388:	eb002fbd 	bl	a000f284 <__errno>                             <== NOT EXECUTED
a000338c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003390:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003394:	eaffffa0 	b	a000321c <link+0x3c>                            <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    rtems_filesystem_freenode( &existing_loc );                       
a0003398:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000339c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00033a0:	0a000005 	beq	a00033bc <link+0x1dc>                         <== NOT EXECUTED
a00033a4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00033a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00033ac:	0a000002 	beq	a00033bc <link+0x1dc>                         <== NOT EXECUTED
a00033b0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00033b4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00033b8:	e59d2010 	ldr	r2, [sp, #16]                                 <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
a00033bc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00033c0:	0a000004 	beq	a00033d8 <link+0x1f8>                         <== NOT EXECUTED
a00033c4:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00033c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00033cc:	0a000001 	beq	a00033d8 <link+0x1f8>                         <== NOT EXECUTED
a00033d0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00033d4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00033d8:	eb002fa9 	bl	a000f284 <__errno>                             <== NOT EXECUTED
a00033dc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00033e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00033e4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00033e8:	eaffff8c 	b	a0003220 <link+0x40>                            <== NOT EXECUTED
                                                                      

a00199fc <lseek>: { rtems_libio_t *iop; off_t old_offset; off_t status; rtems_libio_check_fd( fd );
a00199fc:	e59fc12c 	ldr	ip, [pc, #300]	; a0019b30 <lseek+0x134>       
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a0019a00:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019a04:	e59cc000 	ldr	ip, [ip]                                      
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a0019a08:	e1a07001 	mov	r7, r1                                        
a0019a0c:	e1a08002 	mov	r8, r2                                        
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019a10:	e150000c 	cmp	r0, ip                                        
a0019a14:	2a000039 	bcs	a0019b00 <lseek+0x104>                        
  iop = rtems_libio_iop( fd );                                        
a0019a18:	e59f2114 	ldr	r2, [pc, #276]	; a0019b34 <lseek+0x138>       
a0019a1c:	e5924000 	ldr	r4, [r2]                                      
a0019a20:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0019a24:	e5942014 	ldr	r2, [r4, #20]                                 
a0019a28:	e3120c01 	tst	r2, #256	; 0x100                              
a0019a2c:	0a000033 	beq	a0019b00 <lseek+0x104>                        
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
a0019a30:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          
a0019a34:	e5921014 	ldr	r1, [r2, #20]                                 
a0019a38:	e3510000 	cmp	r1, #0                                        
a0019a3c:	0a000035 	beq	a0019b18 <lseek+0x11c>                        
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
a0019a40:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
a0019a44:	e284600c 	add	r6, r4, #12                                   
a0019a48:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
a0019a4c:	0a000026 	beq	a0019aec <lseek+0xf0>                         
a0019a50:	e3530002 	cmp	r3, #2                                        
a0019a54:	0a00000f 	beq	a0019a98 <lseek+0x9c>                         
a0019a58:	e3530000 	cmp	r3, #0                                        
a0019a5c:	1a00001a 	bne	a0019acc <lseek+0xd0>                         
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
a0019a60:	e584700c 	str	r7, [r4, #12]                                 
a0019a64:	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 );          
a0019a68:	e592c014 	ldr	ip, [r2, #20]                                 
a0019a6c:	e1a01007 	mov	r1, r7                                        
a0019a70:	e1a02008 	mov	r2, r8                                        
a0019a74:	e1a00004 	mov	r0, r4                                        
a0019a78:	e12fff3c 	blx	ip                                            
  if ( status == (off_t) -1 )                                         
a0019a7c:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
a0019a80:	e1a02000 	mov	r2, r0                                        
a0019a84:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
a0019a88:	0a000008 	beq	a0019ab0 <lseek+0xb4>                         
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0019a8c:	e1a01003 	mov	r1, r3                                        
a0019a90:	e1a00002 	mov	r0, r2                                        
a0019a94:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
a0019a98:	e9940003 	ldmib	r4, {r0, r1}                                
a0019a9c:	e0900007 	adds	r0, r0, r7                                   
a0019aa0:	e0a11008 	adc	r1, r1, r8                                    
a0019aa4:	e584000c 	str	r0, [r4, #12]                                 
a0019aa8:	e5841010 	str	r1, [r4, #16]                                 
      break;                                                          
a0019aac:	eaffffed 	b	a0019a68 <lseek+0x6c>                           
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
  if ( status == (off_t) -1 )                                         
a0019ab0:	e3710001 	cmn	r1, #1                                        
a0019ab4:	1afffff4 	bne	a0019a8c <lseek+0x90>                         
    iop->offset = old_offset;                                         
a0019ab8:	e584500c 	str	r5, [r4, #12]                                 
a0019abc:	e5846010 	str	r6, [r4, #16]                                 
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0019ac0:	e1a01003 	mov	r1, r3                                        
a0019ac4:	e1a00002 	mov	r0, r2                                        
a0019ac8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0019acc:	ebffd1f9 	bl	a000e2b8 <__errno>                             
a0019ad0:	e3a03016 	mov	r3, #22                                       
a0019ad4:	e5803000 	str	r3, [r0]                                      
a0019ad8:	e3e02000 	mvn	r2, #0                                        
a0019adc:	e3e03000 	mvn	r3, #0                                        
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0019ae0:	e1a01003 	mov	r1, r3                                        
a0019ae4:	e1a00002 	mov	r0, r2                                        
a0019ae8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
a0019aec:	e0970005 	adds	r0, r7, r5                                   
a0019af0:	e0a81006 	adc	r1, r8, r6                                    
a0019af4:	e584000c 	str	r0, [r4, #12]                                 
a0019af8:	e5841010 	str	r1, [r4, #16]                                 
      break;                                                          
a0019afc:	eaffffd9 	b	a0019a68 <lseek+0x6c>                           
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a0019b00:	ebffd1ec 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019b04:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0019b08:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019b0c:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a0019b10:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a0019b14:	eaffffdc 	b	a0019a8c <lseek+0x90>                           <== 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 );                  
a0019b18:	ebffd1e6 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019b1c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0019b20:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019b24:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a0019b28:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a0019b2c:	eaffffd6 	b	a0019a8c <lseek+0x90>                           <== NOT EXECUTED
                                                                      

a00022cc <malloc>: size_t size ) { void *return_this; MSBUMP(malloc_calls, 1);
a00022cc:	e59f30e0 	ldr	r3, [pc, #224]	; a00023b4 <malloc+0xe8>       
a00022d0:	e92d4070 	push	{r4, r5, r6, lr}                             
a00022d4:	e5932004 	ldr	r2, [r3, #4]                                  
a00022d8:	e1a04000 	mov	r4, r0                                        
a00022dc:	e2822001 	add	r2, r2, #1                                    
a00022e0:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a00022e4:	ebffffb2 	bl	a00021b4 <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a00022e8:	e3540000 	cmp	r4, #0                                        
a00022ec:	0a000020 	beq	a0002374 <malloc+0xa8>                        
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a00022f0:	e59f30c0 	ldr	r3, [pc, #192]	; a00023b8 <malloc+0xec>       
a00022f4:	e5933000 	ldr	r3, [r3]                                      
a00022f8:	e3530003 	cmp	r3, #3                                        
a00022fc:	0a000019 	beq	a0002368 <malloc+0x9c>                        
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
a0002300:	e59f30b4 	ldr	r3, [pc, #180]	; a00023bc <malloc+0xf0>       
a0002304:	e3a02000 	mov	r2, #0                                        
a0002308:	e1a01004 	mov	r1, r4                                        
a000230c:	e5930000 	ldr	r0, [r3]                                      
a0002310:	e1a03002 	mov	r3, r2                                        
a0002314:	eb001348 	bl	a000703c <_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 ) {                                               
a0002318:	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;                                              
a000231c:	11a05006 	movne	r5, r6                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
a0002320:	0a000016 	beq	a0002380 <malloc+0xb4>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
a0002324:	e59f3094 	ldr	r3, [pc, #148]	; a00023c0 <malloc+0xf4>       
a0002328:	e5933000 	ldr	r3, [r3]                                      
a000232c:	e3530000 	cmp	r3, #0                                        
a0002330:	0a000002 	beq	a0002340 <malloc+0x74>                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
a0002334:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0002338:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000233c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0002340:	e59f307c 	ldr	r3, [pc, #124]	; a00023c4 <malloc+0xf8>       
a0002344:	e5933000 	ldr	r3, [r3]                                      
a0002348:	e3530000 	cmp	r3, #0                                        
a000234c:	0a000002 	beq	a000235c <malloc+0x90>                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0002350:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0002354:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0002358:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000235c:	e1a06005 	mov	r6, r5                                        
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
a0002360:	e1a00006 	mov	r0, r6                                        
a0002364:	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()) &&                    
a0002368:	ebffff7a 	bl	a0002158 <malloc_is_system_state_OK>           
a000236c:	e3500000 	cmp	r0, #0                                        
a0002370:	1affffe2 	bne	a0002300 <malloc+0x34>                        
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0002374:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
a0002378:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000237c:	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)                                    
a0002380:	e59f3040 	ldr	r3, [pc, #64]	; a00023c8 <malloc+0xfc>        
a0002384:	e5933000 	ldr	r3, [r3]                                      
a0002388:	e3530000 	cmp	r3, #0                                        
a000238c:	0a000004 	beq	a00023a4 <malloc+0xd8>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
a0002390:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0002394:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002398:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( !return_this ) {                                             
a000239c:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a00023a0:	1affffdf 	bne	a0002324 <malloc+0x58>                        <== NOT EXECUTED
      errno = ENOMEM;                                                 
a00023a4:	eb002fc3 	bl	a000e2b8 <__errno>                             
a00023a8:	e3a0300c 	mov	r3, #12                                       
a00023ac:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
a00023b0:	eaffffea 	b	a0002360 <malloc+0x94>                          
                                                                      

a00021a4 <malloc_deferred_free>: } void malloc_deferred_free( void *pointer ) {
a00021a4:	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 );                               
a00021a8:	e59f0000 	ldr	r0, [pc, #0]	; a00021b0 <malloc_deferred_free+0xc><== NOT EXECUTED
a00021ac:	ea000f5c 	b	a0005f24 <_Chain_Append>                        <== NOT EXECUTED
                                                                      

a00021b4 <malloc_deferred_frees_process>: { rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list); } void malloc_deferred_frees_process(void) {
a00021b4:	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)
a00021b8:	ea000000 	b	a00021c0 <malloc_deferred_frees_process+0xc>    
    free(to_be_freed);                                                
a00021bc:	ebffff5e 	bl	a0001f3c <free>                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
a00021c0:	e59f000c 	ldr	r0, [pc, #12]	; a00021d4 <malloc_deferred_frees_process+0x20>
a00021c4:	eb000f6a 	bl	a0005f74 <_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)
a00021c8:	e3500000 	cmp	r0, #0                                        
a00021cc:	1afffffa 	bne	a00021bc <malloc_deferred_frees_process+0x8>  
    free(to_be_freed);                                                
}                                                                     
a00021d0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      

a000c610 <memfile_free_blocks_in_table>: void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
a000c610:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a000c614:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a000c618:	e1a08001 	mov	r8, r1                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a000c61c:	0a000014 	beq	a000c674 <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++ ) {                                     
a000c620:	e3510000 	cmp	r1, #0                                        
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
a000c624:	e5947000 	ldr	r7, [r4]                                      
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a000c628:	da00000c 	ble	a000c660 <memfile_free_blocks_in_table+0x50>  
a000c62c:	e3a05000 	mov	r5, #0                                        
a000c630:	e1a06005 	mov	r6, r5                                        
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
a000c634:	e1a0a005 	mov	sl, r5                                        
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
a000c638:	e7970005 	ldr	r0, [r7, r5]                                  
a000c63c:	e3500000 	cmp	r0, #0                                        
a000c640:	0a000001 	beq	a000c64c <memfile_free_blocks_in_table+0x3c>  
      memfile_free_block( b[i] );                                     
a000c644:	ebffff50 	bl	a000c38c <memfile_free_block>                  
      b[i] = 0;                                                       
a000c648:	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++ ) {                                     
a000c64c:	e2866001 	add	r6, r6, #1                                    
a000c650:	e1580006 	cmp	r8, r6                                        
a000c654:	e2855004 	add	r5, r5, #4                                    
a000c658:	cafffff6 	bgt	a000c638 <memfile_free_blocks_in_table+0x28>  
a000c65c:	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 );                                 
a000c660:	e1a00007 	mov	r0, r7                                        
a000c664:	ebffff48 	bl	a000c38c <memfile_free_block>                  
  *block_table = 0;                                                   
a000c668:	e3a03000 	mov	r3, #0                                        
a000c66c:	e5843000 	str	r3, [r4]                                      
}                                                                     
a000c670:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a000c674:	e3a01e1b 	mov	r1, #432	; 0x1b0                              <== NOT EXECUTED
a000c678:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a000c67c:	e59f0008 	ldr	r0, [pc, #8]	; a000c68c <memfile_free_blocks_in_table+0x7c><== NOT EXECUTED
a000c680:	e59f2008 	ldr	r2, [pc, #8]	; a000c690 <memfile_free_blocks_in_table+0x80><== NOT EXECUTED
a000c684:	e59f3008 	ldr	r3, [pc, #8]	; a000c694 <memfile_free_blocks_in_table+0x84><== NOT EXECUTED
a000c688:	ebfff89a 	bl	a000a8f8 <__assert_func>                       <== NOT EXECUTED
                                                                      

a000cb7c <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
a000cb7c:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a000cb80:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a000cb84:	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 )                           
a000cb88:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a000cb8c:	e1530002 	cmp	r3, r2                                        
a000cb90:	ba00000e 	blt	a000cbd0 <memfile_ftruncate+0x54>             
a000cb94:	0a00000a 	beq	a000cbc4 <memfile_ftruncate+0x48>             
   *  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;                                 
a000cb98:	e5841050 	str	r1, [r4, #80]	; 0x50                          
a000cb9c:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
a000cba0:	e9800006 	stmib	r0, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
a000cba4:	e3a01000 	mov	r1, #0                                        
a000cba8:	e1a0000d 	mov	r0, sp                                        
a000cbac:	ebffd516 	bl	a000200c <gettimeofday>                        
a000cbb0:	e59d3000 	ldr	r3, [sp]                                      
a000cbb4:	e3a00000 	mov	r0, #0                                        
a000cbb8:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
}                                                                     
a000cbbc:	e28dd008 	add	sp, sp, #8                                    
a000cbc0:	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 )                           
a000cbc4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000cbc8:	e1530001 	cmp	r3, r1                                        
a000cbcc:	2afffff1 	bcs	a000cb98 <memfile_ftruncate+0x1c>             
    return IMFS_memfile_extend( the_jnode, length );                  
a000cbd0:	e1a00004 	mov	r0, r4                                        
a000cbd4:	ebffff87 	bl	a000c9f8 <IMFS_memfile_extend>                 <== NOT EXECUTED
a000cbd8:	eafffff7 	b	a000cbbc <memfile_ftruncate+0x40>               <== NOT EXECUTED
                                                                      

a000cbdc <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
a000cbdc:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a000cbe0:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a000cbe4:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a000cbe8:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a000cbec:	e3530006 	cmp	r3, #6                                        
a000cbf0:	0a00000d 	beq	a000cc2c <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 ))                
a000cbf4:	e1a00005 	mov	r0, r5                                        
a000cbf8:	e284200c 	add	r2, r4, #12                                   
a000cbfc:	e8920006 	ldm	r2, {r1, r2}                                  
a000cc00:	ebffff7c 	bl	a000c9f8 <IMFS_memfile_extend>                 
a000cc04:	e3500000 	cmp	r0, #0                                        
a000cc08:	1a00001a 	bne	a000cc78 <memfile_lseek+0x9c>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
a000cc0c:	e2853050 	add	r3, r5, #80	; 0x50                            
a000cc10:	e893000c 	ldm	r3, {r2, r3}                                  
a000cc14:	e984000c 	stmib	r4, {r2, r3}                                
a000cc18:	e284300c 	add	r3, r4, #12                                   
a000cc1c:	e893000c 	ldm	r3, {r2, r3}                                  
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a000cc20:	e1a01003 	mov	r1, r3                                        
a000cc24:	e1a00002 	mov	r0, r2                                        
a000cc28:	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)                
a000cc2c:	e5901010 	ldr	r1, [r0, #16]                                 <== NOT EXECUTED
a000cc30:	e2853050 	add	r3, r5, #80	; 0x50                            <== NOT EXECUTED
a000cc34:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a000cc38:	e590000c 	ldr	r0, [r0, #12]                                 <== NOT EXECUTED
a000cc3c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a000cc40:	ca000007 	bgt	a000cc64 <memfile_lseek+0x88>                 <== NOT EXECUTED
a000cc44:	0a000004 	beq	a000cc5c <memfile_lseek+0x80>                 <== NOT EXECUTED
a000cc48:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a000cc4c:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a000cc50:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000cc54:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a000cc58:	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)                
a000cc5c:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
a000cc60:	9afffff8 	bls	a000cc48 <memfile_lseek+0x6c>                 <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
a000cc64:	e584200c 	str	r2, [r4, #12]                                 <== NOT EXECUTED
a000cc68:	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;                                                 
}                                                                     
a000cc6c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a000cc70:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a000cc74:	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 );                 
a000cc78:	eb00058e 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000cc7c:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a000cc80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000cc84:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a000cc88:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a000cc8c:	eaffffe3 	b	a000cc20 <memfile_lseek+0x44>                   <== NOT EXECUTED
                                                                      

a000cf4c <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
a000cf4c:	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))         
a000cf50:	e5903014 	ldr	r3, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000cf54:	e24dd004 	sub	sp, sp, #4                                    
a000cf58:	e1a04000 	mov	r4, r0                                        
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000cf5c:	e3130f81 	tst	r3, #516	; 0x204                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
a000cf60:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a000cf64:	0a000002 	beq	a000cf74 <memfile_open+0x28>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
a000cf68:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
a000cf6c:	e3520006 	cmp	r2, #6                                        
a000cf70:	0a00000b 	beq	a000cfa4 <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)                                                  
a000cf74:	e5952050 	ldr	r2, [r5, #80]	; 0x50                          
a000cf78:	e5951054 	ldr	r1, [r5, #84]	; 0x54                          
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
a000cf7c:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
a000cf80:	1584200c 	strne	r2, [r4, #12]                               
a000cf84:	15841010 	strne	r1, [r4, #16]                               
a000cf88:	15951054 	ldrne	r1, [r5, #84]	; 0x54                        
a000cf8c:	15952050 	ldrne	r2, [r5, #80]	; 0x50                        
                                                                      
  iop->size = the_jnode->info.file.size;                              
a000cf90:	e3a00000 	mov	r0, #0                                        
a000cf94:	e5841008 	str	r1, [r4, #8]                                  
a000cf98:	e5842004 	str	r2, [r4, #4]                                  
  return 0;                                                           
}                                                                     
a000cf9c:	e28dd004 	add	sp, sp, #4                                    
a000cfa0:	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;               
a000cfa4:	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;                         
a000cfa8:	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;                               
a000cfac:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
a000cfb0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000cfb4:	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)                                                  
a000cfb8:	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;                               
a000cfbc:	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;                         
a000cfc0:	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;  
a000cfc4:	e5953058 	ldr	r3, [r5, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
a000cfc8:	e5851050 	str	r1, [r5, #80]	; 0x50                          <== NOT EXECUTED
a000cfcc:	e5852054 	str	r2, [r5, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
a000cfd0:	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;                         
a000cfd4:	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)                                                  
a000cfd8:	1a000004 	bne	a000cff0 <memfile_open+0xa4>                  <== NOT EXECUTED
a000cfdc:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
a000cfe0:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a000cfe4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a000cfe8:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a000cfec:	eaffffe2 	b	a000cf7c <memfile_open+0x30>                    <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a000cff0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000cff4:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000cff8:	ebffff24 	bl	a000cc90 <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)                                                  
a000cffc:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a000d000:	0affffe5 	beq	a000cf9c <memfile_open+0x50>                  <== NOT EXECUTED
a000d004:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a000d008:	eaffffd9 	b	a000cf74 <memfile_open+0x28>                    <== NOT EXECUTED
                                                                      

a00023dc <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
a00023dc:	e92d41f0 	push	{r4, r5, r6, r7, r8, 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) ) )                 
a00023e0:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a00023e4:	e24dd020 	sub	sp, sp, #32                                   
a00023e8:	e1a05001 	mov	r5, r1                                        
a00023ec:	e1a06000 	mov	r6, r0                                        
a00023f0:	e1a07002 	mov	r7, r2                                        
a00023f4:	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) ) )                 
a00023f8:	0a00002e 	beq	a00024b8 <mknod+0xdc>                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a00023fc:	e28d4004 	add	r4, sp, #4                                    
a0002400:	e28d101c 	add	r1, sp, #28                                   
a0002404:	e1a02004 	mov	r2, r4                                        
a0002408:	eb000288 	bl	a0002e30 <rtems_filesystem_get_start_loc>      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
a000240c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0002410:	e5933004 	ldr	r3, [r3, #4]                                  
a0002414:	e3530000 	cmp	r3, #0                                        
a0002418:	0a000021 	beq	a00024a4 <mknod+0xc8>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
a000241c:	e59d001c 	ldr	r0, [sp, #28]                                 
a0002420:	e1a01004 	mov	r1, r4                                        
a0002424:	e28d2018 	add	r2, sp, #24                                   
a0002428:	e0860000 	add	r0, r6, r0                                    
a000242c:	e12fff33 	blx	r3                                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a0002430:	e3500000 	cmp	r0, #0                                        
a0002434:	1a00001d 	bne	a00024b0 <mknod+0xd4>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
a0002438:	e59d3010 	ldr	r3, [sp, #16]                                 
a000243c:	e593c014 	ldr	ip, [r3, #20]                                 
a0002440:	e35c0000 	cmp	ip, #0                                        
a0002444:	0a000011 	beq	a0002490 <mknod+0xb4>                         
    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 );
a0002448:	e1a01005 	mov	r1, r5                                        
a000244c:	e1a03008 	mov	r3, r8                                        
a0002450:	e58d4000 	str	r4, [sp]                                      
a0002454:	e59d0018 	ldr	r0, [sp, #24]                                 
a0002458:	e1a02007 	mov	r2, r7                                        
a000245c:	e12fff3c 	blx	ip                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0002460:	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 );
a0002464:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0002468:	e3530000 	cmp	r3, #0                                        
a000246c:	0a000004 	beq	a0002484 <mknod+0xa8>                         
a0002470:	e593301c 	ldr	r3, [r3, #28]                                 
a0002474:	e3530000 	cmp	r3, #0                                        
a0002478:	0a000001 	beq	a0002484 <mknod+0xa8>                         
a000247c:	e1a00004 	mov	r0, r4                                        
a0002480:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0002484:	e1a00005 	mov	r0, r5                                        
a0002488:	e28dd020 	add	sp, sp, #32                                   
a000248c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
a0002490:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0002494:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002498:	0a000001 	beq	a00024a4 <mknod+0xc8>                         <== NOT EXECUTED
a000249c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00024a0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00024a4:	eb002f83 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00024a8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00024ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00024b0:	e3e05000 	mvn	r5, #0                                        
a00024b4:	eafffff2 	b	a0002484 <mknod+0xa8>                           
  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 );                   
a00024b8:	eb002f7e 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00024bc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00024c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00024c4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00024c8:	eaffffed 	b	a0002484 <mknod+0xa8>                           <== NOT EXECUTED
                                                                      

a0002554 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
a0002554:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a0002558:	e3530001 	cmp	r3, #1                                        
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
a000255c:	e24dd028 	sub	sp, sp, #40	; 0x28                            
a0002560:	e58d3004 	str	r3, [sp, #4]                                  
a0002564:	e1a08000 	mov	r8, r0                                        
a0002568:	e1a07001 	mov	r7, r1                                        
a000256c:	e1a0a002 	mov	sl, r2                                        
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a0002570:	8a00009a 	bhi	a00027e0 <mount+0x28c>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
a0002574:	e1a00002 	mov	r0, r2                                        
a0002578:	eb00226c 	bl	a000af30 <rtems_filesystem_get_mount_handler>  
  if ( !mount_h )                                                     
a000257c:	e3500000 	cmp	r0, #0                                        
a0002580:	e58d000c 	str	r0, [sp, #12]                                 
a0002584:	0a000095 	beq	a00027e0 <mount+0x28c>                        
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  bool has_target = target != NULL;                                   
a0002588:	e2575000 	subs	r5, r7, #0                                   
a000258c:	13a05001 	movne	r5, #1                                      
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
a0002590:	e3550000 	cmp	r5, #0                                        
a0002594:	0a00008c 	beq	a00027cc <mount+0x278>                        
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
a0002598:	e1a00007 	mov	r0, r7                                        
a000259c:	e58d7010 	str	r7, [sp, #16]                                 
a00025a0:	eb003349 	bl	a000f2cc <strlen>                              
a00025a4:	e58d0008 	str	r0, [sp, #8]                                  
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
a00025a8:	e1a0000a 	mov	r0, sl                                        
a00025ac:	eb003346 	bl	a000f2cc <strlen>                              
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a00025b0:	e3580000 	cmp	r8, #0                                        
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
a00025b4:	e2806001 	add	r6, r0, #1                                    
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
a00025b8:	01a0b008 	moveq	fp, r8                                      
a00025bc:	0a000002 	beq	a00025cc <mount+0x78>                         
a00025c0:	e1a00008 	mov	r0, r8                                        
a00025c4:	eb003340 	bl	a000f2cc <strlen>                              
a00025c8:	e280b001 	add	fp, r0, #1                                    
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
a00025cc:	e59d3008 	ldr	r3, [sp, #8]                                  
a00025d0:	e3a00001 	mov	r0, #1                                        
a00025d4:	e2831075 	add	r1, r3, #117	; 0x75                           
a00025d8:	e0811006 	add	r1, r1, r6                                    
a00025dc:	e081100b 	add	r1, r1, fp                                    
a00025e0:	ebfffdc0 	bl	a0001ce8 <calloc>                              
                                                                      
  if ( mt_entry != NULL ) {                                           
a00025e4:	e2504000 	subs	r4, r0, #0                                   
a00025e8:	0a000072 	beq	a00027b8 <mount+0x264>                        
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
a00025ec:	e2849074 	add	r9, r4, #116	; 0x74                           
                                                                      
    strcpy( str, filesystemtype );                                    
a00025f0:	e1a0100a 	mov	r1, sl                                        
a00025f4:	e1a00009 	mov	r0, r9                                        
a00025f8:	eb0032e3 	bl	a000f18c <strcpy>                              
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
a00025fc:	e3580000 	cmp	r8, #0                                        
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
a0002600:	e0896006 	add	r6, r9, r6                                    
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
    mt_entry->type = str;                                             
a0002604:	e584906c 	str	r9, [r4, #108]	; 0x6c                         
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
a0002608:	0a000004 	beq	a0002620 <mount+0xcc>                         
      strcpy( str, source_or_null );                                  
a000260c:	e1a00006 	mov	r0, r6                                        
a0002610:	e1a01008 	mov	r1, r8                                        
a0002614:	eb0032dc 	bl	a000f18c <strcpy>                              
      mt_entry->dev = str;                                            
a0002618:	e5846070 	str	r6, [r4, #112]	; 0x70                         
      str += source_size;                                             
a000261c:	e086600b 	add	r6, r6, fp                                    
    }                                                                 
                                                                      
    strcpy( str, target );                                            
a0002620:	e59d1010 	ldr	r1, [sp, #16]                                 
a0002624:	e1a00006 	mov	r0, r6                                        
a0002628:	eb0032d7 	bl	a000f18c <strcpy>                              
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a000262c:	e59fe23c 	ldr	lr, [pc, #572]	; a0002870 <mount+0x31c>       
a0002630:	e284c038 	add	ip, r4, #56	; 0x38                            
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
a0002634:	e3550000 	cmp	r5, #0                                        
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
a0002638:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000263c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0002640:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0002644:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0002648:	e89e000f 	ldm	lr, {r0, r1, r2, r3}                          
a000264c:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
a0002650:	e59d3004 	ldr	r3, [sp, #4]                                  
      mt_entry->dev = str;                                            
      str += source_size;                                             
    }                                                                 
                                                                      
    strcpy( str, target );                                            
    mt_entry->target = str;                                           
a0002654:	e5846068 	str	r6, [r4, #104]	; 0x68                         
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
a0002658:	e584402c 	str	r4, [r4, #44]	; 0x2c                          
  mt_entry->options = options;                                        
a000265c:	e5843030 	str	r3, [r4, #48]	; 0x30                          
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
a0002660:	1a000022 	bne	a00026f0 <mount+0x19c>                        
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
a0002664:	e59f3208 	ldr	r3, [pc, #520]	; a0002874 <mount+0x320>       
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0002668:	e5932000 	ldr	r2, [r3]                                      
a000266c:	e2833004 	add	r3, r3, #4                                    
a0002670:	e1520003 	cmp	r2, r3                                        
a0002674:	01a06005 	moveq	r6, r5                                      
a0002678:	1a000069 	bne	a0002824 <mount+0x2d0>                        
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
a000267c:	e59d104c 	ldr	r1, [sp, #76]	; 0x4c                          
a0002680:	e1a00004 	mov	r0, r4                                        
a0002684:	e59d300c 	ldr	r3, [sp, #12]                                 
a0002688:	e12fff33 	blx	r3                                            
a000268c:	e2507000 	subs	r7, r0, #0                                   
a0002690:	1a000057 	bne	a00027f4 <mount+0x2a0>                        
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a0002694:	e59f61dc 	ldr	r6, [pc, #476]	; a0002878 <mount+0x324>       
a0002698:	e1a02007 	mov	r2, r7                                        
a000269c:	e1a01007 	mov	r1, r7                                        
a00026a0:	e5960000 	ldr	r0, [r6]                                      
a00026a4:	eb000bc8 	bl	a00055cc <rtems_semaphore_obtain>              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a00026a8:	e1a01004 	mov	r1, r4                                        
a00026ac:	e59f01c0 	ldr	r0, [pc, #448]	; a0002874 <mount+0x320>       
a00026b0:	eb000e1b 	bl	a0005f24 <_Chain_Append>                       
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a00026b4:	e5960000 	ldr	r0, [r6]                                      
a00026b8:	eb000c0b 	bl	a00056ec <rtems_semaphore_release>             
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a00026bc:	e3550000 	cmp	r5, #0                                        
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
a00026c0:	059fc1b4 	ldreq	ip, [pc, #436]	; a000287c <mount+0x328>     
a00026c4:	0284401c 	addeq	r4, r4, #28                                 
a00026c8:	08b4000f 	ldmeq	r4!, {r0, r1, r2, r3}                       
a00026cc:	059cc000 	ldreq	ip, [ip]                                    
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
a00026d0:	11a05007 	movne	r5, r7                                      
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
a00026d4:	028cc018 	addeq	ip, ip, #24                                 
a00026d8:	08ac000f 	stmiaeq	ip!, {r0, r1, r2, r3}                     
a00026dc:	05943000 	ldreq	r3, [r4]                                    
a00026e0:	058c3000 	streq	r3, [ip]                                    
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
a00026e4:	e1a00005 	mov	r0, r5                                        
a00026e8:	e28dd028 	add	sp, sp, #40	; 0x28                            
a00026ec:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
a00026f0:	e28d6014 	add	r6, sp, #20                                   
a00026f4:	e3a0c001 	mov	ip, #1                                        
a00026f8:	e1a00007 	mov	r0, r7                                        
a00026fc:	e59d1008 	ldr	r1, [sp, #8]                                  
a0002700:	e3a02007 	mov	r2, #7                                        
a0002704:	e1a03006 	mov	r3, r6                                        
a0002708:	e58dc000 	str	ip, [sp]                                      
a000270c:	ebfffde8 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
a0002710:	e3700001 	cmn	r0, #1                                        
a0002714:	0a000045 	beq	a0002830 <mount+0x2dc>                        
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
a0002718:	e59d3020 	ldr	r3, [sp, #32]                                 
a000271c:	e5933010 	ldr	r3, [r3, #16]                                 
a0002720:	e3530000 	cmp	r3, #0                                        
a0002724:	0a00004d 	beq	a0002860 <mount+0x30c>                        
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0002728:	e1a00006 	mov	r0, r6                                        
a000272c:	e12fff33 	blx	r3                                            
a0002730:	e3500001 	cmp	r0, #1                                        
a0002734:	1a000041 	bne	a0002840 <mount+0x2ec>                        
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
a0002738:	e59f0140 	ldr	r0, [pc, #320]	; a0002880 <mount+0x32c>       
a000273c:	e59d1014 	ldr	r1, [sp, #20]                                 
a0002740:	ebffff66 	bl	a00024e0 <rtems_filesystem_mount_iterate>      
a0002744:	e3500000 	cmp	r0, #0                                        
a0002748:	1a000040 	bne	a0002850 <mount+0x2fc>                        
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
a000274c:	e59d1014 	ldr	r1, [sp, #20]                                 
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
a0002750:	e59d2020 	ldr	r2, [sp, #32]                                 
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
a0002754:	e5841008 	str	r1, [r4, #8]                                  
    mt_entry->mt_point_node.handlers = loc.handlers;                  
a0002758:	e59d101c 	ldr	r1, [sp, #28]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a000275c:	e5923020 	ldr	r3, [r2, #32]                                 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
a0002760:	e5842014 	str	r2, [r4, #20]                                 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
a0002764:	e5841010 	str	r1, [r4, #16]                                 
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
a0002768:	e59d1024 	ldr	r1, [sp, #36]	; 0x24                          
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a000276c:	e3530000 	cmp	r3, #0                                        
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
a0002770:	e5841018 	str	r1, [r4, #24]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a0002774:	0a000039 	beq	a0002860 <mount+0x30c>                        
      errno = ENOTSUP;                                                
      goto cleanup_and_bail;                                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
a0002778:	e1a00004 	mov	r0, r4                                        
a000277c:	e12fff33 	blx	r3                                            
a0002780:	e3500000 	cmp	r0, #0                                        
a0002784:	0affffbc 	beq	a000267c <mount+0x128>                        
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0002788:	e1a00004 	mov	r0, r4                                        
a000278c:	ebfffdea 	bl	a0001f3c <free>                                
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
a0002790:	e596300c 	ldr	r3, [r6, #12]                                 
a0002794:	e3530000 	cmp	r3, #0                                        
a0002798:	0a00001f 	beq	a000281c <mount+0x2c8>                        
a000279c:	e593301c 	ldr	r3, [r3, #28]                                 
a00027a0:	e3530000 	cmp	r3, #0                                        
a00027a4:	0a00001c 	beq	a000281c <mount+0x2c8>                        
a00027a8:	e1a00006 	mov	r0, r6                                        
a00027ac:	e12fff33 	blx	r3                                            
a00027b0:	e3e05000 	mvn	r5, #0                                        
a00027b4:	eaffffca 	b	a00026e4 <mount+0x190>                          
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a00027b8:	eb002ebe 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a00027bc:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00027c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00027c4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00027c8:	eaffffc5 	b	a00026e4 <mount+0x190>                          <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
a00027cc:	e3a03001 	mov	r3, #1                                        
a00027d0:	e58d3008 	str	r3, [sp, #8]                                  
a00027d4:	e59f30a8 	ldr	r3, [pc, #168]	; a0002884 <mount+0x330>       
a00027d8:	e58d3010 	str	r3, [sp, #16]                                 
a00027dc:	eaffff71 	b	a00025a8 <mount+0x54>                           
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00027e0:	eb002eb4 	bl	a000e2b8 <__errno>                             
a00027e4:	e3a03016 	mov	r3, #22                                       
a00027e8:	e5803000 	str	r3, [r0]                                      
a00027ec:	e3e05000 	mvn	r5, #0                                        
a00027f0:	eaffffbb 	b	a00026e4 <mount+0x190>                          
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    if ( loc.ops->unmount_h ) {                                       
a00027f4:	e59d3020 	ldr	r3, [sp, #32]                                 <== NOT EXECUTED
a00027f8:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
a00027fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002800:	0a000001 	beq	a000280c <mount+0x2b8>                        <== NOT EXECUTED
      loc.ops->unmount_h( mt_entry );                                 
a0002804:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002808:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a000280c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002810:	ebfffdc9 	bl	a0001f3c <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
a0002814:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0002818:	1affffdc 	bne	a0002790 <mount+0x23c>                        <== NOT EXECUTED
    rtems_filesystem_freenode( loc_to_free );                         
a000281c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0002820:	eaffffaf 	b	a00026e4 <mount+0x190>                          <== NOT EXECUTED
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
a0002824:	eb002ea3 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0002828:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000282c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
a0002830:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002834:	ebfffdc0 	bl	a0001f3c <free>                                <== NOT EXECUTED
a0002838:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000283c:	eaffffa8 	b	a00026e4 <mount+0x190>                          <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
a0002840:	eb002e9c 	bl	a000e2b8 <__errno>                             
a0002844:	e3a03014 	mov	r3, #20                                       
a0002848:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a000284c:	eaffffcd 	b	a0002788 <mount+0x234>                          
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
a0002850:	eb002e98 	bl	a000e2b8 <__errno>                             
a0002854:	e3a03010 	mov	r3, #16                                       
a0002858:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a000285c:	eaffffc9 	b	a0002788 <mount+0x234>                          
     *  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;                                                
a0002860:	eb002e94 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0002864:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0002868:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      goto cleanup_and_bail;                                          
a000286c:	eaffffc5 	b	a0002788 <mount+0x234>                          <== NOT EXECUTED
                                                                      

a00028f8 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
a00028f8:	e92d4010 	push	{r4, lr}                                     
a00028fc:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
a0002900:	eb002f6b 	bl	a000e6b4 <fileno>                              
a0002904:	e3500002 	cmp	r0, #2                                        
a0002908:	9a000003 	bls	a000291c <newlib_free_buffers+0x24>           
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
a000290c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002910:	eb002eb5 	bl	a000e3ec <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a0002914:	e3a00000 	mov	r0, #0                                        
a0002918:	e8bd8010 	pop	{r4, pc}                                      
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
a000291c:	e1d430bc 	ldrh	r3, [r4, #12]                                
a0002920:	e3130080 	tst	r3, #128	; 0x80                               
a0002924:	0afffffa 	beq	a0002914 <newlib_free_buffers+0x1c>           
        free( fp->_bf._base );                                        
a0002928:	e5940010 	ldr	r0, [r4, #16]                                 
a000292c:	ebfffd82 	bl	a0001f3c <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
a0002930:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0002934:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0002938:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
a000293c:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
a0002940:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0002944:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a0002948:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000294c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a00023fc <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
a00023fc:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002400:	e59f3044 	ldr	r3, [pc, #68]	; a000244c <null_initialize+0x50>
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a0002404:	e1a04000 	mov	r4, r0                                        
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002408:	e5d32000 	ldrb	r2, [r3]                                     
a000240c:	e3520000 	cmp	r2, #0                                        
a0002410:	0a000001 	beq	a000241c <null_initialize+0x20>               
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002414:	e3a00000 	mov	r0, #0                                        
a0002418:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a000241c:	e3a0c001 	mov	ip, #1                                        
                                                                      
    status = rtems_io_register_name(                                  
a0002420:	e59f0028 	ldr	r0, [pc, #40]	; a0002450 <null_initialize+0x54>
a0002424:	e1a01004 	mov	r1, r4                                        
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a0002428:	e5c3c000 	strb	ip, [r3]                                     
                                                                      
    status = rtems_io_register_name(                                  
a000242c:	eb0001b7 	bl	a0002b10 <rtems_io_register_name>              
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
a0002430:	e3500000 	cmp	r0, #0                                        
a0002434:	1a000003 	bne	a0002448 <null_initialize+0x4c>               
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a0002438:	e59f3014 	ldr	r3, [pc, #20]	; a0002454 <null_initialize+0x58>
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000243c:	e3a00000 	mov	r0, #0                                        
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a0002440:	e5834000 	str	r4, [r3]                                      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002444:	e8bd8010 	pop	{r4, pc}                                      
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
a0002448:	eb001281 	bl	a0006e54 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0002b94 <open>: int open( const char *pathname, int flags, ... ) {
a0002b94:	e92d000e 	push	{r1, r2, r3}                                 
a0002b98:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
a0002b9c:	e24dd01c 	sub	sp, sp, #28                                   
a0002ba0:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
a0002ba4:	e1a06000 	mov	r6, r0                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002ba8:	e59da040 	ldr	sl, [sp, #64]	; 0x40                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
a0002bac:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
a0002bb0:	e2138001 	ands	r8, r3, #1                                   
a0002bb4:	13a08004 	movne	r8, #4                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
a0002bb8:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002bbc:	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;                            
a0002bc0:	13888002 	orrne	r8, r8, #2                                  
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002bc4:	e58d3018 	str	r3, [sp, #24]                                 
   *             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();                                       
a0002bc8:	eb002037 	bl	a000acac <rtems_libio_allocate>                
  if ( iop == 0 ) {                                                   
a0002bcc:	e2504000 	subs	r4, r0, #0                                   
a0002bd0:	03a06017 	moveq	r6, #23                                     
a0002bd4:	0a00005d 	beq	a0002d50 <open+0x1bc>                         
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
a0002bd8:	e1a00006 	mov	r0, r6                                        
a0002bdc:	eb0031ba 	bl	a000f2cc <strlen>                              
a0002be0:	e28d7004 	add	r7, sp, #4                                    
a0002be4:	e1a01000 	mov	r1, r0                                        
a0002be8:	e1a02008 	mov	r2, r8                                        
a0002bec:	e1a00006 	mov	r0, r6                                        
a0002bf0:	e3a08001 	mov	r8, #1                                        
a0002bf4:	e1a03007 	mov	r3, r7                                        
a0002bf8:	e58d8000 	str	r8, [sp]                                      
a0002bfc:	ebfffcac 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
a0002c00:	e3700001 	cmn	r0, #1                                        
a0002c04:	0a000055 	beq	a0002d60 <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)) {        
a0002c08:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
a0002c0c:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
a0002c10:	03a06011 	moveq	r6, #17                                     
a0002c14:	0a00003f 	beq	a0002d18 <open+0x184>                         
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
a0002c18:	e59d300c 	ldr	r3, [sp, #12]                                 
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002c1c:	e1a00005 	mov	r0, r5                                        
a0002c20:	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;                                     
a0002c24:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
  iop->file_info  = loc.node_access;                                  
a0002c28:	e59d3004 	ldr	r3, [sp, #4]                                  
a0002c2c:	e5843038 	str	r3, [r4, #56]	; 0x38                          
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002c30:	eb00204b 	bl	a000ad64 <rtems_libio_fcntl_flags>             
  iop->pathinfo   = loc;                                              
a0002c34:	e284c018 	add	ip, r4, #24                                   
a0002c38:	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 );                 
a0002c3c:	e1808008 	orr	r8, r0, r8                                    
  iop->pathinfo   = loc;                                              
a0002c40:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0002c44:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002c48:	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;                                              
a0002c4c:	e59e2000 	ldr	r2, [lr]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002c50:	e5848014 	str	r8, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002c54:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
a0002c58:	e58c2000 	str	r2, [ip]                                      
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002c5c:	0a00002c 	beq	a0002d14 <open+0x180>                         
a0002c60:	e593c000 	ldr	ip, [r3]                                      
a0002c64:	e35c0000 	cmp	ip, #0                                        
a0002c68:	0a000029 	beq	a0002d14 <open+0x180>                         
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
a0002c6c:	e1a01006 	mov	r1, r6                                        
a0002c70:	e1a0300a 	mov	r3, sl                                        
a0002c74:	e1a00004 	mov	r0, r4                                        
a0002c78:	e1a02005 	mov	r2, r5                                        
a0002c7c:	e12fff3c 	blx	ip                                            
  if ( rc ) {                                                         
a0002c80:	e3500000 	cmp	r0, #0                                        
a0002c84:	1a000009 	bne	a0002cb0 <open+0x11c>                         
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
a0002c88:	e3150b01 	tst	r5, #1024	; 0x400                             
a0002c8c:	1a00000c 	bne	a0002cc4 <open+0x130>                         
a0002c90:	e59f5154 	ldr	r5, [pc, #340]	; a0002dec <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;                                      
a0002c94:	e5950000 	ldr	r0, [r5]                                      
a0002c98:	e0604004 	rsb	r4, r0, r4                                    
a0002c9c:	e1a00344 	asr	r0, r4, #6                                    
}                                                                     
a0002ca0:	e28dd01c 	add	sp, sp, #28                                   
a0002ca4:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a0002ca8:	e28dd00c 	add	sp, sp, #12                                   
a0002cac:	e12fff1e 	bx	lr                                             
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  if ( rc ) {                                                         
    rc = errno;                                                       
a0002cb0:	eb002d80 	bl	a000e2b8 <__errno>                             
a0002cb4:	e5906000 	ldr	r6, [r0]                                      
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
a0002cb8:	e3560000 	cmp	r6, #0                                        
a0002cbc:	0afffff3 	beq	a0002c90 <open+0xfc>                          
a0002cc0:	ea000014 	b	a0002d18 <open+0x184>                           
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
a0002cc4:	e59f5120 	ldr	r5, [pc, #288]	; a0002dec <open+0x258>        
a0002cc8:	e3a01000 	mov	r1, #0                                        
a0002ccc:	e3a02000 	mov	r2, #0                                        
a0002cd0:	e5950000 	ldr	r0, [r5]                                      
a0002cd4:	e0600004 	rsb	r0, r0, r4                                    
a0002cd8:	e1a00340 	asr	r0, r0, #6                                    
a0002cdc:	eb001f40 	bl	a000a9e4 <ftruncate>                           
    if ( rc ) {                                                       
a0002ce0:	e2506000 	subs	r6, r0, #0                                   
a0002ce4:	0affffea 	beq	a0002c94 <open+0x100>                         
      if(errno) rc = errno;                                           
a0002ce8:	eb002d72 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0002cec:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0002cf0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002cf4:	1a000039 	bne	a0002de0 <open+0x24c>                         <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
a0002cf8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0002cfc:	e0600004 	rsb	r0, r0, r4                                    <== NOT EXECUTED
a0002d00:	e1a00340 	asr	r0, r0, #6                                    <== NOT EXECUTED
a0002d04:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a0002d08:	eb001f0d 	bl	a000a944 <close>                               <== NOT EXECUTED
a0002d0c:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
a0002d10:	eaffffe8 	b	a0002cb8 <open+0x124>                           <== 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;                                      
a0002d14:	e3a06086 	mov	r6, #134	; 0x86                               <== NOT EXECUTED
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
a0002d18:	e3540000 	cmp	r4, #0                                        
a0002d1c:	0a000001 	beq	a0002d28 <open+0x194>                         
      rtems_libio_free( iop );                                        
a0002d20:	e1a00004 	mov	r0, r4                                        
a0002d24:	eb001fc9 	bl	a000ac50 <rtems_libio_free>                    
    if ( loc_to_free )                                                
a0002d28:	e3570000 	cmp	r7, #0                                        
a0002d2c:	0a000007 	beq	a0002d50 <open+0x1bc>                         
      rtems_filesystem_freenode( loc_to_free );                       
a0002d30:	e597300c 	ldr	r3, [r7, #12]                                 
a0002d34:	e3530000 	cmp	r3, #0                                        
a0002d38:	0a000004 	beq	a0002d50 <open+0x1bc>                         
a0002d3c:	e593301c 	ldr	r3, [r3, #28]                                 
a0002d40:	e3530000 	cmp	r3, #0                                        
a0002d44:	0a000001 	beq	a0002d50 <open+0x1bc>                         
a0002d48:	e1a00007 	mov	r0, r7                                        
a0002d4c:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( rc );                       
a0002d50:	eb002d58 	bl	a000e2b8 <__errno>                             
a0002d54:	e5806000 	str	r6, [r0]                                      
a0002d58:	e3e00000 	mvn	r0, #0                                        
a0002d5c:	eaffffcf 	b	a0002ca0 <open+0x10c>                           
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
a0002d60:	eb002d54 	bl	a000e2b8 <__errno>                             
a0002d64:	e5903000 	ldr	r3, [r0]                                      
a0002d68:	e3530002 	cmp	r3, #2                                        
a0002d6c:	0a000003 	beq	a0002d80 <open+0x1ec>                         
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
a0002d70:	eb002d50 	bl	a000e2b8 <__errno>                             
a0002d74:	e3a07000 	mov	r7, #0                                        
a0002d78:	e5906000 	ldr	r6, [r0]                                      
      goto done;                                                      
a0002d7c:	eaffffcd 	b	a0002cb8 <open+0x124>                           
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
a0002d80:	e2159c02 	ands	r9, r5, #512	; 0x200                         
a0002d84:	01a07009 	moveq	r7, r9                                      
a0002d88:	01a06003 	moveq	r6, r3                                      
a0002d8c:	0affffe1 	beq	a0002d18 <open+0x184>                         
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
a0002d90:	e1a00006 	mov	r0, r6                                        
a0002d94:	e38a1902 	orr	r1, sl, #32768	; 0x8000                       
a0002d98:	e3a02000 	mov	r2, #0                                        
a0002d9c:	e3a03000 	mov	r3, #0                                        
a0002da0:	ebfffd8d 	bl	a00023dc <mknod>                               
    if ( rc ) {                                                       
a0002da4:	e2509000 	subs	r9, r0, #0                                   
a0002da8:	1afffff0 	bne	a0002d70 <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 );
a0002dac:	e1a00006 	mov	r0, r6                                        
a0002db0:	eb003145 	bl	a000f2cc <strlen>                              
a0002db4:	e1a03007 	mov	r3, r7                                        
a0002db8:	e1a01000 	mov	r1, r0                                        
a0002dbc:	e1a02009 	mov	r2, r9                                        
a0002dc0:	e1a00006 	mov	r0, r6                                        
a0002dc4:	e58d8000 	str	r8, [sp]                                      
a0002dc8:	ebfffc39 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
    if ( status != 0 ) {   /* The file did not exist */               
a0002dcc:	e3500000 	cmp	r0, #0                                        
a0002dd0:	11a07009 	movne	r7, r9                                      
a0002dd4:	13a0600d 	movne	r6, #13                                     
a0002dd8:	1affffce 	bne	a0002d18 <open+0x184>                         
a0002ddc:	eaffff8d 	b	a0002c18 <open+0x84>                            
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
a0002de0:	eb002d34 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0002de4:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
a0002de8:	eaffffc2 	b	a0002cf8 <open+0x164>                           <== NOT EXECUTED
                                                                      

a0002b2c <open_dev_console>: int stderr_fd; /* * Attempt to open /dev/console. */ if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {
a0002b2c:	e3a01000 	mov	r1, #0                                        
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
a0002b30:	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) {         
a0002b34:	e59f004c 	ldr	r0, [pc, #76]	; a0002b88 <open_dev_console+0x5c>
a0002b38:	e1a02001 	mov	r2, r1                                        
a0002b3c:	eb000014 	bl	a0002b94 <open>                                
a0002b40:	e3700001 	cmn	r0, #1                                        
a0002b44:	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)          
a0002b48:	e59f0038 	ldr	r0, [pc, #56]	; a0002b88 <open_dev_console+0x5c>
a0002b4c:	e3a01001 	mov	r1, #1                                        
a0002b50:	e3a02000 	mov	r2, #0                                        
a0002b54:	eb00000e 	bl	a0002b94 <open>                                
a0002b58:	e3700001 	cmn	r0, #1                                        
a0002b5c:	0a000007 	beq	a0002b80 <open_dev_console+0x54>              
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
a0002b60:	e59f0020 	ldr	r0, [pc, #32]	; a0002b88 <open_dev_console+0x5c>
a0002b64:	e3a01001 	mov	r1, #1                                        
a0002b68:	e3a02000 	mov	r2, #0                                        
a0002b6c:	eb000008 	bl	a0002b94 <open>                                
a0002b70:	e3700001 	cmn	r0, #1                                        
a0002b74:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
a0002b78:	e59f000c 	ldr	r0, [pc, #12]	; a0002b8c <open_dev_console+0x60><== NOT EXECUTED
a0002b7c:	eb000c32 	bl	a0005c4c <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 */       
a0002b80:	e59f0008 	ldr	r0, [pc, #8]	; a0002b90 <open_dev_console+0x64><== NOT EXECUTED
a0002b84:	eb000c30 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0003590 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
a0003590:	e92d4010 	push	{r4, lr}                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0003594:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003598:	e24dd004 	sub	sp, sp, #4                                    
a000359c:	e1a04001 	mov	r4, r1                                        
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a00035a0:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a00035a4:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a00035a8:	0a000014 	beq	a0003600 <oproc+0x70>                         
		switch (c) {                                                        
a00035ac:	e5dd1000 	ldrb	r1, [sp]                                     
a00035b0:	e2412008 	sub	r2, r1, #8                                    
a00035b4:	e3520005 	cmp	r2, #5                                        
a00035b8:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a00035bc:	ea000005 	b	a00035d8 <oproc+0x48>                           
a00035c0:	a0003670 	.word	0xa0003670                                  
a00035c4:	a000364c 	.word	0xa000364c                                  
a00035c8:	a0003684 	.word	0xa0003684                                  
a00035cc:	a00035d8 	.word	0xa00035d8                                  
a00035d0:	a00035d8 	.word	0xa00035d8                                  
a00035d4:	a0003618 	.word	0xa0003618                                  
			if (tty->column > 0)                                               
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
a00035d8:	e3130002 	tst	r3, #2                                        
a00035dc:	1a000034 	bne	a00036b4 <oproc+0x124>                        
a00035e0:	e59f310c 	ldr	r3, [pc, #268]	; a00036f4 <oproc+0x164>       
a00035e4:	e5933000 	ldr	r3, [r3]                                      
				c = toupper(c);                                                   
			if (!iscntrl(c))                                                   
a00035e8:	e0831001 	add	r1, r3, r1                                    
a00035ec:	e5d13001 	ldrb	r3, [r1, #1]                                 
a00035f0:	e3130020 	tst	r3, #32                                       
				tty->column++;                                                    
a00035f4:	05943028 	ldreq	r3, [r4, #40]	; 0x28                        
a00035f8:	02833001 	addeq	r3, r3, #1                                  
a00035fc:	05843028 	streq	r3, [r4, #40]	; 0x28                        
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
a0003600:	e1a02004 	mov	r2, r4                                        
a0003604:	e1a0000d 	mov	r0, sp                                        
a0003608:	e3a01001 	mov	r1, #1                                        
a000360c:	ebffff97 	bl	a0003470 <rtems_termios_puts>                  
}                                                                     
a0003610:	e28dd004 	add	sp, sp, #4                                    
a0003614:	e8bd8010 	pop	{r4, pc}                                      
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
a0003618:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a000361c:	0a000002 	beq	a000362c <oproc+0x9c>                         <== NOT EXECUTED
a0003620:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003624:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003628:	0afffff8 	beq	a0003610 <oproc+0x80>                         <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
a000362c:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
a0003630:	0a00000c 	beq	a0003668 <oproc+0xd8>                         <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
a0003634:	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';                                                         
a0003638:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
a000363c:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
					tty->column = 0;                                                 
a0003640:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a0003644:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003648:	eaffffec 	b	a0003600 <oproc+0x70>                           <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a000364c:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0003650:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
a0003654:	e3530b06 	cmp	r3, #6144	; 0x1800                            
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a0003658:	e2021007 	and	r1, r2, #7                                    
a000365c:	e2611008 	rsb	r1, r1, #8                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
a0003660:	10812002 	addne	r2, r1, r2                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0003664:	0a00001c 	beq	a00036dc <oproc+0x14c>                        
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
a0003668:	e5842028 	str	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
			break;                                                             
a000366c:	eaffffe3 	b	a0003600 <oproc+0x70>                           <== NOT EXECUTED
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
a0003670:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003674:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				tty->column--;                                                    
a0003678:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
a000367c:	c5843028 	strgt	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0003680:	eaffffde 	b	a0003600 <oproc+0x70>                           <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
		switch (c) {                                                        
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
a0003684:	e3130020 	tst	r3, #32                                       
				tty->column = 0;                                                  
a0003688:	13a02000 	movne	r2, #0                                      
a000368c:	15842028 	strne	r2, [r4, #40]	; 0x28                        
			if (tty->termios.c_oflag & ONLCR) {                                
a0003690:	e3130004 	tst	r3, #4                                        
a0003694:	0affffd9 	beq	a0003600 <oproc+0x70>                         
				rtems_termios_puts ("\r", 1, tty);                                
a0003698:	e59f0058 	ldr	r0, [pc, #88]	; a00036f8 <oproc+0x168>        
a000369c:	e3a01001 	mov	r1, #1                                        
a00036a0:	e1a02004 	mov	r2, r4                                        
a00036a4:	ebffff71 	bl	a0003470 <rtems_termios_puts>                  
				tty->column = 0;                                                  
a00036a8:	e3a03000 	mov	r3, #0                                        
a00036ac:	e5843028 	str	r3, [r4, #40]	; 0x28                          
a00036b0:	eaffffd2 	b	a0003600 <oproc+0x70>                           
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
				c = toupper(c);                                                   
a00036b4:	e59f3038 	ldr	r3, [pc, #56]	; a00036f4 <oproc+0x164>        <== NOT EXECUTED
a00036b8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a00036bc:	e0832001 	add	r2, r3, r1                                    <== NOT EXECUTED
a00036c0:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a00036c4:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a00036c8:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
a00036cc:	02411020 	subeq	r1, r1, #32                                 <== NOT EXECUTED
a00036d0:	e20110ff 	and	r1, r1, #255	; 0xff                           <== NOT EXECUTED
a00036d4:	e5cd1000 	strb	r1, [sp]                                     <== NOT EXECUTED
a00036d8:	eaffffc2 	b	a00035e8 <oproc+0x58>                           <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
a00036dc:	e0812002 	add	r2, r1, r2                                    
a00036e0:	e5842028 	str	r2, [r4, #40]	; 0x28                          
				rtems_termios_puts ( "        ",  i, tty);                        
a00036e4:	e59f0010 	ldr	r0, [pc, #16]	; a00036fc <oproc+0x16c>        
a00036e8:	e1a02004 	mov	r2, r4                                        
a00036ec:	ebffff5f 	bl	a0003470 <rtems_termios_puts>                  
				return;                                                           
a00036f0:	eaffffc6 	b	a0003610 <oproc+0x80>                           
                                                                      

a000d310 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
a000d310:	e92d4070 	push	{r4, r5, r6, lr}                             
a000d314:	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)
a000d318:	e28d4004 	add	r4, sp, #4                                    
a000d31c:	e3a0c001 	mov	ip, #1                                        
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000d320:	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)
a000d324:	e3a01003 	mov	r1, #3                                        
a000d328:	e59f0160 	ldr	r0, [pc, #352]	; a000d490 <pipe_create+0x180> 
a000d32c:	e3a02007 	mov	r2, #7                                        
a000d330:	e1a03004 	mov	r3, r4                                        
a000d334:	e58dc000 	str	ip, [sp]                                      
a000d338:	ebffd2dd 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
a000d33c:	e3500000 	cmp	r0, #0                                        
a000d340:	1a00003d 	bne	a000d43c <pipe_create+0x12c>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
a000d344:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000d348:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d34c:	0a000004 	beq	a000d364 <pipe_create+0x54>                   <== NOT EXECUTED
a000d350:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000d354:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d358:	0a000001 	beq	a000d364 <pipe_create+0x54>                   <== NOT EXECUTED
a000d35c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d360:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d364:	e59fc128 	ldr	ip, [pc, #296]	; a000d494 <pipe_create+0x184> 
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d368:	e28d4018 	add	r4, sp, #24                                   
a000d36c:	e3a03c6f 	mov	r3, #28416	; 0x6f00                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d370:	e1dce0b0 	ldrh	lr, [ip]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d374:	e2833066 	add	r3, r3, #102	; 0x66                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d378:	e59f1118 	ldr	r1, [pc, #280]	; a000d498 <pipe_create+0x188> 
a000d37c:	e1a0200e 	mov	r2, lr                                        
a000d380:	e28ee001 	add	lr, lr, #1                                    
a000d384:	e1cce0b0 	strh	lr, [ip]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d388:	e59fc10c 	ldr	ip, [pc, #268]	; a000d49c <pipe_create+0x18c> 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d38c:	e284000a 	add	r0, r4, #10                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d390:	e1c430b8 	strh	r3, [r4, #8]                                 
a000d394:	e58dc018 	str	ip, [sp, #24]                                 
a000d398:	e28cc33e 	add	ip, ip, #-134217728	; 0xf8000000              
a000d39c:	e28cc73e 	add	ip, ip, #16252928	; 0xf80000                  
a000d3a0:	e28cccba 	add	ip, ip, #47616	; 0xba00                       
a000d3a4:	e58dc01c 	str	ip, [sp, #28]                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d3a8:	eb000676 	bl	a000ed88 <sprintf>                             
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
a000d3ac:	e1a00004 	mov	r0, r4                                        
a000d3b0:	e3a01d06 	mov	r1, #384	; 0x180                              
a000d3b4:	eb0001d5 	bl	a000db10 <mkfifo>                              
a000d3b8:	e2506000 	subs	r6, r0, #0                                   
a000d3bc:	1a00001c 	bne	a000d434 <pipe_create+0x124>                  
    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);                 
a000d3c0:	e1a00004 	mov	r0, r4                                        
a000d3c4:	e3a01901 	mov	r1, #16384	; 0x4000                           
a000d3c8:	ebffd5f1 	bl	a0002b94 <open>                                
  if (filsdes[0] < 0) {                                               
a000d3cc:	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);                 
a000d3d0:	e5850000 	str	r0, [r5]                                      
  if (filsdes[0] < 0) {                                               
a000d3d4:	ba000023 	blt	a000d468 <pipe_create+0x158>                  
     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]);                                
a000d3d8:	e59f30c0 	ldr	r3, [pc, #192]	; a000d4a0 <pipe_create+0x190> <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d3dc:	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]);                                
a000d3e0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000d3e4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000d3e8:	359f30b4 	ldrcc	r3, [pc, #180]	; a000d4a4 <pipe_create+0x194><== NOT EXECUTED
a000d3ec:	35936000 	ldrcc	r6, [r3]                                    <== NOT EXECUTED
a000d3f0:	30866300 	addcc	r6, r6, r0, lsl #6                          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000d3f4:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d3f8:	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;                              
a000d3fc:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
a000d400:	e5863014 	str	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d404:	ebffd5e2 	bl	a0002b94 <open>                                <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000d408:	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);                            
a000d40c:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000d410:	a3a06000 	movge	r6, #0                                      <== NOT EXECUTED
a000d414:	ba000018 	blt	a000d47c <pipe_create+0x16c>                  <== NOT EXECUTED
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
a000d418:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d41c:	eb0001bf 	bl	a000db20 <unlink>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
a000d420:	eb0003a4 	bl	a000e2b8 <__errno>                             
a000d424:	e5806000 	str	r6, [r0]                                      
}                                                                     
a000d428:	e3e00000 	mvn	r0, #0                                        
a000d42c:	e28dd028 	add	sp, sp, #40	; 0x28                            
a000d430:	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){                                             
a000d434:	eb00039f 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000d438:	eafffffa 	b	a000d428 <pipe_create+0x118>                    <== 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)                                              
a000d43c:	eb00039d 	bl	a000e2b8 <__errno>                             
a000d440:	e5903000 	ldr	r3, [r0]                                      
a000d444:	e3530002 	cmp	r3, #2                                        
a000d448:	1afffff6 	bne	a000d428 <pipe_create+0x118>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
a000d44c:	e3a01fff 	mov	r1, #1020	; 0x3fc                             
a000d450:	e2811003 	add	r1, r1, #3                                    
a000d454:	e59f0034 	ldr	r0, [pc, #52]	; a000d490 <pipe_create+0x180>  
a000d458:	ebffd3db 	bl	a00023cc <mkdir>                               
a000d45c:	e3500000 	cmp	r0, #0                                        
a000d460:	0affffbf 	beq	a000d364 <pipe_create+0x54>                   
a000d464:	eaffffef 	b	a000d428 <pipe_create+0x118>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
a000d468:	eb000392 	bl	a000e2b8 <__errno>                             
a000d46c:	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);                                                 
a000d470:	e1a00004 	mov	r0, r4                                        
a000d474:	eb0001a9 	bl	a000db20 <unlink>                              
a000d478:	eaffffe8 	b	a000d420 <pipe_create+0x110>                    
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
a000d47c:	eb00038d 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000d480:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
a000d484:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000d488:	ebfff52d 	bl	a000a944 <close>                               <== NOT EXECUTED
a000d48c:	eaffffe1 	b	a000d418 <pipe_create+0x108>                    <== NOT EXECUTED
                                                                      

a0008fac <pipe_ioctl>: uint32_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
a0008fac:	e59f3060 	ldr	r3, [pc, #96]	; a0009014 <pipe_ioctl+0x68>    <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0008fb0:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a0008fb4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0008fb8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0008fbc:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a0008fc0:	0a000001 	beq	a0008fcc <pipe_ioctl+0x20>                    <== NOT EXECUTED
a0008fc4:	e3e00015 	mvn	r0, #21                                       <== NOT EXECUTED
a0008fc8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    if (buffer == NULL)                                               
a0008fcc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0008fd0:	1a000001 	bne	a0008fdc <pipe_ioctl+0x30>                    <== NOT EXECUTED
a0008fd4:	e3e0000d 	mvn	r0, #13                                       <== NOT EXECUTED
a0008fd8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
a0008fdc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0008fe0:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a0008fe4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0008fe8:	ebfff177 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a0008fec:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a0008ff0:	0a000001 	beq	a0008ffc <pipe_ioctl+0x50>                    <== NOT EXECUTED
a0008ff4:	e3e00003 	mvn	r0, #3                                        <== NOT EXECUTED
a0008ff8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a0008ffc:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a0009000:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
a0009004:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a0009008:	ebfff1b7 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a000900c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
a0009010:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0008f34 <pipe_lseek>: rtems_libio_t *iop ) { /* Seek on pipe is not supported */ return -ESPIPE; }
a0008f34:	e3e0001c 	mvn	r0, #28                                       <== NOT EXECUTED
a0008f38:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a000921c <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
a000921c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
a0009220:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0009224:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0009228:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a000922c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0009230:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0009234:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a0009238:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000923c:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0009240:	ebfff0e1 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a0009244:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
a0009248:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a000924c:	1a000027 	bne	a00092f0 <pipe_read+0xd4>                     <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a0009250:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0009254:	01a07005 	moveq	r7, r5                                      <== NOT EXECUTED
a0009258:	01a06007 	moveq	r6, r7                                      <== NOT EXECUTED
a000925c:	0a00001f 	beq	a00092e0 <pipe_read+0xc4>                     <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
a0009260:	e1a0700a 	mov	r7, sl                                        <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a0009264:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
a0009268:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
a000926c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0009270:	1a000021 	bne	a00092fc <pipe_read+0xe0>                     <== NOT EXECUTED
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
a0009274:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a0009278:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000927c:	0a00003c 	beq	a0009374 <pipe_read+0x158>                    <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a0009280:	e5986014 	ldr	r6, [r8, #20]                                 <== NOT EXECUTED
a0009284:	e2166001 	ands	r6, r6, #1                                   <== NOT EXECUTED
a0009288:	1a00003b 	bne	a000937c <pipe_read+0x160>                    <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000928c:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a0009290:	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 ++;                                        
a0009294:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0009298:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000929c:	ebfff112 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
a00092a0:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00092a4:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a00092a8:	eb0007e5 	bl	a000b244 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00092ac:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00092b0:	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))                                      
a00092b4:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00092b8:	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))                                      
a00092bc:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00092c0:	ebfff0c1 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a00092c4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00092c8:	1a00002d 	bne	a0009384 <pipe_read+0x168>                    <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a00092cc:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a00092d0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a00092d4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a00092d8:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a00092dc:	0affffe1 	beq	a0009268 <pipe_read+0x4c>                     <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a00092e0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00092e4:	ebfff100 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
a00092e8:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a00092ec:	d1a07006 	movle	r7, r6                                      <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
a00092f0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a00092f4:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00092f8:	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;                                
a00092fc:	e9941008 	ldmib	r4, {r3, ip}                                <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
a0009300:	e06a6005 	rsb	r6, sl, r5                                    <== NOT EXECUTED
a0009304:	e1520006 	cmp	r2, r6                                        <== NOT EXECUTED
a0009308:	31a06002 	movcc	r6, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
a000930c:	e06c3003 	rsb	r3, ip, r3                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a0009310:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
a0009314:	ca00001c 	bgt	a000938c <pipe_read+0x170>                    <== 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);       
a0009318:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000931c:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a0009320:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0009324:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a0009328:	eb0015f0 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
a000932c:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a0009330:	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;                                             
a0009334:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
a0009338:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a000933c:	eb0039ab 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a0009340:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
a0009344:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a0009348:	e0663003 	rsb	r3, r6, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
a000934c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      pipe->Start = 0;                                                
a0009350:	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;                                            
a0009354:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
a0009358:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
a000935c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0009360:	1a000016 	bne	a00093c0 <pipe_read+0x1a4>                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
a0009364:	e0877006 	add	r7, r7, r6                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a0009368:	e1570005 	cmp	r7, r5                                        <== NOT EXECUTED
a000936c:	e1a0a007 	mov	sl, r7                                        <== NOT EXECUTED
a0009370:	3affffbc 	bcc	a0009268 <pipe_read+0x4c>                     <== NOT EXECUTED
a0009374:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0009378:	eaffffd8 	b	a00092e0 <pipe_read+0xc4>                       <== NOT EXECUTED
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a000937c:	e3e0600a 	mvn	r6, #10                                       <== NOT EXECUTED
a0009380:	eaffffd6 	b	a00092e0 <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)) {                                        
a0009384:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
a0009388:	eaffffd6 	b	a00092e8 <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);      
a000938c:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a0009390:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0009394:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a0009398:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a000939c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00093a0:	eb0015d2 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
a00093a4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00093a8:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a00093ac:	e08a0003 	add	r0, sl, r3                                    <== NOT EXECUTED
a00093b0:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
a00093b4:	e0632006 	rsb	r2, r3, r6                                    <== NOT EXECUTED
a00093b8:	eb0015cc 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
a00093bc:	eaffffda 	b	a000932c <pipe_read+0x110>                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a00093c0:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a00093c4:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a00093c8:	eb000784 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a00093cc:	eaffffe4 	b	a0009364 <pipe_read+0x148>                      <== NOT EXECUTED
                                                                      

a00093d0 <pipe_release>: */ int pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
a00093d0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
a00093d4:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00093d8:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a00093dc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00093e0:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a00093e4:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a00093e8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a00093ec:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00093f0:	ebfff075 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
a00093f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00093f8:	1a000039 	bne	a00094e4 <pipe_release+0x114>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a00093fc:	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,                   
a0009400:	e59f50e0 	ldr	r5, [pc, #224]	; a00094e8 <pipe_release+0x118><== NOT EXECUTED
a0009404:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
a0009408:	e3160002 	tst	r6, #2                                        <== NOT EXECUTED
     pipe->Readers --;                                                
a000940c:	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);                                          
a0009410:	e2066006 	and	r6, r6, #6                                    <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a0009414:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
a0009418:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000941c:	15843010 	strne	r3, [r4, #16]                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
a0009420:	e3160004 	tst	r6, #4                                        <== NOT EXECUTED
     pipe->Writers --;                                                
a0009424:	15943014 	ldrne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a0009428:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
a000942c:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0009430:	15843014 	strne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a0009434:	ebfff064 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
a0009438:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000943c:	1a000028 	bne	a00094e4 <pipe_release+0x114>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a0009440:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0009444:	ebfff0a8 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a0009448:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000944c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0009450:	0a00000e 	beq	a0009490 <pipe_release+0xc0>                  <== 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)            
a0009454:	e5942014 	ldr	r2, [r4, #20]                                 <== NOT EXECUTED
a0009458:	e2723001 	rsbs	r3, r2, #1                                   <== NOT EXECUTED
a000945c:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
a0009460:	e3560002 	cmp	r6, #2                                        <== NOT EXECUTED
a0009464:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a0009468:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000946c:	0a000002 	beq	a000947c <pipe_release+0xac>                  <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
a0009470:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a0009474:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a0009478:	eb000758 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000947c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009480:	ebfff099 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
a0009484:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0009488:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000948c:	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) {                     
a0009490:	e5948014 	ldr	r8, [r4, #20]                                 <== NOT EXECUTED
a0009494:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a0009498:	0a000005 	beq	a00094b4 <pipe_release+0xe4>                  <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a000949c:	e3560004 	cmp	r6, #4                                        <== NOT EXECUTED
a00094a0:	0afffff5 	beq	a000947c <pipe_release+0xac>                  <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
a00094a4:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a00094a8:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a00094ac:	eb00074b 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a00094b0:	eafffff1 	b	a000947c <pipe_release+0xac>                    <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a00094b4:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a00094b8:	eb00071c 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a00094bc:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a00094c0:	eb00071a 	bl	a000b130 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a00094c4:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00094c8:	ebfff016 	bl	a0005528 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a00094cc:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00094d0:	ebffe299 	bl	a0001f3c <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a00094d4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00094d8:	ebffe297 	bl	a0001f3c <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;                                                    
a00094dc:	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) {                     
a00094e0:	eaffffe5 	b	a000947c <pipe_release+0xac>                    <== 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);                                   
a00094e4:	ebfff1d8 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0009018 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
a0009018:	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)                                                     
a000901c:	e2524000 	subs	r4, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a0009020:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0009024:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0009028:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000902c:	01a07004 	moveq	r7, r4                                      <== NOT EXECUTED
a0009030:	1a000002 	bne	a0009040 <pipe_write+0x28>                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
a0009034:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0009038:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000903c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a0009040:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0009044:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a0009048:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000904c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0009050:	ebfff15d 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a0009054:	e2509000 	subs	r9, r0, #0                                   <== NOT EXECUTED
a0009058:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000905c:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a0009060:	1afffff3 	bne	a0009034 <pipe_write+0x1c>                    <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
a0009064:	e5957010 	ldr	r7, [r5, #16]                                 <== NOT EXECUTED
a0009068:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000906c:	0a000050 	beq	a00091b4 <pipe_write+0x19c>                   <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a0009070:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a0009074:	e1a07009 	mov	r7, r9                                        <== NOT EXECUTED
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a0009078:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000907c:	e1540008 	cmp	r4, r8                                        <== NOT EXECUTED
a0009080:	91a0a004 	movls	sl, r4                                      <== NOT EXECUTED
a0009084:	83a0a001 	movhi	sl, #1                                      <== NOT EXECUTED
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a0009088:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a000908c:	e0602008 	rsb	r2, r0, r8                                    <== NOT EXECUTED
a0009090:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a0009094:	2a000021 	bcs	a0009120 <pipe_write+0x108>                   <== NOT EXECUTED
      if (LIBIO_NODELAY(iop)) {                                       
a0009098:	e5938014 	ldr	r8, [r3, #20]                                 <== NOT EXECUTED
a000909c:	e2188001 	ands	r8, r8, #1                                   <== NOT EXECUTED
a00090a0:	1a00004b 	bne	a00091d4 <pipe_write+0x1bc>                   <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a00090a4:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a00090a8:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00090ac:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a00090b0:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a00090b4:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a00090b8:	ebfff18b 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
a00090bc:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a00090c0:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a00090c4:	eb00085e 	bl	a000b244 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00090c8:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a00090cc:	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))                                     
a00090d0:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00090d4:	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))                                     
a00090d8:	13e08003 	mvnne	r8, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a00090dc:	ebfff13a 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a00090e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00090e4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00090e8:	1a000037 	bne	a00091cc <pipe_write+0x1b4>                   <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a00090ec:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a00090f0:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a00090f4:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a00090f8:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a00090fc:	1a00002d 	bne	a00091b8 <pipe_write+0x1a0>                   <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a0009100:	e5952010 	ldr	r2, [r5, #16]                                 <== NOT EXECUTED
a0009104:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0009108:	0a000029 	beq	a00091b4 <pipe_write+0x19c>                   <== NOT EXECUTED
a000910c:	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) {                                
a0009110:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0009114:	e0602008 	rsb	r2, r0, r8                                    <== NOT EXECUTED
a0009118:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a000911c:	3affffdd 	bcc	a0009098 <pipe_write+0x80>                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0009120:	e595c008 	ldr	ip, [r5, #8]                                  <== NOT EXECUTED
a0009124:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a0009128:	e069a004 	rsb	sl, r9, r4                                    <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000912c:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a0009130:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a0009134:	31a0a002 	movcc	sl, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0009138:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000913c:	eb003a2b 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
a0009140:	e0608008 	rsb	r8, r0, r8                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a0009144:	e15a0008 	cmp	sl, r8                                        <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a0009148:	e1a0c000 	mov	ip, r0                                        <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000914c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0009150:	da000021 	ble	a00091dc <pipe_write+0x1c4>                   <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
a0009154:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009158:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a000915c:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a0009160:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a0009164:	eb001661 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
a0009168:	e0881009 	add	r1, r8, r9                                    <== NOT EXECUTED
a000916c:	e0861001 	add	r1, r6, r1                                    <== NOT EXECUTED
a0009170:	e068200a 	rsb	r2, r8, sl                                    <== NOT EXECUTED
a0009174:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a0009178:	eb00165c 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
a000917c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a0009180:	e595200c 	ldr	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a0009184:	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;                                            
a0009188:	e082200a 	add	r2, r2, sl                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000918c:	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;                                            
a0009190:	e585200c 	str	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a0009194:	1a000018 	bne	a00091fc <pipe_write+0x1e4>                   <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
a0009198:	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) {                                           
a000919c:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
a00091a0:	e1a09007 	mov	r9, r7                                        <== NOT EXECUTED
a00091a4:	9a00001a 	bls	a0009214 <pipe_write+0x1fc>                   <== NOT EXECUTED
a00091a8:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
a00091ac:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
a00091b0:	eaffffb4 	b	a0009088 <pipe_write+0x70>                      <== NOT EXECUTED
a00091b4:	e3e0801f 	mvn	r8, #31                                       <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a00091b8:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a00091bc:	ebfff14a 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
a00091c0:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a00091c4:	d1a07008 	movle	r7, r8                                      <== NOT EXECUTED
a00091c8:	eaffff99 	b	a0009034 <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)) {                                        
a00091cc:	e3e08003 	mvn	r8, #3                                        <== NOT EXECUTED
a00091d0:	eafffffa 	b	a00091c0 <pipe_write+0x1a8>                     <== 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)) {                                       
a00091d4:	e3e0800a 	mvn	r8, #10                                       <== NOT EXECUTED
a00091d8:	eafffff6 	b	a00091b8 <pipe_write+0x1a0>                     <== 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);
a00091dc:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a00091e0:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a00091e4:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a00091e8:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a00091ec:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a00091f0:	eb00163e 	bl	a000eaf0 <memcpy>                              <== NOT EXECUTED
a00091f4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00091f8:	eaffffe0 	b	a0009180 <pipe_write+0x168>                     <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a00091fc:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a0009200:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a0009204:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0009208:	eb0007f4 	bl	a000b1e0 <rtems_barrier_release>               <== NOT EXECUTED
a000920c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0009210:	eaffffe0 	b	a0009198 <pipe_write+0x180>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a0009214:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
a0009218:	eaffffe6 	b	a00091b8 <pipe_write+0x1a0>                     <== NOT EXECUTED
                                                                      

a0019bdc <read>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0019bdc:	e59f30c0 	ldr	r3, [pc, #192]	; a0019ca4 <read+0xc8>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0019be0:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019be4:	e593c000 	ldr	ip, [r3]                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0019be8:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019bec:	e150000c 	cmp	r0, ip                                        
a0019bf0:	2a00001c 	bcs	a0019c68 <read+0x8c>                          
  iop = rtems_libio_iop( fd );                                        
a0019bf4:	e59fc0ac 	ldr	ip, [pc, #172]	; a0019ca8 <read+0xcc>         
a0019bf8:	e59c4000 	ldr	r4, [ip]                                      
a0019bfc:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0019c00:	e5940014 	ldr	r0, [r4, #20]                                 
a0019c04:	e3100c01 	tst	r0, #256	; 0x100                              
a0019c08:	0a000016 	beq	a0019c68 <read+0x8c>                          
  rtems_libio_check_buffer( buffer );                                 
a0019c0c:	e3510000 	cmp	r1, #0                                        
a0019c10:	0a000019 	beq	a0019c7c <read+0xa0>                          
  rtems_libio_check_count( count );                                   
a0019c14:	e3520000 	cmp	r2, #0                                        
a0019c18:	0a000010 	beq	a0019c60 <read+0x84>                          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0019c1c:	e3100002 	tst	r0, #2                                        
a0019c20:	0a000015 	beq	a0019c7c <read+0xa0>                          
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a0019c24:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0019c28:	e5933008 	ldr	r3, [r3, #8]                                  
a0019c2c:	e3530000 	cmp	r3, #0                                        
a0019c30:	0a000016 	beq	a0019c90 <read+0xb4>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
a0019c34:	e1a00004 	mov	r0, r4                                        
a0019c38:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0019c3c:	e3500000 	cmp	r0, #0                                        
a0019c40:	da000005 	ble	a0019c5c <read+0x80>                          
    iop->offset += rc;                                                
a0019c44:	e284600c 	add	r6, r4, #12                                   
a0019c48:	e8960060 	ldm	r6, {r5, r6}                                  
a0019c4c:	e0952000 	adds	r2, r5, r0                                   
a0019c50:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0019c54:	e584200c 	str	r2, [r4, #12]                                 
a0019c58:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0019c5c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0019c60:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0019c64:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0019c68:	ebffd192 	bl	a000e2b8 <__errno>                             
a0019c6c:	e3a03009 	mov	r3, #9                                        
a0019c70:	e5803000 	str	r3, [r0]                                      
a0019c74:	e3e00000 	mvn	r0, #0                                        
a0019c78:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0019c7c:	ebffd18d 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019c80:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0019c84:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019c88:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0019c8c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0019c90:	ebffd188 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019c94:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0019c98:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019c9c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0019ca0:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0005280 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
a0005280:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a0005284:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0005288:	e24dd018 	sub	sp, sp, #24                                   
a000528c:	e1a05002 	mov	r5, r2                                        
a0005290:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a0005294:	0a000030 	beq	a000535c <readlink+0xdc>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
a0005298:	eb0036f3 	bl	a0012e6c <strlen>                              
a000529c:	e28d4004 	add	r4, sp, #4                                    
a00052a0:	e3a0c000 	mov	ip, #0                                        
a00052a4:	e1a01000 	mov	r1, r0                                        
a00052a8:	e1a0200c 	mov	r2, ip                                        
a00052ac:	e1a00007 	mov	r0, r7                                        
a00052b0:	e1a03004 	mov	r3, r4                                        
a00052b4:	e58dc000 	str	ip, [sp]                                      
a00052b8:	ebfffb50 	bl	a0004000 <rtems_filesystem_evaluate_path>      
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a00052bc:	e3500000 	cmp	r0, #0                                        
a00052c0:	1a000023 	bne	a0005354 <readlink+0xd4>                      
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a00052c4:	e59d2010 	ldr	r2, [sp, #16]                                 
a00052c8:	e5923010 	ldr	r3, [r2, #16]                                 
a00052cc:	e3530000 	cmp	r3, #0                                        
a00052d0:	0a000017 	beq	a0005334 <readlink+0xb4>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
a00052d4:	e1a00004 	mov	r0, r4                                        
a00052d8:	e12fff33 	blx	r3                                            
a00052dc:	e3500004 	cmp	r0, #4                                        
a00052e0:	1a000022 	bne	a0005370 <readlink+0xf0>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
a00052e4:	e59d2010 	ldr	r2, [sp, #16]                                 
a00052e8:	e592303c 	ldr	r3, [r2, #60]	; 0x3c                          
a00052ec:	e3530000 	cmp	r3, #0                                        
a00052f0:	0a00002b 	beq	a00053a4 <readlink+0x124>                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a00052f4:	e1a02005 	mov	r2, r5                                        
a00052f8:	e1a01006 	mov	r1, r6                                        
a00052fc:	e1a00004 	mov	r0, r4                                        
a0005300:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0005304:	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 );             
a0005308:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000530c:	e3530000 	cmp	r3, #0                                        
a0005310:	0a000004 	beq	a0005328 <readlink+0xa8>                      
a0005314:	e593301c 	ldr	r3, [r3, #28]                                 
a0005318:	e3530000 	cmp	r3, #0                                        
a000531c:	0a000001 	beq	a0005328 <readlink+0xa8>                      
a0005320:	e1a00004 	mov	r0, r4                                        
a0005324:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0005328:	e1a00005 	mov	r0, r5                                        
a000532c:	e28dd018 	add	sp, sp, #24                                   
a0005330:	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 );                                
a0005334:	e592301c 	ldr	r3, [r2, #28]                                 
a0005338:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000533c:	0a000001 	beq	a0005348 <readlink+0xc8>                      <== NOT EXECUTED
a0005340:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0005344:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0005348:	eb002f86 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a000534c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005350:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005354:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0005358:	eafffff2 	b	a0005328 <readlink+0xa8>                        <== NOT EXECUTED
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000535c:	eb002f81 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a0005360:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0005364:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005368:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a000536c:	eaffffed 	b	a0005328 <readlink+0xa8>                        <== 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 );                                
a0005370:	e59d3010 	ldr	r3, [sp, #16]                                 
a0005374:	e3530000 	cmp	r3, #0                                        
a0005378:	0a000004 	beq	a0005390 <readlink+0x110>                     
a000537c:	e593301c 	ldr	r3, [r3, #28]                                 
a0005380:	e3530000 	cmp	r3, #0                                        
a0005384:	0a000001 	beq	a0005390 <readlink+0x110>                     
a0005388:	e1a00004 	mov	r0, r4                                        
a000538c:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0005390:	eb002f74 	bl	a0011168 <__errno>                             
a0005394:	e3a03016 	mov	r3, #22                                       
a0005398:	e5803000 	str	r3, [r0]                                      
a000539c:	e3e05000 	mvn	r5, #0                                        
a00053a0:	eaffffe0 	b	a0005328 <readlink+0xa8>                        
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
a00053a4:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00053a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00053ac:	0a000001 	beq	a00053b8 <readlink+0x138>                     <== NOT EXECUTED
a00053b0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00053b4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00053b8:	eb002f6a 	bl	a0011168 <__errno>                             <== NOT EXECUTED
a00053bc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00053c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00053c4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00053c8:	eaffffd6 	b	a0005328 <readlink+0xa8>                        <== NOT EXECUTED
                                                                      

a0003ba8 <readv>: int v; int bytes; rtems_libio_t *iop; bool all_zeros; rtems_libio_check_fd( fd );
a0003ba8:	e59f315c 	ldr	r3, [pc, #348]	; a0003d0c <readv+0x164>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003bac:	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 );                                         
a0003bb0:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003bb4:	e1a04002 	mov	r4, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0003bb8:	e1500003 	cmp	r0, r3                                        
a0003bbc:	2a000048 	bcs	a0003ce4 <readv+0x13c>                        
  iop = rtems_libio_iop( fd );                                        
a0003bc0:	e59f3148 	ldr	r3, [pc, #328]	; a0003d10 <readv+0x168>       
a0003bc4:	e5936000 	ldr	r6, [r3]                                      
a0003bc8:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0003bcc:	e5963014 	ldr	r3, [r6, #20]                                 
a0003bd0:	e3130c01 	tst	r3, #256	; 0x100                              
a0003bd4:	0a000042 	beq	a0003ce4 <readv+0x13c>                        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0003bd8:	e3130002 	tst	r3, #2                                        
a0003bdc:	0a00003a 	beq	a0003ccc <readv+0x124>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0003be0:	e3510000 	cmp	r1, #0                                        
a0003be4:	0a000038 	beq	a0003ccc <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0003be8:	e3520000 	cmp	r2, #0                                        
a0003bec:	da000036 	ble	a0003ccc <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0003bf0:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0003bf4:	ca000034 	bgt	a0003ccc <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
a0003bf8:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a0003bfc:	e5933008 	ldr	r3, [r3, #8]                                  
a0003c00:	e3530000 	cmp	r3, #0                                        
a0003c04:	0a00003b 	beq	a0003cf8 <readv+0x150>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003c08:	e1a05001 	mov	r5, r1                                        
a0003c0c:	e3a01000 	mov	r1, #0                                        
a0003c10:	e1a02005 	mov	r2, r5                                        
a0003c14:	e3a07001 	mov	r7, #1                                        
a0003c18:	e1a00001 	mov	r0, r1                                        
a0003c1c:	ea000000 	b	a0003c24 <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++ ) {                           
a0003c20:	e1a00008 	mov	r0, r8                                        
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a0003c24:	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++ ) {                           
a0003c28:	e2811001 	add	r1, r1, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a0003c2c:	e35c0000 	cmp	ip, #0                                        
a0003c30:	0a000025 	beq	a0003ccc <readv+0x124>                        
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0003c34:	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++ ) {                           
a0003c38:	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;                                          
a0003c3c:	e080800c 	add	r8, r0, ip                                    
    if ( total < old )                                                
a0003c40:	e1580000 	cmp	r8, r0                                        
a0003c44:	ba000020 	blt	a0003ccc <readv+0x124>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a0003c48:	e35c0000 	cmp	ip, #0                                        
a0003c4c:	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++ ) {                           
a0003c50:	e1540001 	cmp	r4, r1                                        
a0003c54:	cafffff1 	bgt	a0003c20 <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 ) {                                          
a0003c58:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0003c5c:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
a0003c60:	1a00001d 	bne	a0003cdc <readv+0x134>                        <== NOT EXECUTED
a0003c64:	e1a08007 	mov	r8, r7                                        <== NOT EXECUTED
a0003c68:	ea00000f 	b	a0003cac <readv+0x104>                          <== NOT EXECUTED
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0003c6c:	0a000006 	beq	a0003c8c <readv+0xe4>                         <== NOT EXECUTED
      iop->offset += bytes;                                           
a0003c70:	e286c00c 	add	ip, r6, #12                                   <== NOT EXECUTED
a0003c74:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
a0003c78:	e09b2000 	adds	r2, fp, r0                                   <== NOT EXECUTED
a0003c7c:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           <== NOT EXECUTED
a0003c80:	e586200c 	str	r2, [r6, #12]                                 <== NOT EXECUTED
a0003c84:	e5863010 	str	r3, [r6, #16]                                 <== NOT EXECUTED
      total       += bytes;                                           
a0003c88:	e0888000 	add	r8, r8, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003c8c:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c90:	e2855008 	add	r5, r5, #8                                    <== NOT EXECUTED
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003c94:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003c98:	1a00000f 	bne	a0003cdc <readv+0x134>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c9c:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
a0003ca0:	da00000d 	ble	a0003cdc <readv+0x134>                        <== NOT EXECUTED
a0003ca4:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          <== NOT EXECUTED
a0003ca8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
a0003cac:	e8950006 	ldm	r5, {r1, r2}                                  <== NOT EXECUTED
a0003cb0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0003cb4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
    if ( bytes < 0 )                                                  
a0003cb8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003cbc:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
a0003cc0:	aaffffe9 	bge	a0003c6c <readv+0xc4>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003cc4:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003cc8:	ea000003 	b	a0003cdc <readv+0x134>                          <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0003ccc:	eb002d5e 	bl	a000f24c <__errno>                             
a0003cd0:	e3a03016 	mov	r3, #22                                       
a0003cd4:	e5803000 	str	r3, [r0]                                      
a0003cd8:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0003cdc:	e1a00008 	mov	r0, r8                                        
a0003ce0:	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 );                                   
a0003ce4:	eb002d58 	bl	a000f24c <__errno>                             
a0003ce8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0003cec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003cf0:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003cf4:	eafffff8 	b	a0003cdc <readv+0x134>                          <== 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 );                  
a0003cf8:	eb002d53 	bl	a000f24c <__errno>                             <== NOT EXECUTED
a0003cfc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003d00:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003d04:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003d08:	eafffff3 	b	a0003cdc <readv+0x134>                          <== NOT EXECUTED
                                                                      

a0019d04 <realloc>: { uintptr_t old_size; char *new_area; uintptr_t resize; MSBUMP(realloc_calls, 1);
a0019d04:	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())) {                     
a0019d08:	e59f3118 	ldr	r3, [pc, #280]	; a0019e28 <realloc+0x124>     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0019d0c:	e59f5118 	ldr	r5, [pc, #280]	; a0019e2c <realloc+0x128>     
a0019d10:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0019d14:	e5933000 	ldr	r3, [r3]                                      
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0019d18:	e5952010 	ldr	r2, [r5, #16]                                 
a0019d1c:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0019d20:	e3530003 	cmp	r3, #3                                        
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0019d24:	e2822001 	add	r2, r2, #1                                    
a0019d28:	e1a06001 	mov	r6, r1                                        
a0019d2c:	e5852010 	str	r2, [r5, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0019d30:	0a000020 	beq	a0019db8 <realloc+0xb4>                       
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
a0019d34:	e3540000 	cmp	r4, #0                                        
a0019d38:	0a00001a 	beq	a0019da8 <realloc+0xa4>                       
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
a0019d3c:	e3560000 	cmp	r6, #0                                        
a0019d40:	0a00000f 	beq	a0019d84 <realloc+0x80>                       
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
a0019d44:	e59f70e4 	ldr	r7, [pc, #228]	; a0019e30 <realloc+0x12c>     
a0019d48:	e1a01004 	mov	r1, r4                                        
a0019d4c:	e1a0200d 	mov	r2, sp                                        
a0019d50:	e5970000 	ldr	r0, [r7]                                      
a0019d54:	eb00006c 	bl	a0019f0c <_Protected_heap_Get_block_size>      
a0019d58:	e2508000 	subs	r8, r0, #0                                   
a0019d5c:	0a00000c 	beq	a0019d94 <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 ) ) {
a0019d60:	e5970000 	ldr	r0, [r7]                                      
a0019d64:	e1a01004 	mov	r1, r4                                        
a0019d68:	e1a02006 	mov	r2, r6                                        
a0019d6c:	eb000077 	bl	a0019f50 <_Protected_heap_Resize_block>        
a0019d70:	e3500000 	cmp	r0, #0                                        
a0019d74:	0a00001b 	beq	a0019de8 <realloc+0xe4>                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
a0019d78:	e1a00004 	mov	r0, r4                                        
a0019d7c:	e28dd004 	add	sp, sp, #4                                    
a0019d80:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
a0019d84:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0019d88:	ebffa06b 	bl	a0001f3c <free>                                <== NOT EXECUTED
a0019d8c:	e1a04006 	mov	r4, r6                                        <== NOT EXECUTED
    return (void *) 0;                                                
a0019d90:	eafffff8 	b	a0019d78 <realloc+0x74>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
a0019d94:	ebffd147 	bl	a000e2b8 <__errno>                             
a0019d98:	e3a03016 	mov	r3, #22                                       
a0019d9c:	e5803000 	str	r3, [r0]                                      
a0019da0:	e1a04008 	mov	r4, r8                                        
    return (void *) 0;                                                
a0019da4:	eafffff3 	b	a0019d78 <realloc+0x74>                         
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
a0019da8:	e1a00006 	mov	r0, r6                                        
a0019dac:	ebffa146 	bl	a00022cc <malloc>                              
a0019db0:	e1a04000 	mov	r4, r0                                        
a0019db4:	eaffffef 	b	a0019d78 <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)                           
a0019db8:	e59f3074 	ldr	r3, [pc, #116]	; a0019e34 <realloc+0x130>     
a0019dbc:	e5933000 	ldr	r3, [r3]                                      
a0019dc0:	e3530000 	cmp	r3, #0                                        
a0019dc4:	0a000001 	beq	a0019dd0 <realloc+0xcc>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
a0019dc8:	e3a04000 	mov	r4, #0                                        
a0019dcc:	eaffffe9 	b	a0019d78 <realloc+0x74>                         
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a0019dd0:	e59f3060 	ldr	r3, [pc, #96]	; a0019e38 <realloc+0x134>      
a0019dd4:	e5933000 	ldr	r3, [r3]                                      
a0019dd8:	e3530000 	cmp	r3, #0                                        
a0019ddc:	0affffd4 	beq	a0019d34 <realloc+0x30>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
a0019de0:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a0019de4:	eaffffe3 	b	a0019d78 <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 );                                          
a0019de8:	e1a00006 	mov	r0, r6                                        
a0019dec:	ebffa136 	bl	a00022cc <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0019df0:	e5953004 	ldr	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0019df4:	e2507000 	subs	r7, r0, #0                                   
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0019df8:	e2433001 	sub	r3, r3, #1                                    
a0019dfc:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0019e00:	0afffff0 	beq	a0019dc8 <realloc+0xc4>                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
a0019e04:	e59d2000 	ldr	r2, [sp]                                      
a0019e08:	e1a01004 	mov	r1, r4                                        
a0019e0c:	e1560002 	cmp	r6, r2                                        
a0019e10:	31a02006 	movcc	r2, r6                                      
a0019e14:	ebffd335 	bl	a000eaf0 <memcpy>                              
  free( ptr );                                                        
a0019e18:	e1a00004 	mov	r0, r4                                        
a0019e1c:	ebffa046 	bl	a0001f3c <free>                                
a0019e20:	e1a04007 	mov	r4, r7                                        
                                                                      
  return new_area;                                                    
a0019e24:	eaffffd3 	b	a0019d78 <realloc+0x74>                         
                                                                      

a0006660 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
a0006660:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0006664:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a0006668:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
a000666c:	ebfff91d 	bl	a0004ae8 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a0006670:	e2505000 	subs	r5, r0, #0                                   
a0006674:	1a00005a 	bne	a00067e4 <rmdir+0x184>                        
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a0006678:	e28d4018 	add	r4, sp, #24                                   
a000667c:	e1a00007 	mov	r0, r7                                        
a0006680:	e28d102c 	add	r1, sp, #44	; 0x2c                            
a0006684:	e1a02004 	mov	r2, r4                                        
a0006688:	eb0000c6 	bl	a00069a8 <rtems_filesystem_get_start_loc>      
a000668c:	e1a06005 	mov	r6, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a0006690:	e28dc004 	add	ip, sp, #4                                    
a0006694:	e1a0e004 	mov	lr, r4                                        
a0006698:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000669c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00066a0:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
a00066a4:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00066a8:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a00066ac:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a00066b0:	eb003aa5 	bl	a001514c <strlen>                              
a00066b4:	e1a01000 	mov	r1, r0                                        
a00066b8:	e1a00005 	mov	r0, r5                                        
a00066bc:	ebfff8f4 	bl	a0004a94 <rtems_filesystem_prefix_separators>  
a00066c0:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a00066c4:	e1a00007 	mov	r0, r7                                        
a00066c8:	eb003a9f 	bl	a001514c <strlen>                              
a00066cc:	e28d5004 	add	r5, sp, #4                                    
a00066d0:	e3a0c000 	mov	ip, #0                                        
a00066d4:	e1a01000 	mov	r1, r0                                        
a00066d8:	e1a0200c 	mov	r2, ip                                        
a00066dc:	e1a00007 	mov	r0, r7                                        
a00066e0:	e1a03005 	mov	r3, r5                                        
a00066e4:	e58dc000 	str	ip, [sp]                                      
a00066e8:	ebfff90f 	bl	a0004b2c <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a00066ec:	e3500000 	cmp	r0, #0                                        
a00066f0:	1a000048 	bne	a0006818 <rmdir+0x1b8>                        
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a00066f4:	e59d2010 	ldr	r2, [sp, #16]                                 
a00066f8:	e5923010 	ldr	r3, [r2, #16]                                 
a00066fc:	e3530000 	cmp	r3, #0                                        
a0006700:	0a000067 	beq	a00068a4 <rmdir+0x244>                        
    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 ){
a0006704:	e1a00005 	mov	r0, r5                                        
a0006708:	e12fff33 	blx	r3                                            
a000670c:	e3500001 	cmp	r0, #1                                        
a0006710:	1a00001c 	bne	a0006788 <rmdir+0x128>                        
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
a0006714:	e59d300c 	ldr	r3, [sp, #12]                                 
a0006718:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a000671c:	e3530000 	cmp	r3, #0                                        
a0006720:	0a000048 	beq	a0006848 <rmdir+0x1e8>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a0006724:	e1a00004 	mov	r0, r4                                        
a0006728:	e1a01005 	mov	r1, r5                                        
a000672c:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0006730:	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 );             
a0006734:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0006738:	e3530000 	cmp	r3, #0                                        
a000673c:	0a000004 	beq	a0006754 <rmdir+0xf4>                         
a0006740:	e593301c 	ldr	r3, [r3, #28]                                 
a0006744:	e3530000 	cmp	r3, #0                                        
a0006748:	0a000001 	beq	a0006754 <rmdir+0xf4>                         
a000674c:	e1a00005 	mov	r0, r5                                        
a0006750:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a0006754:	e3560000 	cmp	r6, #0                                        
a0006758:	0a000007 	beq	a000677c <rmdir+0x11c>                        
    rtems_filesystem_freenode( &parentloc );                          
a000675c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006760:	e3530000 	cmp	r3, #0                                        
a0006764:	0a000004 	beq	a000677c <rmdir+0x11c>                        
a0006768:	e593301c 	ldr	r3, [r3, #28]                                 
a000676c:	e3530000 	cmp	r3, #0                                        
a0006770:	0a000001 	beq	a000677c <rmdir+0x11c>                        
a0006774:	e1a00004 	mov	r0, r4                                        
a0006778:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a000677c:	e1a00007 	mov	r0, r7                                        
a0006780:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0006784:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
      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 );                                
a0006788:	e59d3010 	ldr	r3, [sp, #16]                                 
a000678c:	e3530000 	cmp	r3, #0                                        
a0006790:	0a000004 	beq	a00067a8 <rmdir+0x148>                        
a0006794:	e593301c 	ldr	r3, [r3, #28]                                 
a0006798:	e3530000 	cmp	r3, #0                                        
a000679c:	0a000001 	beq	a00067a8 <rmdir+0x148>                        
a00067a0:	e1a00005 	mov	r0, r5                                        
a00067a4:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a00067a8:	e3560000 	cmp	r6, #0                                        
a00067ac:	0a000007 	beq	a00067d0 <rmdir+0x170>                        
      rtems_filesystem_freenode( &parentloc );                        
a00067b0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00067b4:	e3530000 	cmp	r3, #0                                        
a00067b8:	0a000004 	beq	a00067d0 <rmdir+0x170>                        
a00067bc:	e593301c 	ldr	r3, [r3, #28]                                 
a00067c0:	e3530000 	cmp	r3, #0                                        
a00067c4:	0a000001 	beq	a00067d0 <rmdir+0x170>                        
a00067c8:	e1a00004 	mov	r0, r4                                        
a00067cc:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00067d0:	eb002d4c 	bl	a0011d08 <__errno>                             
a00067d4:	e3a03014 	mov	r3, #20                                       
a00067d8:	e5803000 	str	r3, [r0]                                      
a00067dc:	e3e07000 	mvn	r7, #0                                        
a00067e0:	eaffffe5 	b	a000677c <rmdir+0x11c>                          
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
a00067e4:	e28d4018 	add	r4, sp, #24                                   
a00067e8:	e3a0c000 	mov	ip, #0                                        
a00067ec:	e1a00007 	mov	r0, r7                                        
a00067f0:	e1a01005 	mov	r1, r5                                        
a00067f4:	e3a02002 	mov	r2, #2                                        
a00067f8:	e1a03004 	mov	r3, r4                                        
a00067fc:	e58dc000 	str	ip, [sp]                                      
a0006800:	ebfff903 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
a0006804:	e3500000 	cmp	r0, #0                                        
a0006808:	03a06001 	moveq	r6, #1                                      
a000680c:	0affff9f 	beq	a0006690 <rmdir+0x30>                         
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
a0006810:	e3e07000 	mvn	r7, #0                                        
a0006814:	eaffffd8 	b	a000677c <rmdir+0x11c>                          
  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 )                                             
a0006818:	e3560000 	cmp	r6, #0                                        
a000681c:	0afffffb 	beq	a0006810 <rmdir+0x1b0>                        
      rtems_filesystem_freenode( &parentloc );                        
a0006820:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0006824:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006828:	0afffff8 	beq	a0006810 <rmdir+0x1b0>                        <== NOT EXECUTED
a000682c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0006830:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006834:	0afffff5 	beq	a0006810 <rmdir+0x1b0>                        <== NOT EXECUTED
a0006838:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000683c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0006840:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0006844:	eaffffcc 	b	a000677c <rmdir+0x11c>                          <== NOT EXECUTED
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
    rtems_filesystem_freenode( &loc );                                
a0006848:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000684c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006850:	0a000004 	beq	a0006868 <rmdir+0x208>                        <== NOT EXECUTED
a0006854:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0006858:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000685c:	0a000001 	beq	a0006868 <rmdir+0x208>                        <== NOT EXECUTED
a0006860:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0006864:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a0006868:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000686c:	0a000007 	beq	a0006890 <rmdir+0x230>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a0006870:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0006874:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006878:	0a000004 	beq	a0006890 <rmdir+0x230>                        <== NOT EXECUTED
a000687c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0006880:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006884:	0a000001 	beq	a0006890 <rmdir+0x230>                        <== NOT EXECUTED
a0006888:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000688c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006890:	eb002d1c 	bl	a0011d08 <__errno>                             <== NOT EXECUTED
a0006894:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0006898:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000689c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00068a0:	eaffffb5 	b	a000677c <rmdir+0x11c>                          <== NOT EXECUTED
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
a00068a4:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00068a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00068ac:	1affffeb 	bne	a0006860 <rmdir+0x200>                        <== NOT EXECUTED
a00068b0:	eaffffec 	b	a0006868 <rmdir+0x208>                          <== NOT EXECUTED
                                                                      

a00134bc <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; }
a00134bc:	e59f0000 	ldr	r0, [pc, #0]	; a00134c4 <rtems_assoc_name_bad+0x8><== NOT EXECUTED
a00134c0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0010118 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a0010118:	e92d4010 	push	{r4, lr}                                     
a001011c:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a0010120:	eb000006 	bl	a0010140 <rtems_assoc_ptr_by_local>            
  if (nap)                                                            
a0010124:	e3500000 	cmp	r0, #0                                        
a0010128:	0a000001 	beq	a0010134 <rtems_assoc_name_by_local+0x1c>     
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
a001012c:	e5900000 	ldr	r0, [r0]                                      
a0010130:	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);                           
a0010134:	e1a00004 	mov	r0, r4                                        
}                                                                     
a0010138:	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);                           
a001013c:	ea000cde 	b	a00134bc <rtems_assoc_name_bad>                 <== NOT EXECUTED
                                                                      

a000e220 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a000e220:	e92d4030 	push	{r4, r5, lr}                                 
a000e224:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000e228:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a000e22c:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000e230:	e3500000 	cmp	r0, #0                                        
a000e234:	01a04000 	moveq	r4, r0                                      
a000e238:	0a000013 	beq	a000e28c <rtems_assoc_ptr_by_local+0x6c>      
a000e23c:	e59f105c 	ldr	r1, [pc, #92]	; a000e2a0 <rtems_assoc_ptr_by_local+0x80>
a000e240:	eb000345 	bl	a000ef5c <strcmp>                              
a000e244:	e3500000 	cmp	r0, #0                                        
a000e248:	13a02000 	movne	r2, #0                                      
a000e24c:	1a00000b 	bne	a000e280 <rtems_assoc_ptr_by_local+0x60>      
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000e250:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a000e254:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a000e258:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000e25c:	0a00000a 	beq	a000e28c <rtems_assoc_ptr_by_local+0x6c>      <== NOT EXECUTED
a000e260:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000e264:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->local_value == local_value)                               
a000e268:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a000e26c:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a000e270:	0a000005 	beq	a000e28c <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++)                                             
a000e274:	e5b4300c 	ldr	r3, [r4, #12]!                                
a000e278:	e3530000 	cmp	r3, #0                                        
a000e27c:	0a000004 	beq	a000e294 <rtems_assoc_ptr_by_local+0x74>      
    if (ap->local_value == local_value)                               
a000e280:	e5943004 	ldr	r3, [r4, #4]                                  
a000e284:	e1530005 	cmp	r3, r5                                        
a000e288:	1afffff9 	bne	a000e274 <rtems_assoc_ptr_by_local+0x54>      
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000e28c:	e1a00004 	mov	r0, r4                                        
a000e290:	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++)                                             
a000e294:	e1a04002 	mov	r4, r2                                        
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000e298:	e1a00004 	mov	r0, r4                                        
a000e29c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000da8c <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
a000da8c:	e92d4030 	push	{r4, r5, lr}                                 
a000da90:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000da94:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
a000da98:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000da9c:	e3500000 	cmp	r0, #0                                        
a000daa0:	01a04000 	moveq	r4, r0                                      
a000daa4:	0a000013 	beq	a000daf8 <rtems_assoc_ptr_by_remote+0x6c>     
a000daa8:	e59f105c 	ldr	r1, [pc, #92]	; a000db0c <rtems_assoc_ptr_by_remote+0x80>
a000daac:	eb00052a 	bl	a000ef5c <strcmp>                              
a000dab0:	e3500000 	cmp	r0, #0                                        
a000dab4:	13a02000 	movne	r2, #0                                      
a000dab8:	1a00000b 	bne	a000daec <rtems_assoc_ptr_by_remote+0x60>     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000dabc:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a000dac0:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a000dac4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000dac8:	0a00000a 	beq	a000daf8 <rtems_assoc_ptr_by_remote+0x6c>     <== NOT EXECUTED
a000dacc:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000dad0:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->remote_value == remote_value)                             
a000dad4:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a000dad8:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a000dadc:	0a000005 	beq	a000daf8 <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++)                                             
a000dae0:	e5b4300c 	ldr	r3, [r4, #12]!                                
a000dae4:	e3530000 	cmp	r3, #0                                        
a000dae8:	0a000004 	beq	a000db00 <rtems_assoc_ptr_by_remote+0x74>     
    if (ap->remote_value == remote_value)                             
a000daec:	e5943008 	ldr	r3, [r4, #8]                                  
a000daf0:	e1530005 	cmp	r3, r5                                        
a000daf4:	1afffff9 	bne	a000dae0 <rtems_assoc_ptr_by_remote+0x54>     
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000daf8:	e1a00004 	mov	r0, r4                                        
a000dafc:	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++)                                             
a000db00:	e1a04002 	mov	r4, r2                                        
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000db04:	e1a00004 	mov	r0, r4                                        
a000db08:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      

a000e20c <rtems_assoc_remote_by_local>: uint32_t rtems_assoc_remote_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
a000e20c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a000e210:	eb000002 	bl	a000e220 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if (nap)                                                            
a000e214:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
a000e218:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000e21c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      

a000187c <rtems_bsp_cmdline_get_param_rhs>: const char *rtems_bsp_cmdline_get_param_rhs( const char *name, char *value, size_t length ) {
a000187c:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001880:	e1a05000 	mov	r5, r0                                        
a0001884:	e1a04001 	mov	r4, r1                                        
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
a0001888:	ebffffc2 	bl	a0001798 <rtems_bsp_cmdline_get_param>         
  if ( !p )                                                           
a000188c:	e2506000 	subs	r6, r0, #0                                   
a0001890:	1a000002 	bne	a00018a0 <rtems_bsp_cmdline_get_param_rhs+0x24>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
a0001894:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
}                                                                     
a0001898:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000189c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
a00018a0:	e1a00005 	mov	r0, r5                                        
a00018a4:	eb003685 	bl	a000f2c0 <strlen>                              
  if ( *rhs != '=' )                                                  
a00018a8:	e7d63000 	ldrb	r3, [r6, r0]                                 
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
a00018ac:	e0866000 	add	r6, r6, r0                                    
  if ( *rhs != '=' )                                                  
a00018b0:	e353003d 	cmp	r3, #61	; 0x3d                                
a00018b4:	1afffff6 	bne	a0001894 <rtems_bsp_cmdline_get_param_rhs+0x18>
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
a00018b8:	e5d63001 	ldrb	r3, [r6, #1]                                 
                                                                      
  rhs = &p[strlen(name)];                                             
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
                                                                      
  rhs++;                                                              
a00018bc:	e2866001 	add	r6, r6, #1                                    
  if ( *rhs == '\"' )                                                 
a00018c0:	e3530022 	cmp	r3, #34	; 0x22                                
    rhs++;                                                            
a00018c4:	05f63001 	ldrbeq	r3, [r6, #1]!                              
  for ( d=value ; *rhs ; )                                            
a00018c8:	e3530000 	cmp	r3, #0                                        
a00018cc:	01a02004 	moveq	r2, r4                                      
a00018d0:	0a000004 	beq	a00018e8 <rtems_bsp_cmdline_get_param_rhs+0x6c>
a00018d4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    *d++ = *rhs++;                                                    
a00018d8:	e4c23001 	strb	r3, [r2], #1                                 <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
a00018dc:	e5f63001 	ldrb	r3, [r6, #1]!                                <== NOT EXECUTED
a00018e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00018e4:	1afffffb 	bne	a00018d8 <rtems_bsp_cmdline_get_param_rhs+0x5c><== NOT EXECUTED
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
a00018e8:	e5523001 	ldrb	r3, [r2, #-1]                                
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
}                                                                     
a00018ec:	e1a00004 	mov	r0, r4                                        
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
a00018f0:	e3530022 	cmp	r3, #34	; 0x22                                
a00018f4:	02422001 	subeq	r2, r2, #1                                  
    d--;                                                              
  *d = '\0';                                                          
a00018f8:	e3a03000 	mov	r3, #0                                        
a00018fc:	e5c23000 	strb	r3, [r2]                                     
                                                                      
  return value;                                                       
}                                                                     
a0001900:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000e1e0 <rtems_deviceio_errno>: { 0, 0, 0 }, }; int rtems_deviceio_errno(rtems_status_code code) {
a000e1e0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000e1e4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
a000e1e8:	e59f0018 	ldr	r0, [pc, #24]	; a000e208 <rtems_deviceio_errno+0x28><== NOT EXECUTED
a000e1ec:	eb000006 	bl	a000e20c <rtems_assoc_remote_by_local>         <== NOT EXECUTED
a000e1f0:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
a000e1f4:	0a000001 	beq	a000e200 <rtems_deviceio_errno+0x20>          <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
a000e1f8:	eb00002e 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000e1fc:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
a000e200:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e204:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0006bcc <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
a0006bcc:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
a0006bd0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0006bd4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a0006bd8:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a0006bdc:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0006be0:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
  )                                                                   
{                                                                     
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a0006be4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a0006be8:	ebffff79 	bl	a00069d4 <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
a0006bec:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006bf0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a0006bf4:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a0006bf8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0001eb4 <rtems_filesystem_evaluate_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
a0001eb4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  int                           i = 0;                                
a0001eb8:	e3a0c000 	mov	ip, #0                                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001ebc:	e24dd008 	sub	sp, sp, #8                                    
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001ec0:	e2504000 	subs	r4, r0, #0                                   
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
  int                           i = 0;                                
a0001ec4:	e58dc004 	str	ip, [sp, #4]                                  
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001ec8:	e1a05001 	mov	r5, r1                                        
a0001ecc:	e1a06002 	mov	r6, r2                                        
a0001ed0:	e1a07003 	mov	r7, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001ed4:	0a000013 	beq	a0001f28 <rtems_filesystem_evaluate_path+0x74>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001ed8:	e3530000 	cmp	r3, #0                                        
a0001edc:	0a00000c 	beq	a0001f14 <rtems_filesystem_evaluate_path+0x60>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a0001ee0:	e1a02003 	mov	r2, r3                                        
a0001ee4:	e28d1004 	add	r1, sp, #4                                    
a0001ee8:	eb0003d0 	bl	a0002e30 <rtems_filesystem_get_start_loc>      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001eec:	e59d0004 	ldr	r0, [sp, #4]                                  
a0001ef0:	e59dc01c 	ldr	ip, [sp, #28]                                 
a0001ef4:	e1a02006 	mov	r2, r6                                        
a0001ef8:	e0601005 	rsb	r1, r0, r5                                    
a0001efc:	e1a03007 	mov	r3, r7                                        
a0001f00:	e0840000 	add	r0, r4, r0                                    
a0001f04:	e58dc000 	str	ip, [sp]                                      
a0001f08:	ebffffaf 	bl	a0001dcc <rtems_filesystem_evaluate_relative_path>
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a0001f0c:	e28dd008 	add	sp, sp, #8                                    
a0001f10:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a0001f14:	eb0030e7 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001f18:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a0001f1c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001f20:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001f24:	eafffff8 	b	a0001f0c <rtems_filesystem_evaluate_path+0x58>  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001f28:	eb0030e2 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001f2c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001f30:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001f34:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001f38:	eafffff3 	b	a0001f0c <rtems_filesystem_evaluate_path+0x58>  <== NOT EXECUTED
                                                                      

a0001dcc <rtems_filesystem_evaluate_relative_path>: /* * Verify Input parameters. */ if ( !pathname )
a0001dcc:	e3500000 	cmp	r0, #0                                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001dd0:	e92d4030 	push	{r4, r5, lr}                                 
a0001dd4:	e1a05002 	mov	r5, r2                                        
a0001dd8:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001ddc:	0a00002a 	beq	a0001e8c <rtems_filesystem_evaluate_relative_path+0xc0>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001de0:	e3530000 	cmp	r3, #0                                        
a0001de4:	0a00002d 	beq	a0001ea0 <rtems_filesystem_evaluate_relative_path+0xd4>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
a0001de8:	e593c00c 	ldr	ip, [r3, #12]                                 
a0001dec:	e59cc000 	ldr	ip, [ip]                                      
a0001df0:	e35c0000 	cmp	ip, #0                                        
a0001df4:	0a00001f 	beq	a0001e78 <rtems_filesystem_evaluate_relative_path+0xac>
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
a0001df8:	e12fff3c 	blx	ip                                            
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
a0001dfc:	e59d200c 	ldr	r2, [sp, #12]                                 
a0001e00:	e2703001 	rsbs	r3, r0, #1                                   
a0001e04:	33a03000 	movcc	r3, #0                                      
a0001e08:	e3520000 	cmp	r2, #0                                        
a0001e0c:	03a03000 	moveq	r3, #0                                      
a0001e10:	e3530000 	cmp	r3, #0                                        
a0001e14:	0a000011 	beq	a0001e60 <rtems_filesystem_evaluate_relative_path+0x94>
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
a0001e18:	e594200c 	ldr	r2, [r4, #12]                                 
a0001e1c:	e5923010 	ldr	r3, [r2, #16]                                 
a0001e20:	e3530000 	cmp	r3, #0                                        
a0001e24:	0a00000e 	beq	a0001e64 <rtems_filesystem_evaluate_relative_path+0x98>
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
a0001e28:	e1a00004 	mov	r0, r4                                        
a0001e2c:	e12fff33 	blx	r3                                            
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
a0001e30:	e2400003 	sub	r0, r0, #3                                    
a0001e34:	e3500001 	cmp	r0, #1                                        
a0001e38:	9a000001 	bls	a0001e44 <rtems_filesystem_evaluate_relative_path+0x78>
a0001e3c:	e3a00000 	mov	r0, #0                                        
a0001e40:	e8bd8030 	pop	{r4, r5, pc}                                  
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
a0001e44:	e594200c 	ldr	r2, [r4, #12]                                 
a0001e48:	e5923034 	ldr	r3, [r2, #52]	; 0x34                          
a0001e4c:	e3530000 	cmp	r3, #0                                        
a0001e50:	0a000003 	beq	a0001e64 <rtems_filesystem_evaluate_relative_path+0x98>
         *    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 );     
a0001e54:	e1a00004 	mov	r0, r4                                        
a0001e58:	e1a01005 	mov	r1, r5                                        
a0001e5c:	e12fff33 	blx	r3                                            
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
a0001e60:	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 );                       
a0001e64:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001e68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001e6c:	0a000001 	beq	a0001e78 <rtems_filesystem_evaluate_relative_path+0xac><== NOT EXECUTED
a0001e70:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001e74:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
a0001e78:	eb00310e 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001e7c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001e80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001e84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001e88:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001e8c:	eb003109 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001e90:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001e94:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001e98:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001e9c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a0001ea0:	eb003104 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001ea4:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a0001ea8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001eac:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001eb0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0001bcc <rtems_filesystem_initialize>: /* * mount the first filesystem. */ if ( rtems_filesystem_mount_table_size == 0 )
a0001bcc:	e59f20f4 	ldr	r2, [pc, #244]	; a0001cc8 <rtems_filesystem_initialize+0xfc>
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
a0001bd0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001bd4:	e59f60f0 	ldr	r6, [pc, #240]	; a0001ccc <rtems_filesystem_initialize+0x100>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001bd8:	e5922000 	ldr	r2, [r2]                                      
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
a0001bdc:	e24dd018 	sub	sp, sp, #24                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001be0:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001be4:	e3520000 	cmp	r2, #0                                        
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001be8:	e3a02012 	mov	r2, #18                                       
a0001bec:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001bf0:	0a00002e 	beq	a0001cb0 <rtems_filesystem_initialize+0xe4>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001bf4:	e59f30d4 	ldr	r3, [pc, #212]	; a0001cd0 <rtems_filesystem_initialize+0x104>
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0001bf8:	e3a05000 	mov	r5, #0                                        
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001bfc:	e5932000 	ldr	r2, [r3]                                      
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
a0001c00:	e5923004 	ldr	r3, [r2, #4]                                  
a0001c04:	e5920008 	ldr	r0, [r2, #8]                                  
a0001c08:	e592100c 	ldr	r1, [r2, #12]                                 
a0001c0c:	e5922000 	ldr	r2, [r2]                                      
a0001c10:	e58d5000 	str	r5, [sp]                                      
a0001c14:	eb00024e 	bl	a0002554 <mount>                               
                                                                      
  if ( status == -1 )                                                 
a0001c18:	e3700001 	cmn	r0, #1                                        
a0001c1c:	0a000027 	beq	a0001cc0 <rtems_filesystem_initialize+0xf4>   
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001c20:	e5963000 	ldr	r3, [r6]                                      
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c24:	e28d4004 	add	r4, sp, #4                                    
a0001c28:	e3a01001 	mov	r1, #1                                        
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001c2c:	e1c353b0 	strh	r5, [r3, #48]	; 0x30                         
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c30:	e1a02005 	mov	r2, r5                                        
a0001c34:	e1a03004 	mov	r3, r4                                        
a0001c38:	e59f0094 	ldr	r0, [pc, #148]	; a0001cd4 <rtems_filesystem_initialize+0x108>
a0001c3c:	e58d5000 	str	r5, [sp]                                      
a0001c40:	eb00009b 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
a0001c44:	e596c000 	ldr	ip, [r6]                                      
a0001c48:	e1a07004 	mov	r7, r4                                        
a0001c4c:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0001c50:	e28cc018 	add	ip, ip, #24                                   
a0001c54:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001c58:	e5973000 	ldr	r3, [r7]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c5c:	e1a02005 	mov	r2, r5                                        
a0001c60:	e3a01001 	mov	r1, #1                                        
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
a0001c64:	e58c3000 	str	r3, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001c68:	e59f0064 	ldr	r0, [pc, #100]	; a0001cd4 <rtems_filesystem_initialize+0x108>
a0001c6c:	e1a03004 	mov	r3, r4                                        
a0001c70:	e58d5000 	str	r5, [sp]                                      
a0001c74:	eb00008e 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
a0001c78:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001c7c:	e596c000 	ldr	ip, [r6]                                      
a0001c80:	e28cc004 	add	ip, ip, #4                                    
a0001c84:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001c88:	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);                                      
a0001c8c:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
a0001c90:	e2811003 	add	r1, r1, #3                                    
  /* 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;                                 
a0001c94:	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);                                      
a0001c98:	e59f0038 	ldr	r0, [pc, #56]	; a0001cd8 <rtems_filesystem_initialize+0x10c>
a0001c9c:	eb0001ca 	bl	a00023cc <mkdir>                               
  if ( status != 0 )                                                  
a0001ca0:	e3500000 	cmp	r0, #0                                        
a0001ca4:	1a000003 	bne	a0001cb8 <rtems_filesystem_initialize+0xec>   
   *  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.        
   */                                                                 
}                                                                     
a0001ca8:	e28dd018 	add	sp, sp, #24                                   
a0001cac:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
a0001cb0:	e59f0024 	ldr	r0, [pc, #36]	; a0001cdc <rtems_filesystem_initialize+0x110><== NOT EXECUTED
a0001cb4:	eb000fe4 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
a0001cb8:	e59f0020 	ldr	r0, [pc, #32]	; a0001ce0 <rtems_filesystem_initialize+0x114><== NOT EXECUTED
a0001cbc:	eb000fe2 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
a0001cc0:	e59f001c 	ldr	r0, [pc, #28]	; a0001ce4 <rtems_filesystem_initialize+0x118><== NOT EXECUTED
a0001cc4:	eb000fe0 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000ae74 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
a000ae74:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000ae78:	e59f60a4 	ldr	r6, [pc, #164]	; a000af24 <rtems_filesystem_iterate+0xb0>
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
a000ae7c:	e1a04000 	mov	r4, r0                                        
a000ae80:	e1a05001 	mov	r5, r1                                        
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000ae84:	e5963000 	ldr	r3, [r6]                                      
a000ae88:	e3530000 	cmp	r3, #0                                        
a000ae8c:	1a000002 	bne	a000ae9c <rtems_filesystem_iterate+0x28>      
a000ae90:	ea00000b 	b	a000aec4 <rtems_filesystem_iterate+0x50>        <== NOT EXECUTED
a000ae94:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000ae98:	1a00001f 	bne	a000af1c <rtems_filesystem_iterate+0xa8>      <== NOT EXECUTED
    stop = (*routine)( table_entry, routine_arg );                    
a000ae9c:	e1a00006 	mov	r0, r6                                        
a000aea0:	e1a01005 	mov	r1, r5                                        
a000aea4:	e12fff34 	blx	r4                                            
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000aea8:	e5963008 	ldr	r3, [r6, #8]                                  
    stop = (*routine)( table_entry, routine_arg );                    
a000aeac:	e1a0a000 	mov	sl, r0                                        
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
a000aeb0:	e2866008 	add	r6, r6, #8                                    
a000aeb4:	e3530000 	cmp	r3, #0                                        
a000aeb8:	1afffff5 	bne	a000ae94 <rtems_filesystem_iterate+0x20>      
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
a000aebc:	e3500000 	cmp	r0, #0                                        
a000aec0:	1a000015 	bne	a000af1c <rtems_filesystem_iterate+0xa8>      
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a000aec4:	e59f705c 	ldr	r7, [pc, #92]	; a000af28 <rtems_filesystem_iterate+0xb4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
a000aec8:	e59f605c 	ldr	r6, [pc, #92]	; a000af2c <rtems_filesystem_iterate+0xb8>
a000aecc:	e3a01000 	mov	r1, #0                                        
a000aed0:	e5970000 	ldr	r0, [r7]                                      
a000aed4:	e1a02001 	mov	r2, r1                                        
a000aed8:	ebffe9bb 	bl	a00055cc <rtems_semaphore_obtain>              
a000aedc:	e4968004 	ldr	r8, [r6], #4                                  
    rtems_libio_lock();                                               
    for (                                                             
a000aee0:	e1580006 	cmp	r8, r6                                        
a000aee4:	03a0a000 	moveq	sl, #0                                      
a000aee8:	1a000002 	bne	a000aef8 <rtems_filesystem_iterate+0x84>      
a000aeec:	ea000008 	b	a000af14 <rtems_filesystem_iterate+0xa0>        
a000aef0:	e3500000 	cmp	r0, #0                                        
a000aef4:	1a000006 	bne	a000af14 <rtems_filesystem_iterate+0xa0>      
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
a000aef8:	e2880008 	add	r0, r8, #8                                    
a000aefc:	e1a01005 	mov	r1, r5                                        
a000af00:	e12fff34 	blx	r4                                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
a000af04:	e5988000 	ldr	r8, [r8]                                      
a000af08:	e1a0a000 	mov	sl, r0                                        
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
a000af0c:	e1580006 	cmp	r8, r6                                        
a000af10:	1afffff6 	bne	a000aef0 <rtems_filesystem_iterate+0x7c>      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000af14:	e5970000 	ldr	r0, [r7]                                      
a000af18:	ebffe9f3 	bl	a00056ec <rtems_semaphore_release>             
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
a000af1c:	e1a0000a 	mov	r0, sl                                        
a000af20:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a00024e0 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
a00024e0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a00024e4:	e59f7060 	ldr	r7, [pc, #96]	; a000254c <rtems_filesystem_mount_iterate+0x6c>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
a00024e8:	e59f4060 	ldr	r4, [pc, #96]	; a0002550 <rtems_filesystem_mount_iterate+0x70>
a00024ec:	e1a06001 	mov	r6, r1                                        
a00024f0:	e3a01000 	mov	r1, #0                                        
a00024f4:	e1a05000 	mov	r5, r0                                        
a00024f8:	e1a02001 	mov	r2, r1                                        
a00024fc:	e5970000 	ldr	r0, [r7]                                      
a0002500:	eb000c31 	bl	a00055cc <rtems_semaphore_obtain>              
a0002504:	e4948004 	ldr	r8, [r4], #4                                  
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a0002508:	e1580004 	cmp	r8, r4                                        
a000250c:	03a0a000 	moveq	sl, #0                                      
a0002510:	1a000002 	bne	a0002520 <rtems_filesystem_mount_iterate+0x40>
a0002514:	ea000008 	b	a000253c <rtems_filesystem_mount_iterate+0x5c>  <== NOT EXECUTED
a0002518:	e3500000 	cmp	r0, #0                                        
a000251c:	1a000006 	bne	a000253c <rtems_filesystem_mount_iterate+0x5c>
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
a0002520:	e1a00008 	mov	r0, r8                                        
a0002524:	e1a01006 	mov	r1, r6                                        
a0002528:	e12fff35 	blx	r5                                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
a000252c:	e5988000 	ldr	r8, [r8]                                      
a0002530:	e1a0a000 	mov	sl, r0                                        
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a0002534:	e1580004 	cmp	r8, r4                                        
a0002538:	1afffff6 	bne	a0002518 <rtems_filesystem_mount_iterate+0x38>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000253c:	e5970000 	ldr	r0, [r7]                                      
a0002540:	eb000c69 	bl	a00056ec <rtems_semaphore_release>             
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
a0002544:	e1a0000a 	mov	r0, sl                                        
a0002548:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      

a0001d34 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
a0001d34:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001d38:	e1a04000 	mov	r4, r0                                        
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a0001d3c:	e5d00000 	ldrb	r0, [r0]                                     
a0001d40:	e1a06001 	mov	r6, r1                                        
a0001d44:	e3510000 	cmp	r1, #0                                        
a0001d48:	13500000 	cmpne	r0, #0                                      
a0001d4c:	03a05000 	moveq	r5, #0                                      
a0001d50:	13a05001 	movne	r5, #1                                      
a0001d54:	13a05000 	movne	r5, #0                                      
a0001d58:	1a000005 	bne	a0001d74 <rtems_filesystem_prefix_separators+0x40>
a0001d5c:	ea000007 	b	a0001d80 <rtems_filesystem_prefix_separators+0x4c><== NOT EXECUTED
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
a0001d60:	e2855001 	add	r5, r5, #1                                    
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
a0001d64:	e7d40005 	ldrb	r0, [r4, r5]                                 
a0001d68:	e1560005 	cmp	r6, r5                                        
a0001d6c:	13500000 	cmpne	r0, #0                                      
a0001d70:	0a000002 	beq	a0001d80 <rtems_filesystem_prefix_separators+0x4c>
a0001d74:	eb000442 	bl	a0002e84 <rtems_filesystem_is_separator>       
a0001d78:	e3500000 	cmp	r0, #0                                        
a0001d7c:	1afffff7 	bne	a0001d60 <rtems_filesystem_prefix_separators+0x2c>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
a0001d80:	e1a00005 	mov	r0, r5                                        
a0001d84:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a000af64 <rtems_filesystem_register>: int rtems_filesystem_register( const char *type, rtems_filesystem_fsmount_me_t mount_h ) {
a000af64:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000af68:	e1a08001 	mov	r8, r1                                        
a000af6c:	e1a05000 	mov	r5, r0                                        
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
a000af70:	eb0010d5 	bl	a000f2cc <strlen>                              
  filesystem_node *fsn = malloc( fsn_size );                          
a000af74:	e2800011 	add	r0, r0, #17                                   
a000af78:	ebffdcd3 	bl	a00022cc <malloc>                              
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
a000af7c:	e2504000 	subs	r4, r0, #0                                   
a000af80:	0a00001e 	beq	a000b000 <rtems_filesystem_register+0x9c>     
  rtems_filesystem_fsmount_me_t  mount_h                              
)                                                                     
{                                                                     
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
a000af84:	e2847010 	add	r7, r4, #16                                   
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a000af88:	e59f6084 	ldr	r6, [pc, #132]	; a000b014 <rtems_filesystem_register+0xb0>
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
a000af8c:	e1a01005 	mov	r1, r5                                        
a000af90:	e1a00007 	mov	r0, r7                                        
a000af94:	eb00107c 	bl	a000f18c <strcpy>                              
a000af98:	e3a01000 	mov	r1, #0                                        
a000af9c:	e1a02001 	mov	r2, r1                                        
  fsn->entry.type = type_storage;                                     
a000afa0:	e5847008 	str	r7, [r4, #8]                                  
  fsn->entry.mount_h = mount_h;                                       
a000afa4:	e584800c 	str	r8, [r4, #12]                                 
a000afa8:	e5960000 	ldr	r0, [r6]                                      
a000afac:	ebffe986 	bl	a00055cc <rtems_semaphore_obtain>              
                                                                      
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
a000afb0:	e1a00005 	mov	r0, r5                                        
a000afb4:	ebffffdd 	bl	a000af30 <rtems_filesystem_get_mount_handler>  
a000afb8:	e2505000 	subs	r5, r0, #0                                   
a000afbc:	1a000006 	bne	a000afdc <rtems_filesystem_register+0x78>     
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a000afc0:	e1a01004 	mov	r1, r4                                        
a000afc4:	e59f004c 	ldr	r0, [pc, #76]	; a000b018 <rtems_filesystem_register+0xb4>
a000afc8:	ebffebd5 	bl	a0005f24 <_Chain_Append>                       
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000afcc:	e5960000 	ldr	r0, [r6]                                      
a000afd0:	ebffe9c5 	bl	a00056ec <rtems_semaphore_release>             
a000afd4:	e1a00005 	mov	r0, r5                                        
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
a000afd8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
a000afdc:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000afe0:	ebffe9c1 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
    free( fsn );                                                      
a000afe4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000afe8:	ebffdbd3 	bl	a0001f3c <free>                                <== NOT EXECUTED
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000afec:	eb000cb1 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000aff0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000aff4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000aff8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
}                                                                     
a000affc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a000b000:	eb000cac 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000b004:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000b008:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000b00c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000b010:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a000adc8 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
a000adc8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
a000adcc:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a000add0:	0a000020 	beq	a000ae58 <rtems_filesystem_unregister+0x90>   <== NOT EXECUTED
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a000add4:	e59f6090 	ldr	r6, [pc, #144]	; a000ae6c <rtems_filesystem_unregister+0xa4><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
a000add8:	e59f4090 	ldr	r4, [pc, #144]	; a000ae70 <rtems_filesystem_unregister+0xa8><== NOT EXECUTED
a000addc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000ade0:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000ade4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000ade8:	ebffe9f7 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
a000adec:	e4947004 	ldr	r7, [r4], #4                                  <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
a000adf0:	e1570004 	cmp	r7, r4                                        <== NOT EXECUTED
a000adf4:	1a000003 	bne	a000ae08 <rtems_filesystem_unregister+0x40>   <== NOT EXECUTED
a000adf8:	ea00000f 	b	a000ae3c <rtems_filesystem_unregister+0x74>     <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
a000adfc:	e5977000 	ldr	r7, [r7]                                      <== NOT EXECUTED
a000ae00:	e1570004 	cmp	r7, r4                                        <== NOT EXECUTED
a000ae04:	0a00000c 	beq	a000ae3c <rtems_filesystem_unregister+0x74>   <== NOT EXECUTED
    !rtems_chain_is_tail( &filesystem_chain, node );                  
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    filesystem_node *fsn = (filesystem_node *) node;                  
                                                                      
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
a000ae08:	e5970008 	ldr	r0, [r7, #8]                                  <== NOT EXECUTED
a000ae0c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a000ae10:	eb001051 	bl	a000ef5c <strcmp>                              <== NOT EXECUTED
a000ae14:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
a000ae18:	1afffff7 	bne	a000adfc <rtems_filesystem_unregister+0x34>   <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a000ae1c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ae20:	ebffec4a 	bl	a0005f50 <_Chain_Extract>                      <== NOT EXECUTED
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
a000ae24:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ae28:	ebffdc43 	bl	a0001f3c <free>                                <== NOT EXECUTED
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a000ae2c:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000ae30:	ebffea2d 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a000ae34:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
a000ae38:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
a000ae3c:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000ae40:	ebffea29 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a000ae44:	eb000d1b 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000ae48:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
a000ae4c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000ae50:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
}                                                                     
a000ae54:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000ae58:	eb000d16 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000ae5c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000ae60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000ae64:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000ae68:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a0001a8c <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
a0001a8c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a0001a90:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a0001a94:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
a0001a98:	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 );
a0001a9c:	eb00360a 	bl	a000f2cc <strlen>                              <== NOT EXECUTED
a0001aa0:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0001aa4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0001aa8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0001aac:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a0001ab0:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
a0001ab4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001ab8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0001abc:	eb0000fc 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a0001ac0:	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 );
a0001ac4:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
a0001ac8:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a0001acc:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
a0001ad0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001ad4:	0a000011 	beq	a0001b20 <rtems_io_lookup_name+0x94>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a0001ad8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001adc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
a0001ae0:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0001ae4:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
a0001ae8:	03a07000 	moveq	r7, #0                                      <== NOT EXECUTED
a0001aec:	13a07001 	movne	r7, #1                                      <== NOT EXECUTED
a0001af0:	0a000014 	beq	a0001b48 <rtems_io_lookup_name+0xbc>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a0001af4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0001af8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001afc:	0a000023 	beq	a0001b90 <rtems_io_lookup_name+0x104>         <== NOT EXECUTED
a0001b00:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0001b04:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001b08:	0a000020 	beq	a0001b90 <rtems_io_lookup_name+0x104>         <== NOT EXECUTED
a0001b0c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001b10:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001b14:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0001b18:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0001b1c:	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 );                                
a0001b20:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001b24:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001b28:	0a000001 	beq	a0001b34 <rtems_io_lookup_name+0xa8>          <== NOT EXECUTED
a0001b2c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001b30:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001b34:	eb0031df 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0001b38:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001b3c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001b40:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001b44:	eafffff3 	b	a0001b18 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
a0001b48:	e5865000 	str	r5, [r6]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
a0001b4c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001b50:	eb0035dd 	bl	a000f2cc <strlen>                              <== NOT EXECUTED
a0001b54:	e5860004 	str	r0, [r6, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
a0001b58:	e5982050 	ldr	r2, [r8, #80]	; 0x50                          <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0001b5c:	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;     
a0001b60:	e5862008 	str	r2, [r6, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
a0001b64:	e5982054 	ldr	r2, [r8, #84]	; 0x54                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0001b68:	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;     
a0001b6c:	e586200c 	str	r2, [r6, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0001b70:	0a000008 	beq	a0001b98 <rtems_io_lookup_name+0x10c>         <== NOT EXECUTED
a0001b74:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0001b78:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001b7c:	0a000005 	beq	a0001b98 <rtems_io_lookup_name+0x10c>         <== NOT EXECUTED
a0001b80:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001b84:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001b88:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0001b8c:	eaffffe1 	b	a0001b18 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
a0001b90:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
a0001b94:	eaffffdf 	b	a0001b18 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
a0001b98:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0001b9c:	eaffffdd 	b	a0001b18 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
                                                                      

a0006f7c <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
a0006f7c:	e92d4010 	push	{r4, lr}                                     
a0006f80:	e1a04000 	mov	r4, r0                                        
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006f84:	e59f0148 	ldr	r0, [pc, #328]	; a00070d4 <rtems_io_register_driver+0x158>
  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;      
a0006f88:	e59f3148 	ldr	r3, [pc, #328]	; a00070d8 <rtems_io_register_driver+0x15c>
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006f8c:	e5900000 	ldr	r0, [r0]                                      
a0006f90:	e3500000 	cmp	r0, #0                                        
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
a0006f94:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006f98:	1a000032 	bne	a0007068 <rtems_io_register_driver+0xec>      
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
a0006f9c:	e3520000 	cmp	r2, #0                                        
a0006fa0:	0a000040 	beq	a00070a8 <rtems_io_register_driver+0x12c>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
a0006fa4:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
a0006fa8:	e5820000 	str	r0, [r2]                                      
                                                                      
  if ( driver_table == NULL )                                         
a0006fac:	0a00003d 	beq	a00070a8 <rtems_io_register_driver+0x12c>     
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006fb0:	e591c000 	ldr	ip, [r1]                                      
a0006fb4:	e35c0000 	cmp	ip, #0                                        
a0006fb8:	0a000037 	beq	a000709c <rtems_io_register_driver+0x120>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
a0006fbc:	e1500004 	cmp	r0, r4                                        
a0006fc0:	9a000026 	bls	a0007060 <rtems_io_register_driver+0xe4>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006fc4:	e59f0110 	ldr	r0, [pc, #272]	; a00070dc <rtems_io_register_driver+0x160>
a0006fc8:	e590c000 	ldr	ip, [r0]                                      
a0006fcc:	e28cc001 	add	ip, ip, #1                                    
a0006fd0:	e580c000 	str	ip, [r0]                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
a0006fd4:	e3540000 	cmp	r4, #0                                        
a0006fd8:	1a000024 	bne	a0007070 <rtems_io_register_driver+0xf4>      
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
a0006fdc:	e593c000 	ldr	ip, [r3]                                      
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
a0006fe0:	e35c0000 	cmp	ip, #0                                        
a0006fe4:	0a000031 	beq	a00070b0 <rtems_io_register_driver+0x134>     
a0006fe8:	e59f30f0 	ldr	r3, [pc, #240]	; a00070e0 <rtems_io_register_driver+0x164>
a0006fec:	e593e000 	ldr	lr, [r3]                                      
a0006ff0:	e1a0300e 	mov	r3, lr                                        
a0006ff4:	ea000003 	b	a0007008 <rtems_io_register_driver+0x8c>        
a0006ff8:	e2844001 	add	r4, r4, #1                                    
a0006ffc:	e15c0004 	cmp	ip, r4                                        
a0007000:	e2833018 	add	r3, r3, #24                                   
a0007004:	9a000005 	bls	a0007020 <rtems_io_register_driver+0xa4>      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0007008:	e5930000 	ldr	r0, [r3]                                      
a000700c:	e3500000 	cmp	r0, #0                                        
a0007010:	1afffff8 	bne	a0006ff8 <rtems_io_register_driver+0x7c>      
a0007014:	e5930004 	ldr	r0, [r3, #4]                                  
a0007018:	e3500000 	cmp	r0, #0                                        
a000701c:	1afffff5 	bne	a0006ff8 <rtems_io_register_driver+0x7c>      
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
a0007020:	e15c0004 	cmp	ip, r4                                        
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a0007024:	e5824000 	str	r4, [r2]                                      
                                                                      
  if ( m != n )                                                       
a0007028:	0a000021 	beq	a00070b4 <rtems_io_register_driver+0x138>     
a000702c:	e3a03018 	mov	r3, #24                                       
a0007030:	e02ce493 	mla	ip, r3, r4, lr                                
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
a0007034:	e1a0e001 	mov	lr, r1                                        
a0007038:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000703c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0007040:	e89e0003 	ldm	lr, {r0, r1}                                  
a0007044:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  _Thread_Enable_dispatch();                                          
a0007048:	eb000691 	bl	a0008a94 <_Thread_Enable_dispatch>             
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a000704c:	e3a01000 	mov	r1, #0                                        
a0007050:	e1a00004 	mov	r0, r4                                        
a0007054:	e1a02001 	mov	r2, r1                                        
}                                                                     
a0007058:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a000705c:	ea002213 	b	a000f8b0 <rtems_io_initialize>                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
a0007060:	e3a0000a 	mov	r0, #10                                       
a0007064:	e8bd8010 	pop	{r4, pc}                                      
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0007068:	e3a00012 	mov	r0, #18                                       
a000706c:	e8bd8010 	pop	{r4, pc}                                      
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0007070:	e3a00018 	mov	r0, #24                                       
a0007074:	e0030490 	mul	r3, r0, r4                                    
a0007078:	e59f0060 	ldr	r0, [pc, #96]	; a00070e0 <rtems_io_register_driver+0x164>
a000707c:	e590c000 	ldr	ip, [r0]                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0007080:	e79c0003 	ldr	r0, [ip, r3]                                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0007084:	e08cc003 	add	ip, ip, r3                                    
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0007088:	e3500000 	cmp	r0, #0                                        
a000708c:	0a00000b 	beq	a00070c0 <rtems_io_register_driver+0x144>     
    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();                                      
a0007090:	eb00067f 	bl	a0008a94 <_Thread_Enable_dispatch>             
a0007094:	e3a0000c 	mov	r0, #12                                       
      return RTEMS_RESOURCE_IN_USE;                                   
a0007098:	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;
a000709c:	e591c004 	ldr	ip, [r1, #4]                                  
a00070a0:	e35c0000 	cmp	ip, #0                                        
a00070a4:	1affffc4 	bne	a0006fbc <rtems_io_register_driver+0x40>      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a00070a8:	e3a00009 	mov	r0, #9                                        
}                                                                     
a00070ac:	e8bd8010 	pop	{r4, pc}                                      
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a00070b0:	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();                                      
a00070b4:	eb000676 	bl	a0008a94 <_Thread_Enable_dispatch>             
a00070b8:	e3a00005 	mov	r0, #5                                        
      return sc;                                                      
a00070bc:	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;
a00070c0:	e59c3004 	ldr	r3, [ip, #4]                                  
a00070c4:	e3530000 	cmp	r3, #0                                        
a00070c8:	1afffff0 	bne	a0007090 <rtems_io_register_driver+0x114>     
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
a00070cc:	e5824000 	str	r4, [r2]                                      
a00070d0:	eaffffd7 	b	a0007034 <rtems_io_register_driver+0xb8>        
                                                                      

a0002080 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
a0002080:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0002084:	e59f40b4 	ldr	r4, [pc, #180]	; a0002140 <rtems_libio_init+0xc0>
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0002088:	e24dd004 	sub	sp, sp, #4                                    
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a000208c:	e5940000 	ldr	r0, [r4]                                      
a0002090:	e3500000 	cmp	r0, #0                                        
a0002094:	0a000016 	beq	a00020f4 <rtems_libio_init+0x74>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
a0002098:	e3a01040 	mov	r1, #64	; 0x40                                
a000209c:	ebffff11 	bl	a0001ce8 <calloc>                              
a00020a0:	e59f309c 	ldr	r3, [pc, #156]	; a0002144 <rtems_libio_init+0xc4>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a00020a4:	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,
a00020a8:	e1a02000 	mov	r2, r0                                        
a00020ac:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a00020b0:	0a000020 	beq	a0002138 <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++)  
a00020b4:	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;            
a00020b8:	e59f3088 	ldr	r3, [pc, #136]	; a0002148 <rtems_libio_init+0xc8>
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a00020bc:	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;            
a00020c0:	e5830000 	str	r0, [r3]                                      
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a00020c4:	9a000008 	bls	a00020ec <rtems_libio_init+0x6c>              
a00020c8:	e2803040 	add	r3, r0, #64	; 0x40                            
a00020cc:	e3a02001 	mov	r2, #1                                        
          iop->data1 = iop + 1;                                       
a00020d0:	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++)  
a00020d4:	e1520001 	cmp	r2, r1                                        
          iop->data1 = iop + 1;                                       
a00020d8:	e503300c 	str	r3, [r3, #-12]                                
a00020dc:	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++)  
a00020e0:	1afffffa 	bne	a00020d0 <rtems_libio_init+0x50>              
a00020e4:	e2422001 	sub	r2, r2, #1                                    
a00020e8:	e0802302 	add	r2, r0, r2, lsl #6                            
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
a00020ec:	e3a03000 	mov	r3, #0                                        
a00020f0:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
a00020f4:	e59fc050 	ldr	ip, [pc, #80]	; a000214c <rtems_libio_init+0xcc>
a00020f8:	e59f0050 	ldr	r0, [pc, #80]	; a0002150 <rtems_libio_init+0xd0>
a00020fc:	e3a01001 	mov	r1, #1                                        
a0002100:	e3a02054 	mov	r2, #84	; 0x54                                
a0002104:	e3a03000 	mov	r3, #0                                        
a0002108:	e58dc000 	str	ip, [sp]                                      
a000210c:	eb000c93 	bl	a0005360 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
a0002110:	e3500000 	cmp	r0, #0                                        
a0002114:	1a000006 	bne	a0002134 <rtems_libio_init+0xb4>              
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
a0002118:	e59f3034 	ldr	r3, [pc, #52]	; a0002154 <rtems_libio_init+0xd4>
a000211c:	e5933000 	ldr	r3, [r3]                                      
a0002120:	e3530000 	cmp	r3, #0                                        
a0002124:	0a000000 	beq	a000212c <rtems_libio_init+0xac>              
     (* rtems_fs_init_helper)();                                      
a0002128:	e12fff33 	blx	r3                                            
}                                                                     
a000212c:	e28dd004 	add	sp, sp, #4                                    
a0002130:	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 );                                 
a0002134:	eb000ec4 	bl	a0005c4c <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);              
a0002138:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
a000213c:	eb000ec2 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a000330c <rtems_libio_set_private_env>: rtems_filesystem_freenode( &env->root_directory); free(env); } } rtems_status_code rtems_libio_set_private_env(void) {
a000330c:	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);                         
a0003310:	e3a00000 	mov	r0, #0                                        
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
a0003314:	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);                         
a0003318:	e1a01000 	mov	r1, r0                                        
a000331c:	e28d2018 	add	r2, sp, #24                                   
a0003320:	eb000b26 	bl	a0005fc0 <rtems_task_ident>                    
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a0003324:	e2508000 	subs	r8, r0, #0                                   
a0003328:	1a000026 	bne	a00033c8 <rtems_libio_set_private_env+0xbc>   
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
a000332c:	e59f60dc 	ldr	r6, [pc, #220]	; a0003410 <rtems_libio_set_private_env+0x104>
a0003330:	e59f30dc 	ldr	r3, [pc, #220]	; a0003414 <rtems_libio_set_private_env+0x108>
a0003334:	e5967000 	ldr	r7, [r6]                                      
a0003338:	e1570003 	cmp	r7, r3                                        
a000333c:	0a000024 	beq	a00033d4 <rtems_libio_set_private_env+0xc8>   
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
a0003340:	e59f10cc 	ldr	r1, [pc, #204]	; a0003414 <rtems_libio_set_private_env+0x108>
a0003344:	e3a02048 	mov	r2, #72	; 0x48                                
a0003348:	e1a00007 	mov	r0, r7                                        
a000334c:	eb002edf 	bl	a000eed0 <memcpy>                              
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
a0003350:	e59d3018 	ldr	r3, [sp, #24]                                 
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003354:	e3a05000 	mov	r5, #0                                        
a0003358:	e28d4004 	add	r4, sp, #4                                    
   }                                                                  
   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*/
a000335c:	e5873000 	str	r3, [r7]                                      
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003360:	e3a01001 	mov	r1, #1                                        
a0003364:	e1a03004 	mov	r3, r4                                        
a0003368:	e1a02005 	mov	r2, r5                                        
a000336c:	e59f00a4 	ldr	r0, [pc, #164]	; a0003418 <rtems_libio_set_private_env+0x10c>
a0003370:	e58d5000 	str	r5, [sp]                                      
a0003374:	ebfffb11 	bl	a0001fc0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root    = loc;                                     
a0003378:	e596c000 	ldr	ip, [r6]                                      
a000337c:	e1a07004 	mov	r7, r4                                        
a0003380:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0003384:	e28cc018 	add	ip, ip, #24                                   
a0003388:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000338c:	e5973000 	ldr	r3, [r7]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003390:	e3a01001 	mov	r1, #1                                        
a0003394:	e1a02005 	mov	r2, r5                                        
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
a0003398:	e58c3000 	str	r3, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a000339c:	e59f0074 	ldr	r0, [pc, #116]	; a0003418 <rtems_libio_set_private_env+0x10c>
a00033a0:	e1a03004 	mov	r3, r4                                        
a00033a4:	e58d5000 	str	r5, [sp]                                      
a00033a8:	ebfffb04 	bl	a0001fc0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current = loc;                                     
a00033ac:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a00033b0:	e596c000 	ldr	ip, [r6]                                      
a00033b4:	e1a08005 	mov	r8, r5                                        
a00033b8:	e28cc004 	add	ip, ip, #4                                    
a00033bc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00033c0:	e5973000 	ldr	r3, [r7]                                      
a00033c4:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a00033c8:	e1a00008 	mov	r0, r8                                        
a00033cc:	e28dd01c 	add	sp, sp, #28                                   
a00033d0:	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));          
a00033d4:	e3a00048 	mov	r0, #72	; 0x48                                
a00033d8:	ebfffcac 	bl	a0002690 <malloc>                              
   if (!tmp)                                                          
a00033dc:	e2507000 	subs	r7, r0, #0                                   
a00033e0:	03a0801a 	moveq	r8, #26                                     
a00033e4:	0afffff7 	beq	a00033c8 <rtems_libio_set_private_env+0xbc>   
                                                                      
#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);
a00033e8:	e1a00008 	mov	r0, r8                                        
a00033ec:	e1a01006 	mov	r1, r6                                        
a00033f0:	e59f2024 	ldr	r2, [pc, #36]	; a000341c <rtems_libio_set_private_env+0x110>
a00033f4:	eb000b44 	bl	a000610c <rtems_task_variable_add>             
   if (sc != RTEMS_SUCCESSFUL) {                                      
a00033f8:	e2508000 	subs	r8, r0, #0                                   
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
a00033fc:	05867000 	streq	r7, [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) {                                      
a0003400:	0affffce 	beq	a0003340 <rtems_libio_set_private_env+0x34>   
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
a0003404:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0003408:	ebfffb0e 	bl	a0002048 <free>                                <== NOT EXECUTED
     return sc;                                                       
a000340c:	eaffffed 	b	a00033c8 <rtems_libio_set_private_env+0xbc>     <== NOT EXECUTED
                                                                      

a000325c <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) {
a000325c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0003260:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0003264:	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);                 
a0003268:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000326c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0003270:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0003274:	eb000b51 	bl	a0005fc0 <rtems_task_ident>                    <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a0003278:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000327c:	1a00000d 	bne	a00032b8 <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
a0003280:	e59f4078 	ldr	r4, [pc, #120]	; a0003300 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a0003284:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0003288:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
a000328c:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0003290:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003294:	0a00000a 	beq	a00032c4 <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,
a0003298:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000329c:	e59f105c 	ldr	r1, [pc, #92]	; a0003300 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a00032a0:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
a00032a4:	eb000beb 	bl	a0006258 <rtems_task_variable_get>             <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
a00032a8:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032ac:	0a00000b 	beq	a00032e0 <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;                    
a00032b0:	e59f204c 	ldr	r2, [pc, #76]	; a0003304 <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
a00032b4:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
a00032b8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00032bc:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00032c0:	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);
a00032c4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00032c8:	eb000bbc 	bl	a00061c0 <rtems_task_variable_delete>          <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
a00032cc:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032d0:	1afffff8 	bne	a00032b8 <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
   free_user_env(tmp);                                                
a00032d4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00032d8:	ebffffc5 	bl	a00031f4 <free_user_env>                       <== NOT EXECUTED
a00032dc:	eaffffed 	b	a0003298 <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);
a00032e0:	e59f1018 	ldr	r1, [pc, #24]	; a0003300 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a00032e4:	e59f201c 	ldr	r2, [pc, #28]	; a0003308 <rtems_libio_share_private_env+0xac><== NOT EXECUTED
a00032e8:	eb000b87 	bl	a000610c <rtems_task_variable_add>             <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
a00032ec:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032f0:	1affffee 	bne	a00032b0 <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;                           
a00032f4:	e59d2004 	ldr	r2, [sp, #4]                                  <== NOT EXECUTED
a00032f8:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a00032fc:	eaffffed 	b	a00032b8 <rtems_libio_share_private_env+0x5c>   <== NOT EXECUTED
                                                                      

a000ee8c <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
a000ee8c:	e92d4070 	push	{r4, r5, r6, lr}                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000ee90:	e2504000 	subs	r4, r0, #0                                   
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000ee94:	e1a05001 	mov	r5, r1                                        
a000ee98:	e1a06002 	mov	r6, r2                                        
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000ee9c:	0a00001b 	beq	a000ef10 <rtems_memalign+0x84>                
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
a000eea0:	e3a03000 	mov	r3, #0                                        
a000eea4:	e5843000 	str	r3, [r4]                                      
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a000eea8:	e59f3070 	ldr	r3, [pc, #112]	; a000ef20 <rtems_memalign+0x94>
a000eeac:	e5933000 	ldr	r3, [r3]                                      
a000eeb0:	e3530003 	cmp	r3, #3                                        
a000eeb4:	0a000012 	beq	a000ef04 <rtems_memalign+0x78>                
                                                                      
  /*                                                                  
   *                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a000eeb8:	ebffd09f 	bl	a000313c <malloc_deferred_frees_process>       
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
    _Protected_heap_Allocate_aligned_with_boundary( heap, size, alignment, 0 );
a000eebc:	e59f3060 	ldr	r3, [pc, #96]	; a000ef24 <rtems_memalign+0x98>
a000eec0:	e1a02005 	mov	r2, r5                                        
a000eec4:	e1a01006 	mov	r1, r6                                        
a000eec8:	e5930000 	ldr	r0, [r3]                                      
a000eecc:	e3a03000 	mov	r3, #0                                        
a000eed0:	ebffe51f 	bl	a0008354 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a000eed4:	e2505000 	subs	r5, r0, #0                                   
a000eed8:	0a00000e 	beq	a000ef18 <rtems_memalign+0x8c>                
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a000eedc:	e59f3044 	ldr	r3, [pc, #68]	; a000ef28 <rtems_memalign+0x9c>
a000eee0:	e5933000 	ldr	r3, [r3]                                      
a000eee4:	e3530000 	cmp	r3, #0                                        
a000eee8:	0a000002 	beq	a000eef8 <rtems_memalign+0x6c>                
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
a000eeec:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000eef0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000eef4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
     */                                                               
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
a000eef8:	e5845000 	str	r5, [r4]                                      
a000eefc:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
a000ef00:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a000ef04:	ebffd075 	bl	a00030e0 <malloc_is_system_state_OK>           
a000ef08:	e3500000 	cmp	r0, #0                                        
a000ef0c:	1affffe9 	bne	a000eeb8 <rtems_memalign+0x2c>                
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
a000ef10:	e3a00016 	mov	r0, #22                                       
}                                                                     
a000ef14:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a000ef18:	e3a0000c 	mov	r0, #12                                       
a000ef1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      

a0006b98 <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
a0006b98:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
a0006b9c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0006ba0:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a0006ba4:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006ba8:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0006bac:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a0006bb0:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    ...                                                               
  )                                                                   
{                                                                     
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a0006bb4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006bb8:	ebffff85 	bl	a00069d4 <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
a0006bbc:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006bc0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a0006bc4:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0006bc8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0008f3c <rtems_pipe_initialize>: /* * Initialization of FIFO/pipe module. */ void rtems_pipe_initialize (void) { if (!rtems_pipe_configured)
a0008f3c:	e59f3058 	ldr	r3, [pc, #88]	; a0008f9c <rtems_pipe_initialize+0x60>
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
a0008f40:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  if (!rtems_pipe_configured)                                         
a0008f44:	e5d33000 	ldrb	r3, [r3]                                     
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
a0008f48:	e24dd004 	sub	sp, sp, #4                                    
  if (!rtems_pipe_configured)                                         
a0008f4c:	e3530000 	cmp	r3, #0                                        
a0008f50:	0a000003 	beq	a0008f64 <rtems_pipe_initialize+0x28>         
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
a0008f54:	e59fc044 	ldr	ip, [pc, #68]	; a0008fa0 <rtems_pipe_initialize+0x64><== NOT EXECUTED
a0008f58:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
a0008f5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0008f60:	0a000001 	beq	a0008f6c <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;                                                
}                                                                     
a0008f64:	e28dd004 	add	sp, sp, #4                                    
a0008f68:	e8bd8000 	pop	{pc}                                          
                                                                      
  if (rtems_pipe_semaphore)                                           
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
a0008f6c:	e59f0030 	ldr	r0, [pc, #48]	; a0008fa4 <rtems_pipe_initialize+0x68><== NOT EXECUTED
a0008f70:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0008f74:	e3a02054 	mov	r2, #84	; 0x54                                <== NOT EXECUTED
a0008f78:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0008f7c:	ebfff0f7 	bl	a0005360 <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)                                         
a0008f80:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0008f84:	1a000003 	bne	a0008f98 <rtems_pipe_initialize+0x5c>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
a0008f88:	ebffefec 	bl	a0004f40 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
  rtems_pipe_no = now;                                                
a0008f8c:	e59f3014 	ldr	r3, [pc, #20]	; a0008fa8 <rtems_pipe_initialize+0x6c><== NOT EXECUTED
a0008f90:	e1c300b0 	strh	r0, [r3]                                     <== NOT EXECUTED
a0008f94:	eafffff2 	b	a0008f64 <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);                                  
a0008f98:	ebfff32b 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a00014ec <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
a00014ec:	e92d4830 	push	{r4, r5, fp, lr}                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a00014f0:	e59f407c 	ldr	r4, [pc, #124]	; a0001574 <rtems_stack_checker_is_blown+0x88>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a00014f4:	e28db00c 	add	fp, sp, #12                                   
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a00014f8:	e5943000 	ldr	r3, [r4]                                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a00014fc:	e59300c4 	ldr	r0, [r3, #196]	; 0xc4                         
a0001500:	e15b0000 	cmp	fp, r0                                        
a0001504:	33a05000 	movcc	r5, #0                                      
a0001508:	3a000004 	bcc	a0001520 <rtems_stack_checker_is_blown+0x34>  
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
a000150c:	e59350c0 	ldr	r5, [r3, #192]	; 0xc0                         
a0001510:	e0805005 	add	r5, r0, r5                                    
a0001514:	e15b0005 	cmp	fp, r5                                        
a0001518:	83a05000 	movhi	r5, #0                                      
a000151c:	93a05001 	movls	r5, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
a0001520:	e59f3050 	ldr	r3, [pc, #80]	; a0001578 <rtems_stack_checker_is_blown+0x8c>
a0001524:	e5933000 	ldr	r3, [r3]                                      
a0001528:	e3530000 	cmp	r3, #0                                        
a000152c:	03a01001 	moveq	r1, #1                                      
a0001530:	0a000005 	beq	a000154c <rtems_stack_checker_is_blown+0x60>  
    pattern_ok = (!memcmp(                                            
a0001534:	e59f1040 	ldr	r1, [pc, #64]	; a000157c <rtems_stack_checker_is_blown+0x90>
a0001538:	e2800008 	add	r0, r0, #8                                    
a000153c:	e3a02010 	mov	r2, #16                                       
a0001540:	eb003542 	bl	a000ea50 <memcmp>                              
a0001544:	e2701001 	rsbs	r1, r0, #1                                   
a0001548:	33a01000 	movcc	r1, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
a000154c:	e3550000 	cmp	r5, #0                                        
a0001550:	0a000001 	beq	a000155c <rtems_stack_checker_is_blown+0x70>  
a0001554:	e3510000 	cmp	r1, #0                                        
a0001558:	1a000003 	bne	a000156c <rtems_stack_checker_is_blown+0x80>  
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
a000155c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0001560:	ebffffb4 	bl	a0001438 <Stack_check_report_blown_task>       <== NOT EXECUTED
a0001564:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  return true;                                                        
}                                                                     
a0001568:	e8bd8830 	pop	{r4, r5, fp, pc}                              <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
a000156c:	e3a00000 	mov	r0, #0                                        
a0001570:	e8bd8830 	pop	{r4, r5, fp, pc}                              
                                                                      

a0001428 <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) { rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
a0001428:	e59f1004 	ldr	r1, [pc, #4]	; a0001434 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
a000142c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0001430:	eaffffe5 	b	a00013cc <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
                                                                      

a00013cc <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
a00013cc:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  print_context = context;                                            
a00013d0:	e59f4040 	ldr	r4, [pc, #64]	; a0001418 <rtems_stack_checker_report_usage_with_plugin+0x4c><== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a00013d4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a00013d8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
a00013dc:	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;                                            
a00013e0:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
a00013e4:	e59f1030 	ldr	r1, [pc, #48]	; a000141c <rtems_stack_checker_report_usage_with_plugin+0x50><== NOT EXECUTED
a00013e8:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  (*print)( context,                                                  
a00013ec:	e59f102c 	ldr	r1, [pc, #44]	; a0001420 <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
a00013f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00013f4:	e12fff35 	blx	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 );   
a00013f8:	e59f0024 	ldr	r0, [pc, #36]	; a0001424 <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
a00013fc:	eb001538 	bl	a00068e4 <rtems_iterate_over_all_threads>      <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
a0001400:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001404:	ebffffa1 	bl	a0001290 <Stack_check_Dump_threads_usage>      <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
a0001408:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  print_handler = NULL;                                               
a000140c:	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;                                               
a0001410:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
a0001414:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0001580 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
a0001580:	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;
a0001584:	e59030c4 	ldr	r3, [r0, #196]	; 0xc4                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
a0001588:	e28db008 	add	fp, sp, #8                                    
a000158c:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0001590:	e15b0003 	cmp	fp, r3                                        
  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;
a0001594:	e2830008 	add	r0, r3, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0001598:	3a000003 	bcc	a00015ac <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;           
a000159c:	e59420c0 	ldr	r2, [r4, #192]	; 0xc0                         
a00015a0:	e0833002 	add	r3, r3, r2                                    
a00015a4:	e15b0003 	cmp	fp, r3                                        
a00015a8:	9a000007 	bls	a00015cc <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,                                     
a00015ac:	e59f1034 	ldr	r1, [pc, #52]	; a00015e8 <rtems_stack_checker_switch_extension+0x68><== NOT EXECUTED
a00015b0:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a00015b4:	eb003525 	bl	a000ea50 <memcmp>                              <== NOT EXECUTED
a00015b8:	e2701001 	rsbs	r1, r0, #1                                   <== NOT EXECUTED
a00015bc:	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 );             
a00015c0:	e1a00004 	mov	r0, r4                                        
  }                                                                   
}                                                                     
a00015c4:	e8bd4810 	pop	{r4, fp, lr}                                  
                                                                      
  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 );             
a00015c8:	eaffff9a 	b	a0001438 <Stack_check_report_blown_task>        
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
a00015cc:	e59f1014 	ldr	r1, [pc, #20]	; a00015e8 <rtems_stack_checker_switch_extension+0x68>
a00015d0:	e3a02010 	mov	r2, #16                                       
a00015d4:	eb00351d 	bl	a000ea50 <memcmp>                              
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
a00015d8:	e3500000 	cmp	r0, #0                                        
a00015dc:	13a01000 	movne	r1, #0                                      
a00015e0:	1afffff6 	bne	a00015c0 <rtems_stack_checker_switch_extension+0x40>
a00015e4:	e8bd8810 	pop	{r4, fp, pc}                                  
                                                                      

a000b6b0 <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
a000b6b0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b6b4:	e2514000 	subs	r4, r1, #0                                   
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
a000b6b8:	e1a07000 	mov	r7, r0                                        
a000b6bc:	e24dd004 	sub	sp, sp, #4                                    
a000b6c0:	e1a08002 	mov	r8, r2                                        
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b6c4:	03a00009 	moveq	r0, #9                                      
a000b6c8:	0a000017 	beq	a000b72c <rtems_string_to_double+0x7c>        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000b6cc:	eb0008e4 	bl	a000da64 <__errno>                             
a000b6d0:	e3a03000 	mov	r3, #0                                        
a000b6d4:	e5803000 	str	r3, [r0]                                      
  *n = 0;                                                             
a000b6d8:	e3a02000 	mov	r2, #0                                        
a000b6dc:	e3a03000 	mov	r3, #0                                        
a000b6e0:	e884000c 	stm	r4, {r2, r3}                                  
                                                                      
  result = strtod( s, &end );                                         
a000b6e4:	e1a00007 	mov	r0, r7                                        
a000b6e8:	e1a0100d 	mov	r1, sp                                        
a000b6ec:	eb001453 	bl	a0010840 <strtod>                              
                                                                      
  if ( endptr )                                                       
a000b6f0:	e3580000 	cmp	r8, #0                                        
    *endptr = end;                                                    
a000b6f4:	159d3000 	ldrne	r3, [sp]                                    
a000b6f8:	059d3000 	ldreq	r3, [sp]                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
a000b6fc:	e1a05000 	mov	r5, r0                                        
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
a000b700:	15883000 	strne	r3, [r8]                                    
                                                                      
  if ( end == s )                                                     
a000b704:	e1530007 	cmp	r3, r7                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
a000b708:	e1a06001 	mov	r6, r1                                        
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
a000b70c:	03a0000b 	moveq	r0, #11                                     
a000b710:	0a000005 	beq	a000b72c <rtems_string_to_double+0x7c>        
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b714:	eb0008d2 	bl	a000da64 <__errno>                             
a000b718:	e5903000 	ldr	r3, [r0]                                      
a000b71c:	e3530022 	cmp	r3, #34	; 0x22                                
a000b720:	0a000003 	beq	a000b734 <rtems_string_to_double+0x84>        
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
a000b724:	e8840060 	stm	r4, {r5, r6}                                  
a000b728:	e3a00000 	mov	r0, #0                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000b72c:	e28dd004 	add	sp, sp, #4                                    
a000b730:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b734:	e1a00005 	mov	r0, r5                                        
a000b738:	e1a01006 	mov	r1, r6                                        
a000b73c:	e3a02000 	mov	r2, #0                                        
a000b740:	e3a03000 	mov	r3, #0                                        
a000b744:	ebffdd93 	bl	a0002d98 <__cmpdf2>                            
a000b748:	e3500000 	cmp	r0, #0                                        
a000b74c:	0a00000e 	beq	a000b78c <rtems_string_to_double+0xdc>        
a000b750:	e3e03102 	mvn	r3, #-2147483648	; 0x80000000                 
a000b754:	e1a00005 	mov	r0, r5                                        
a000b758:	e1a01006 	mov	r1, r6                                        
a000b75c:	e3e02000 	mvn	r2, #0                                        
a000b760:	e2433601 	sub	r3, r3, #1048576	; 0x100000                   
a000b764:	ebffdd87 	bl	a0002d88 <__gedf2>                             
a000b768:	e3500000 	cmp	r0, #0                                        
a000b76c:	ca000006 	bgt	a000b78c <rtems_string_to_double+0xdc>        
a000b770:	e1a00005 	mov	r0, r5                                        
a000b774:	e1a01006 	mov	r1, r6                                        
a000b778:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a000b77c:	e3e03601 	mvn	r3, #1048576	; 0x100000                       <== NOT EXECUTED
a000b780:	ebffdd82 	bl	a0002d90 <__ledf2>                             <== NOT EXECUTED
a000b784:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b788:	aaffffe5 	bge	a000b724 <rtems_string_to_double+0x74>        <== NOT EXECUTED
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000b78c:	e3a0000a 	mov	r0, #10                                       
a000b790:	eaffffe5 	b	a000b72c <rtems_string_to_double+0x7c>          
                                                                      

a000b794 <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
a000b794:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b798:	e2515000 	subs	r5, r1, #0                                   
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
a000b79c:	e1a04000 	mov	r4, r0                                        
a000b7a0:	e24dd004 	sub	sp, sp, #4                                    
a000b7a4:	e1a06002 	mov	r6, r2                                        
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b7a8:	03a00009 	moveq	r0, #9                                      
a000b7ac:	0a000015 	beq	a000b808 <rtems_string_to_float+0x74>         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000b7b0:	eb0008ab 	bl	a000da64 <__errno>                             
a000b7b4:	e3a03000 	mov	r3, #0                                        
a000b7b8:	e5803000 	str	r3, [r0]                                      
  *n = 0;                                                             
a000b7bc:	e3a03000 	mov	r3, #0                                        
a000b7c0:	e5853000 	str	r3, [r5]                                      
                                                                      
  result = strtof( s, &end );                                         
a000b7c4:	e1a00004 	mov	r0, r4                                        
a000b7c8:	e1a0100d 	mov	r1, sp                                        
a000b7cc:	eb001408 	bl	a00107f4 <strtof>                              
                                                                      
  if ( endptr )                                                       
a000b7d0:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
a000b7d4:	159d3000 	ldrne	r3, [sp]                                    
a000b7d8:	059d3000 	ldreq	r3, [sp]                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
a000b7dc:	e1a07000 	mov	r7, r0                                        
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
a000b7e0:	15863000 	strne	r3, [r6]                                    
                                                                      
  if ( end == s )                                                     
a000b7e4:	e1530004 	cmp	r3, r4                                        
a000b7e8:	03a0000b 	moveq	r0, #11                                     
a000b7ec:	0a000005 	beq	a000b808 <rtems_string_to_float+0x74>         
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b7f0:	eb00089b 	bl	a000da64 <__errno>                             
a000b7f4:	e5903000 	ldr	r3, [r0]                                      
a000b7f8:	e3530022 	cmp	r3, #34	; 0x22                                
a000b7fc:	0a000003 	beq	a000b810 <rtems_string_to_float+0x7c>         
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
a000b800:	e5857000 	str	r7, [r5]                                      
a000b804:	e3a00000 	mov	r0, #0                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000b808:	e28dd004 	add	sp, sp, #4                                    
a000b80c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b810:	e1a00007 	mov	r0, r7                                        
a000b814:	e3a01000 	mov	r1, #0                                        
a000b818:	ebffdda9 	bl	a0002ec4 <__cmpsf2>                            
a000b81c:	e3500000 	cmp	r0, #0                                        
a000b820:	0a00000a 	beq	a000b850 <rtems_string_to_float+0xbc>         
a000b824:	e3e01102 	mvn	r1, #-2147483648	; 0x80000000                 
a000b828:	e1a00007 	mov	r0, r7                                        
a000b82c:	e2411502 	sub	r1, r1, #8388608	; 0x800000                   
a000b830:	ebffdd9f 	bl	a0002eb4 <__gesf2>                             
a000b834:	e3500000 	cmp	r0, #0                                        
a000b838:	ca000004 	bgt	a000b850 <rtems_string_to_float+0xbc>         
a000b83c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000b840:	e3e01502 	mvn	r1, #8388608	; 0x800000                       <== NOT EXECUTED
a000b844:	ebffdd9c 	bl	a0002ebc <__lesf2>                             <== NOT EXECUTED
a000b848:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b84c:	aaffffeb 	bge	a000b800 <rtems_string_to_float+0x6c>         <== NOT EXECUTED
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000b850:	e3a0000a 	mov	r0, #10                                       
a000b854:	eaffffeb 	b	a000b808 <rtems_string_to_float+0x74>           
                                                                      

a000b858 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
a000b858:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b85c:	e2516000 	subs	r6, r1, #0                                   
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
a000b860:	e1a04000 	mov	r4, r0                                        
a000b864:	e24dd004 	sub	sp, sp, #4                                    
a000b868:	e1a05002 	mov	r5, r2                                        
a000b86c:	e1a07003 	mov	r7, r3                                        
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000b870:	03a00009 	moveq	r0, #9                                      
a000b874:	0a000015 	beq	a000b8d0 <rtems_string_to_int+0x78>           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000b878:	eb000879 	bl	a000da64 <__errno>                             
a000b87c:	e3a03000 	mov	r3, #0                                        
a000b880:	e5803000 	str	r3, [r0]                                      
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
a000b884:	e1a02007 	mov	r2, r7                                        
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
a000b888:	e5863000 	str	r3, [r6]                                      
                                                                      
  result = strtol( s, &end, base );                                   
a000b88c:	e1a00004 	mov	r0, r4                                        
a000b890:	e1a0100d 	mov	r1, sp                                        
a000b894:	eb001459 	bl	a0010a00 <strtol>                              
                                                                      
  if ( endptr )                                                       
a000b898:	e3550000 	cmp	r5, #0                                        
    *endptr = end;                                                    
a000b89c:	159d3000 	ldrne	r3, [sp]                                    
a000b8a0:	059d3000 	ldreq	r3, [sp]                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
a000b8a4:	e1a07000 	mov	r7, r0                                        
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
a000b8a8:	15853000 	strne	r3, [r5]                                    
                                                                      
  if ( end == s )                                                     
a000b8ac:	e1530004 	cmp	r3, r4                                        
a000b8b0:	03a0000b 	moveq	r0, #11                                     
a000b8b4:	0a000005 	beq	a000b8d0 <rtems_string_to_int+0x78>           
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b8b8:	eb000869 	bl	a000da64 <__errno>                             
a000b8bc:	e5903000 	ldr	r3, [r0]                                      
a000b8c0:	e3530022 	cmp	r3, #34	; 0x22                                
a000b8c4:	0a000003 	beq	a000b8d8 <rtems_string_to_int+0x80>           
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
a000b8c8:	e5867000 	str	r7, [r6]                                      
a000b8cc:	e3a00000 	mov	r0, #0                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000b8d0:	e28dd004 	add	sp, sp, #4                                    
a000b8d4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000b8d8:	e3770106 	cmn	r7, #-2147483647	; 0x80000001                 
a000b8dc:	13570000 	cmpne	r7, #0                                      
a000b8e0:	0a000001 	beq	a000b8ec <rtems_string_to_int+0x94>           
a000b8e4:	e3570102 	cmp	r7, #-2147483648	; 0x80000000                 <== NOT EXECUTED
a000b8e8:	1afffff6 	bne	a000b8c8 <rtems_string_to_int+0x70>           <== NOT EXECUTED
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a000b8ec:	e3a0000a 	mov	r0, #10                                       
a000b8f0:	eafffff6 	b	a000b8d0 <rtems_string_to_int+0x78>             
                                                                      

a000ba6c <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
a000ba6c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000ba70:	e2516000 	subs	r6, r1, #0                                   
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
a000ba74:	e1a04000 	mov	r4, r0                                        
a000ba78:	e24dd004 	sub	sp, sp, #4                                    
a000ba7c:	e1a05002 	mov	r5, r2                                        
a000ba80:	e1a07003 	mov	r7, r3                                        
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
a000ba84:	03a00009 	moveq	r0, #9                                      
a000ba88:	0a000017 	beq	a000baec <rtems_string_to_unsigned_char+0x80> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000ba8c:	eb0007f4 	bl	a000da64 <__errno>                             
a000ba90:	e3a03000 	mov	r3, #0                                        
a000ba94:	e5803000 	str	r3, [r0]                                      
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
a000ba98:	e1a02007 	mov	r2, r7                                        
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
a000ba9c:	e5c63000 	strb	r3, [r6]                                     
                                                                      
  result = strtoul( s, &end, base );                                  
a000baa0:	e1a00004 	mov	r0, r4                                        
a000baa4:	e1a0100d 	mov	r1, sp                                        
a000baa8:	eb0014f1 	bl	a0010e74 <strtoul>                             
                                                                      
  if ( endptr )                                                       
a000baac:	e3550000 	cmp	r5, #0                                        
    *endptr = end;                                                    
a000bab0:	159d3000 	ldrne	r3, [sp]                                    
a000bab4:	059d3000 	ldreq	r3, [sp]                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
a000bab8:	e1a07000 	mov	r7, r0                                        
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
a000babc:	15853000 	strne	r3, [r5]                                    
                                                                      
  if ( end == s )                                                     
a000bac0:	e1530004 	cmp	r3, r4                                        
a000bac4:	03a0000b 	moveq	r0, #11                                     
a000bac8:	0a000007 	beq	a000baec <rtems_string_to_unsigned_char+0x80> 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000bacc:	eb0007e4 	bl	a000da64 <__errno>                             
a000bad0:	e5903000 	ldr	r3, [r0]                                      
a000bad4:	e3530022 	cmp	r3, #34	; 0x22                                
a000bad8:	0a000005 	beq	a000baf4 <rtems_string_to_unsigned_char+0x88> 
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
a000badc:	e35700ff 	cmp	r7, #255	; 0xff                               
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
a000bae0:	95c67000 	strbls	r7, [r6]                                   
a000bae4:	93a00000 	movls	r0, #0                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
a000bae8:	8a000006 	bhi	a000bb08 <rtems_string_to_unsigned_char+0x9c> 
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000baec:	e28dd004 	add	sp, sp, #4                                    
a000baf0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
a000baf4:	e2473001 	sub	r3, r7, #1                                    <== NOT EXECUTED
a000baf8:	e3730003 	cmn	r3, #3                                        <== NOT EXECUTED
a000bafc:	9afffff6 	bls	a000badc <rtems_string_to_unsigned_char+0x70> <== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
a000bb00:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
a000bb04:	eafffff8 	b	a000baec <rtems_string_to_unsigned_char+0x80>   <== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
a000bb08:	eb0007d5 	bl	a000da64 <__errno>                             <== NOT EXECUTED
a000bb0c:	e3a03022 	mov	r3, #34	; 0x22                                <== NOT EXECUTED
a000bb10:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000bb14:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a000bb18:	eafffff3 	b	a000baec <rtems_string_to_unsigned_char+0x80>   <== NOT EXECUTED
                                                                      

a00044fc <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
a00044fc:	e3500009 	cmp	r0, #9                                        
a0004500:	012fff1e 	bxeq	lr                                           
a0004504:	da000013 	ble	a0004558 <rtems_termios_baud_to_index+0x5c>   
a0004508:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
a000450c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0004510:	da00001b 	ble	a0004584 <rtems_termios_baud_to_index+0x88>   <== NOT EXECUTED
a0004514:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0004518:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a000451c:	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;                          
a0004520:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0004524:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0004528:	da000028 	ble	a00045d0 <rtems_termios_baud_to_index+0xd4>   <== NOT EXECUTED
a000452c:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0004530:	e2833003 	add	r3, r3, #3                                    <== NOT EXECUTED
a0004534:	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;                          
a0004538:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a000453c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0004540:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0004544:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0004548:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000454c:	1a00001d 	bne	a00045c8 <rtems_termios_baud_to_index+0xcc>   <== 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;                          
a0004550:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
a0004554:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0004558:	e3500004 	cmp	r0, #4                                        
a000455c:	012fff1e 	bxeq	lr                                           
a0004560:	ca000010 	bgt	a00045a8 <rtems_termios_baud_to_index+0xac>   
a0004564:	e3500001 	cmp	r0, #1                                        
a0004568:	012fff1e 	bxeq	lr                                           
a000456c:	da00001f 	ble	a00045f0 <rtems_termios_baud_to_index+0xf4>   
a0004570:	e3500002 	cmp	r0, #2                                        
a0004574:	012fff1e 	bxeq	lr                                           
a0004578:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
a000457c:	1a000011 	bne	a00045c8 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a0004580:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0004584:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
a0004588:	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;                          
a000458c:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0004590:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0004594:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
a0004598:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a000459c:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
a00045a0:	1a000008 	bne	a00045c8 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a00045a4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a00045a8:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
a00045ac:	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;                          
a00045b0:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00045b4:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a00045b8:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
a00045bc:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a00045c0:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
a00045c4:	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;                          
a00045c8:	e3e00000 	mvn	r0, #0                                        
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
a00045cc:	e12fff1e 	bx	lr                                             
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00045d0:	e350000f 	cmp	r0, #15                                       <== NOT EXECUTED
a00045d4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a00045d8:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00045dc:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a00045e0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a00045e4:	1afffff7 	bne	a00045c8 <rtems_termios_baud_to_index+0xcc>   <== 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;                          
a00045e8:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
a00045ec:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a00045f0:	e3500000 	cmp	r0, #0                                        
a00045f4:	012fff1e 	bxeq	lr                                           
a00045f8:	eafffff2 	b	a00045c8 <rtems_termios_baud_to_index+0xcc>     
                                                                      

a0002eec <rtems_termios_bufsize>: int cbufsize, int raw_input, int raw_output ) { rtems_termios_cbufsize = cbufsize;
a0002eec:	e59f3008 	ldr	r3, [pc, #8]	; a0002efc <rtems_termios_bufsize+0x10><== NOT EXECUTED
a0002ef0:	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;                                            
}                                                                     
a0002ef4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002ef8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

a0004460 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
a0004460:	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);
a0004464:	e59f51ac 	ldr	r5, [pc, #428]	; a0004618 <rtems_termios_close+0x1b8>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0004468:	e5903000 	ldr	r3, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000446c:	e3a01000 	mov	r1, #0                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a0004470:	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);
a0004474:	e1a02001 	mov	r2, r1                                        
a0004478:	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;                    
a000447c:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0004480:	eb000451 	bl	a00055cc <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a0004484:	e3500000 	cmp	r0, #0                                        
a0004488:	1a00005e 	bne	a0004608 <rtems_termios_close+0x1a8>          
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
a000448c:	e5943008 	ldr	r3, [r4, #8]                                  
a0004490:	e2433001 	sub	r3, r3, #1                                    
a0004494:	e3530000 	cmp	r3, #0                                        
a0004498:	e5843008 	str	r3, [r4, #8]                                  
a000449c:	1a00002e 	bne	a000455c <rtems_termios_close+0xfc>           
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
a00044a0:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a00044a4:	e59f3170 	ldr	r3, [pc, #368]	; a000461c <rtems_termios_close+0x1bc>
a00044a8:	e0833282 	add	r3, r3, r2, lsl #5                            
a00044ac:	e5931004 	ldr	r1, [r3, #4]                                  
a00044b0:	e3510000 	cmp	r1, #0                                        
a00044b4:	0a00003f 	beq	a00045b8 <rtems_termios_close+0x158>          
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a00044b8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00044bc:	e12fff31 	blx	r1                                            <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
a00044c0:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a00044c4:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a00044c8:	0a000044 	beq	a00045e0 <rtems_termios_close+0x180>          <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
a00044cc:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
a00044d0:	e3530000 	cmp	r3, #0                                        
a00044d4:	0a000003 	beq	a00044e8 <rtems_termios_close+0x88>           
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
a00044d8:	e1a02006 	mov	r2, r6                                        
a00044dc:	e594000c 	ldr	r0, [r4, #12]                                 
a00044e0:	e5941010 	ldr	r1, [r4, #16]                                 
a00044e4:	e12fff33 	blx	r3                                            
		if (tty->forw == NULL) {                                            
a00044e8:	e5943000 	ldr	r3, [r4]                                      
a00044ec:	e3530000 	cmp	r3, #0                                        
a00044f0:	0a000020 	beq	a0004578 <rtems_termios_close+0x118>          
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
a00044f4:	e5942004 	ldr	r2, [r4, #4]                                  
a00044f8:	e5832004 	str	r2, [r3, #4]                                  
		}                                                                   
		if (tty->back == NULL) {                                            
a00044fc:	e5942004 	ldr	r2, [r4, #4]                                  
a0004500:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
a0004504:	15823000 	strne	r3, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0004508:	0a000025 	beq	a00045a4 <rtems_termios_close+0x144>          
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
a000450c:	e5940014 	ldr	r0, [r4, #20]                                 
a0004510:	eb000404 	bl	a0005528 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->osem);                                 
a0004514:	e5940018 	ldr	r0, [r4, #24]                                 
a0004518:	eb000402 	bl	a0005528 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
a000451c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0004520:	eb000400 	bl	a0005528 <rtems_semaphore_delete>              
		if ((tty->device.pollRead == NULL) ||                               
a0004524:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0004528:	e3530000 	cmp	r3, #0                                        
a000452c:	0a00000e 	beq	a000456c <rtems_termios_close+0x10c>          
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
a0004530:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0004534:	e3530002 	cmp	r3, #2                                        
a0004538:	0a00000b 	beq	a000456c <rtems_termios_close+0x10c>          
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
		free (tty->rawInBuf.theBuf);                                        
a000453c:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a0004540:	ebfff67d 	bl	a0001f3c <free>                                
		free (tty->rawOutBuf.theBuf);                                       
a0004544:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
a0004548:	ebfff67b 	bl	a0001f3c <free>                                
		free (tty->cbuf);                                                   
a000454c:	e594001c 	ldr	r0, [r4, #28]                                 
a0004550:	ebfff679 	bl	a0001f3c <free>                                
		free (tty);                                                         
a0004554:	e1a00004 	mov	r0, r4                                        
a0004558:	ebfff677 	bl	a0001f3c <free>                                
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a000455c:	e5950000 	ldr	r0, [r5]                                      
a0004560:	eb000461 	bl	a00056ec <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a0004564:	e3a00000 	mov	r0, #0                                        
a0004568:	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);                  
a000456c:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0004570:	eb0003ec 	bl	a0005528 <rtems_semaphore_delete>              <== NOT EXECUTED
a0004574:	eafffff0 	b	a000453c <rtems_termios_close+0xdc>             <== 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;                                 
a0004578:	e5942004 	ldr	r2, [r4, #4]                                  
a000457c:	e59f109c 	ldr	r1, [pc, #156]	; a0004620 <rtems_termios_close+0x1c0>
			if ( rtems_termios_ttyTail != NULL ) {                             
a0004580:	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;                                 
a0004584:	e5812000 	str	r2, [r1]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
a0004588:	0a00001f 	beq	a000460c <rtems_termios_close+0x1ac>          
				rtems_termios_ttyTail->forw = NULL;                               
a000458c:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0004590:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a0004594:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0004598:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
a000459c:	15823000 	strne	r3, [r2]                                    <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a00045a0:	1affffd9 	bne	a000450c <rtems_termios_close+0xac>           <== NOT EXECUTED
			rtems_termios_ttyHead = tty->forw;                                 
a00045a4:	e59f1078 	ldr	r1, [pc, #120]	; a0004624 <rtems_termios_close+0x1c4>
			if ( rtems_termios_ttyHead != NULL ) {                             
a00045a8:	e3530000 	cmp	r3, #0                                        
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
a00045ac:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
a00045b0:	15832004 	strne	r2, [r3, #4]                                
a00045b4:	eaffffd4 	b	a000450c <rtems_termios_close+0xac>             
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00045b8:	e5940018 	ldr	r0, [r4, #24]                                 
a00045bc:	e1a02001 	mov	r2, r1                                        
a00045c0:	eb000401 	bl	a00055cc <rtems_semaphore_obtain>              
			if (sc != RTEMS_SUCCESSFUL) {                                      
a00045c4:	e3500000 	cmp	r0, #0                                        
a00045c8:	1a00000e 	bne	a0004608 <rtems_termios_close+0x1a8>          
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
a00045cc:	e1a00004 	mov	r0, r4                                        
a00045d0:	ebfffdac 	bl	a0003c88 <drainOutput>                         
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
a00045d4:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a00045d8:	e3530002 	cmp	r3, #2                                        
a00045dc:	1affffba 	bne	a00044cc <rtems_termios_close+0x6c>           
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
a00045e0:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a00045e4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00045e8:	eb0002d1 	bl	a0005134 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a00045ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00045f0:	1a000004 	bne	a0004608 <rtems_termios_close+0x1a8>          <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
a00045f4:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a00045f8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00045fc:	eb0002cc 	bl	a0005134 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a0004600:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004604:	0affffb0 	beq	a00044cc <rtems_termios_close+0x6c>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
a0004608:	eb00058f 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
a000460c:	e59f3010 	ldr	r3, [pc, #16]	; a0004624 <rtems_termios_close+0x1c4>
a0004610:	e5832000 	str	r2, [r3]                                      
a0004614:	eaffffbc 	b	a000450c <rtems_termios_close+0xac>             
                                                                      

a0003118 <rtems_termios_dequeue_characters>: rtems_status_code sc; /* * sum up character count already sent */ tty->t_dqlen += len;
a0003118:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a000311c:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
a0003120:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a0003124:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a0003128:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a000312c:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a0003130:	0a00000b 	beq	a0003164 <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 ) {                                  
a0003134:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0003138:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a000313c:	0a000001 	beq	a0003148 <rtems_termios_dequeue_characters+0x30><== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
a0003140:	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);                       
a0003144:	eaffff70 	b	a0002f0c <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) {            
a0003148:	e59f302c 	ldr	r3, [pc, #44]	; a000317c <rtems_termios_dequeue_characters+0x64><== NOT EXECUTED
a000314c:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
a0003150:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003154:	0a000000 	beq	a000315c <rtems_termios_dequeue_characters+0x44><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
a0003158:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
a000315c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003160:	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,                                
a0003164:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
a0003168:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a000316c:	eb0007f0 	bl	a0005134 <rtems_event_send>                    <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
a0003170:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003174:	0afffff8 	beq	a000315c <rtems_termios_dequeue_characters+0x44><== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
a0003178:	eb000ab3 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0003180 <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) {
a0003180:	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) {              
a0003184:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0003188:	e59f82dc 	ldr	r8, [pc, #732]	; a000346c <rtems_termios_enqueue_raw_characters+0x2ec><== 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) 
{                                                                     
a000318c:	e24dd00c 	sub	sp, sp, #12                                   <== NOT EXECUTED
a0003190:	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) {              
a0003194:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
a0003198:	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) 
{                                                                     
a000319c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a00031a0:	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) {              
a00031a4:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00031a8:	0a00001c 	beq	a0003220 <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
	  while (len--) {                                                    
a00031ac:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00031b0:	0a00000a 	beq	a00031e0 <rtems_termios_enqueue_raw_characters+0x60><== NOT EXECUTED
a00031b4:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
a00031b8:	ea000002 	b	a00031c8 <rtems_termios_enqueue_raw_characters+0x48><== NOT EXECUTED
a00031bc:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a00031c0:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
a00031c4:	e5936010 	ldr	r6, [r3, #16]                                 <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
a00031c8:	e7d5000a 	ldrb	r0, [r5, sl]                                 <== NOT EXECUTED
a00031cc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00031d0:	e28aa001 	add	sl, sl, #1                                    <== NOT EXECUTED
a00031d4:	e12fff36 	blx	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--) {                                                    
a00031d8:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
a00031dc:	1afffff6 	bne	a00031bc <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 )) {  
a00031e0:	e59490e4 	ldr	r9, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a00031e4:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
a00031e8:	1a00000a 	bne	a0003218 <rtems_termios_enqueue_raw_characters+0x98><== NOT EXECUTED
a00031ec:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a00031f0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00031f4:	0a000007 	beq	a0003218 <rtems_termios_enqueue_raw_characters+0x98><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a00031f8:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a00031fc:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0003200:	e12fff33 	blx	r3                                            <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
a0003204:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0003208:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
}                                                                     
a000320c:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0003210:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a0003214:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0003218:	e3a09000 	mov	r9, #0                                        <== NOT EXECUTED
a000321c:	eafffffa 	b	a000320c <rtems_termios_enqueue_raw_characters+0x8c><== 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,                              
a0003220:	e280304a 	add	r3, r0, #74	; 0x4a                            <== NOT EXECUTED
a0003224:	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);      
a0003228:	e2803030 	add	r3, r0, #48	; 0x30                            <== NOT EXECUTED
a000322c:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a0003230:	e1a0b006 	mov	fp, r6                                        <== NOT EXECUTED
a0003234:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0003238:	ea000034 	b	a0003310 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
a000323c:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003240:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003244:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0003248:	eb0051e8 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
a000324c:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003250:	e10f9000 	mrs	r9, CPSR                                      <== NOT EXECUTED
a0003254:	e3893080 	orr	r3, r9, #128	; 0x80                           <== NOT EXECUTED
a0003258:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
a000325c:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003260:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003264:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003268:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
a000326c:	e0800008 	add	r0, r0, r8                                    <== NOT EXECUTED
a0003270:	eb0051de 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
a0003274:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
a0003278:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000327c:	9a00000f 	bls	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
a0003280:	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)           
a0003284:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0003288:	1a00000c 	bne	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
a000328c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a0003290:	e3a03b01 	mov	r3, #1024	; 0x400                             <== NOT EXECUTED
a0003294:	e2833002 	add	r3, r3, #2                                    <== 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;                                     
a0003298:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a000329c:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a00032a0:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00032a4:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a00032a8:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
a00032ac:	0a000056 	beq	a000340c <rtems_termios_enqueue_raw_characters+0x28c><== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
a00032b0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00032b4:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
a00032b8:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
a00032bc:	0a000061 	beq	a0003448 <rtems_termios_enqueue_raw_characters+0x2c8><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00032c0:	e129f009 	msr	CPSR_fc, r9                                   <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
a00032c4:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00032c8:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a00032cc:	0a00002c 	beq	a0003384 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
a00032d0:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a00032d4:	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 )) {  
a00032d8:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
a00032dc:	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 )) {  
a00032e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00032e4:	1a000007 	bne	a0003308 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
a00032e8:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a00032ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00032f0:	0a000004 	beq	a0003308 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a00032f4:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
a00032f8:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a00032fc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
a0003300:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0003304:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0003308:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a000330c:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
a0003310:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0003314:	0a00002d 	beq	a00033d0 <rtems_termios_enqueue_raw_characters+0x250><== NOT EXECUTED
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
a0003318:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
a000331c:	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) {                                   
a0003320:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0003324:	0a000005 	beq	a0003340 <rtems_termios_enqueue_raw_characters+0x1c0><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
a0003328:	e5d4304a 	ldrb	r3, [r4, #74]	; 0x4a                         <== NOT EXECUTED
a000332c:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
a0003330:	0a000017 	beq	a0003394 <rtems_termios_enqueue_raw_characters+0x214><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
a0003334:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
a0003338:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
a000333c:	0a00001e 	beq	a00033bc <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
a0003340:	e35b0000 	cmp	fp, #0                                        <== NOT EXECUTED
a0003344:	0affffbc 	beq	a000323c <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
a0003348:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a000334c:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
a0003350:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
a0003354:	1affffeb 	bne	a0003308 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003358:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a000335c:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0003360:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
a0003364:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0003368:	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;                                   
a000336c:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0003370:	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;                                   
a0003374:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0003378:	1a00001b 	bne	a00033ec <rtems_termios_enqueue_raw_characters+0x26c><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000337c:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a0003380:	eaffffe0 	b	a0003308 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
a0003384:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0003388:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000338c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0003390:	eaffffdc 	b	a0003308 <rtems_termios_enqueue_raw_characters+0x188><== 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]) {                          
a0003394:	e5d42049 	ldrb	r2, [r4, #73]	; 0x49                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0003398:	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]) {                          
a000339c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
a00033a0:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a00033a4:	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;                       
a00033a8:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a00033ac:	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;                       
a00033b0:	058430b8 	streq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a00033b4:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a00033b8:	eaffffe2 	b	a0003348 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
a00033bc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a00033c0:	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;                                 
a00033c4:	e3c33010 	bic	r3, r3, #16                                   <== NOT EXECUTED
a00033c8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00033cc:	eaffffdd 	b	a0003348 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a00033d0:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
a00033d4:	e59d9000 	ldr	r9, [sp]                                      <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a00033d8:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a00033dc:	e0833009 	add	r3, r3, r9                                    <== NOT EXECUTED
a00033e0:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a00033e4:	eb0008c0 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
	return dropped;                                                      
a00033e8:	eaffff87 	b	a000320c <rtems_termios_enqueue_raw_characters+0x8c><== 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);               
a00033ec:	e5942084 	ldr	r2, [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,                                    
a00033f0:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a00033f4:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a00033f8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00033fc:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0003400:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003404:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003408:	eaffffdb 	b	a000337c <rtems_termios_enqueue_raw_characters+0x1fc><== 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) ||                              
a000340c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003410:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003414:	1a000002 	bne	a0003424 <rtems_termios_enqueue_raw_characters+0x2a4><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
a0003418:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a000341c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003420:	1affffa6 	bne	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
a0003424:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0003428:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a000342c:	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;                                 
a0003430:	e3822002 	orr	r2, r2, #2                                    <== NOT EXECUTED
a0003434:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0003438:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a000343c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003440:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003444:	eaffff9d 	b	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0003448:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a000344c:	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;                                   
a0003450:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0003454:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0003458:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a000345c:	0affff97 	beq	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
a0003460:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003464:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003468:	eaffff94 	b	a00032c0 <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
                                                                      

a0002ea4 <rtems_termios_initialize>: rtems_status_code sc; /* * Create the mutex semaphore for the tty list */ if (!rtems_termios_ttyMutex) {
a0002ea4:	e59fc038 	ldr	ip, [pc, #56]	; a0002ee4 <rtems_termios_initialize+0x40>
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
a0002ea8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002eac:	e59c3000 	ldr	r3, [ip]                                      
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
a0002eb0:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002eb4:	e3530000 	cmp	r3, #0                                        
a0002eb8:	0a000001 	beq	a0002ec4 <rtems_termios_initialize+0x20>      
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
  }                                                                   
}                                                                     
a0002ebc:	e28dd004 	add	sp, sp, #4                                    
a0002ec0:	e8bd8000 	pop	{pc}                                          
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
    sc = rtems_semaphore_create (                                     
a0002ec4:	e59f001c 	ldr	r0, [pc, #28]	; a0002ee8 <rtems_termios_initialize+0x44>
a0002ec8:	e3a01001 	mov	r1, #1                                        
a0002ecc:	e3a02054 	mov	r2, #84	; 0x54                                
a0002ed0:	e58dc000 	str	ip, [sp]                                      
a0002ed4:	eb000921 	bl	a0005360 <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)                                       
a0002ed8:	e3500000 	cmp	r0, #0                                        
a0002edc:	0afffff6 	beq	a0002ebc <rtems_termios_initialize+0x18>      
      rtems_fatal_error_occurred (sc);                                
a0002ee0:	eb000b59 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a00040a8 <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;
a00040a8:	e5903000 	ldr	r3, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a00040ac:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00040b0:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
a00040b4:	e3a01000 	mov	r1, #0                                        
a00040b8:	e580100c 	str	r1, [r0, #12]                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a00040bc:	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);
a00040c0:	e1a02001 	mov	r2, r1                                        
a00040c4:	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; 
a00040c8:	e5947008 	ldr	r7, [r4, #8]                                  
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00040cc:	eb00053e 	bl	a00055cc <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL) {                                        
a00040d0:	e2506000 	subs	r6, r0, #0                                   
a00040d4:	1a00000e 	bne	a0004114 <rtems_termios_ioctl+0x6c>           
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a00040d8:	e5943004 	ldr	r3, [r4, #4]                                  
a00040dc:	e3530004 	cmp	r3, #4                                        
a00040e0:	0a000006 	beq	a0004100 <rtems_termios_ioctl+0x58>           
a00040e4:	8a00000d 	bhi	a0004120 <rtems_termios_ioctl+0x78>           
a00040e8:	e3530002 	cmp	r3, #2                                        
a00040ec:	0a00001d 	beq	a0004168 <rtems_termios_ioctl+0xc0>           
a00040f0:	9a000082 	bls	a0004300 <rtems_termios_ioctl+0x258>          
		if (tty->device.setAttributes)                                      
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
a00040f4:	e1a00005 	mov	r0, r5                                        
a00040f8:	ebfffee2 	bl	a0003c88 <drainOutput>                         
		break;                                                              
a00040fc:	ea000002 	b	a000410c <rtems_termios_ioctl+0x64>             
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
		break;                                                              
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
a0004100:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a0004104:	e58520dc 	str	r2, [r5, #220]	; 0xdc                         <== NOT EXECUTED
a0004108:	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);                                 
a000410c:	e5950018 	ldr	r0, [r5, #24]                                 
a0004110:	eb000575 	bl	a00056ec <rtems_semaphore_release>             
	args->ioctl_return = sc;                                             
a0004114:	e584600c 	str	r6, [r4, #12]                                 
	return sc;                                                           
}                                                                     
a0004118:	e1a00006 	mov	r0, r6                                        
a000411c:	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) {                                             
a0004120:	e59f2328 	ldr	r2, [pc, #808]	; a0004450 <rtems_termios_ioctl+0x3a8><== NOT EXECUTED
a0004124:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0004128:	0a000068 	beq	a00042d0 <rtems_termios_ioctl+0x228>          <== NOT EXECUTED
a000412c:	8a00007f 	bhi	a0004330 <rtems_termios_ioctl+0x288>          <== NOT EXECUTED
a0004130:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a0004134:	0a00009c 	beq	a00043ac <rtems_termios_ioctl+0x304>          <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
a0004138:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a000413c:	e59f3310 	ldr	r3, [pc, #784]	; a0004454 <rtems_termios_ioctl+0x3ac><== NOT EXECUTED
a0004140:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0004144:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0004148:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000414c:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
a0004150:	0affffed 	beq	a000410c <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
a0004154:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0004158:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000415c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004160:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0004164:	eaffffe8 	b	a000410c <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;                     
a0004168:	e594e008 	ldr	lr, [r4, #8]                                  
a000416c:	e2857030 	add	r7, r5, #48	; 0x30                            
a0004170:	e1a0c007 	mov	ip, r7                                        
a0004174:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0004178:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000417c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0004180:	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) &&                                 
a0004184:	e59580b8 	ldr	r8, [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;                     
a0004188:	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) &&                                 
a000418c:	e3180c02 	tst	r8, #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;                     
a0004190:	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) &&                                 
a0004194:	0a000012 	beq	a00041e4 <rtems_termios_ioctl+0x13c>          
a0004198:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
a000419c:	e3130b01 	tst	r3, #1024	; 0x400                             
a00041a0:	1a00000f 	bne	a00041e4 <rtems_termios_ioctl+0x13c>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
a00041a4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00041a8:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a00041ac:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
a00041b0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a00041b4:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a00041b8:	0a000009 	beq	a00041e4 <rtems_termios_ioctl+0x13c>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00041bc:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a00041c0:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a00041c4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a00041c8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a00041cc:	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;                                    
a00041d0:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a00041d4:	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;                                    
a00041d8:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a00041dc:	1a000093 	bne	a0004430 <rtems_termios_ioctl+0x388>          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00041e0:	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) &&                                 
a00041e4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a00041e8:	e3130b01 	tst	r3, #1024	; 0x400                             
a00041ec:	0a000008 	beq	a0004214 <rtems_termios_ioctl+0x16c>          
a00041f0:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          <== NOT EXECUTED
a00041f4:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
a00041f8:	1a000005 	bne	a0004214 <rtems_termios_ioctl+0x16c>          <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
a00041fc:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0004200:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
a0004204:	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);                                  
a0004208:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a000420c:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
a0004210:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
a0004214:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0004218:	e3130c01 	tst	r3, #256	; 0x100                              
a000421c:	05952038 	ldreq	r2, [r5, #56]	; 0x38                        
a0004220:	0a000011 	beq	a000426c <rtems_termios_ioctl+0x1c4>          
a0004224:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
a0004228:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000422c:	ba000073 	blt	a0004400 <rtems_termios_ioctl+0x358>          <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
a0004230:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0004234:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0004238:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
a000423c:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0004240:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0004244:	0a000005 	beq	a0004260 <rtems_termios_ioctl+0x1b8>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
a0004248:	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) &&                              
a000424c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004250:	0a000002 	beq	a0004260 <rtems_termios_ioctl+0x1b8>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
a0004254:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0004258:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000425c:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
a0004260:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0004264:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
a0004268:	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) {                               
a000426c:	e3520000 	cmp	r2, #0                                        
a0004270:	ba000062 	blt	a0004400 <rtems_termios_ioctl+0x358>          
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0004274:	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) {                                
a0004278:	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) {                                 
a000427c:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
a0004280:	159520b8 	ldrne	r2, [r5, #184]	; 0xb8                       
a0004284:	13822b01 	orrne	r2, r2, #1024	; 0x400                       
a0004288:	158520b8 	strne	r2, [r5, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
a000428c:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
a0004290:	159530b8 	ldrne	r3, [r5, #184]	; 0xb8                       
a0004294:	13833c02 	orrne	r3, r3, #512	; 0x200                        
a0004298:	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) {                                
a000429c:	e2188002 	ands	r8, r8, #2                                   
a00042a0:	0a000045 	beq	a00043bc <rtems_termios_ioctl+0x314>          
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
a00042a4:	e3a03000 	mov	r3, #0                                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
a00042a8:	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;                        
a00042ac:	e585306c 	str	r3, [r5, #108]	; 0x6c                         
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
a00042b0:	e5853070 	str	r3, [r5, #112]	; 0x70                         
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
a00042b4:	e59530a8 	ldr	r3, [r5, #168]	; 0xa8                         
a00042b8:	e3530000 	cmp	r3, #0                                        
a00042bc:	0affff92 	beq	a000410c <rtems_termios_ioctl+0x64>           
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
a00042c0:	e1a01007 	mov	r1, r7                                        
a00042c4:	e5950010 	ldr	r0, [r5, #16]                                 
a00042c8:	e12fff33 	blx	r3                                            
a00042cc:	eaffff8e 	b	a000410c <rtems_termios_ioctl+0x64>             
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
a00042d0:	e5952060 	ldr	r2, [r5, #96]	; 0x60                          <== NOT EXECUTED
a00042d4:	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;           
a00042d8:	e5950020 	ldr	r0, [r5, #32]                                 <== NOT EXECUTED
a00042dc:	e5941008 	ldr	r1, [r4, #8]                                  <== NOT EXECUTED
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
a00042e0:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
a00042e4:	45952064 	ldrmi	r2, [r5, #100]	; 0x64                       <== NOT EXECUTED
a00042e8:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
a00042ec:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
a00042f0:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
a00042f4:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a00042f8:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
a00042fc:	eaffff82 	b	a000410c <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) {                                             
a0004300:	e3530001 	cmp	r3, #1                                        
a0004304:	1affff8b 	bne	a0004138 <rtems_termios_ioctl+0x90>           
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
a0004308:	e5947008 	ldr	r7, [r4, #8]                                  
a000430c:	e285c030 	add	ip, r5, #48	; 0x30                            
a0004310:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0004314:	e1a0e007 	mov	lr, r7                                        
a0004318:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a000431c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0004320:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0004324:	e59c3000 	ldr	r3, [ip]                                      
a0004328:	e58e3000 	str	r3, [lr]                                      
		break;                                                              
a000432c:	eaffff76 	b	a000410c <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) {                                             
a0004330:	e59f2120 	ldr	r2, [pc, #288]	; a0004458 <rtems_termios_ioctl+0x3b0><== NOT EXECUTED
a0004334:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0004338:	0a000017 	beq	a000439c <rtems_termios_ioctl+0x2f4>          <== NOT EXECUTED
a000433c:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              <== NOT EXECUTED
a0004340:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0004344:	1affff7b 	bne	a0004138 <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) {            
a0004348:	e59f7104 	ldr	r7, [pc, #260]	; a0004454 <rtems_termios_ioctl+0x3ac><== NOT EXECUTED
a000434c:	e59530cc 	ldr	r3, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a0004350:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a0004354:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0004358:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000435c:	0a000002 	beq	a000436c <rtems_termios_ioctl+0x2c4>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a0004360:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0004364:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004368:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
a000436c:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
a0004370:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004374:	e58520d0 	str	r2, [r5, #208]	; 0xd0                         <== 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);                                  
a0004378:	e5932000 	ldr	r2, [r3]                                      <== 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) {             
a000437c:	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);                                  
a0004380:	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) {             
a0004384:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004388:	0affff5f 	beq	a000410c <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
a000438c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0004390:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0004394:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0004398:	eaffff5b 	b	a000410c <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
a000439c:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a00043a0:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a00043a4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
		break;                                                              
a00043a8:	eaffff57 	b	a000410c <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
a00043ac:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a00043b0:	e58520d4 	str	r2, [r5, #212]	; 0xd4                         <== NOT EXECUTED
a00043b4:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         <== NOT EXECUTED
		break;                                                              
a00043b8:	eaffff53 	b	a000410c <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;             
a00043bc:	e5d5a046 	ldrb	sl, [r5, #70]	; 0x46                         <== NOT EXECUTED
a00043c0:	eb0002d6 	bl	a0004f20 <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] *                       
a00043c4:	e59f1090 	ldr	r1, [pc, #144]	; a000445c <rtems_termios_ioctl+0x3b4><== NOT EXECUTED
a00043c8:	e000009a 	mul	r0, sl, r0                                    <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a00043cc:	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] *                       
a00043d0:	e083c091 	umull	ip, r3, r1, r0                              <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a00043d4:	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] *                       
a00043d8:	e1a031a3 	lsr	r3, r3, #3                                    <== NOT EXECUTED
a00043dc:	e5853054 	str	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a00043e0:	0a00000a 	beq	a0004410 <rtems_termios_ioctl+0x368>          <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
a00043e4:	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;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
a00043e8:	e5853070 	str	r3, [r5, #112]	; 0x70                         <== 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;                       
a00043ec:	e585806c 	str	r8, [r5, #108]	; 0x6c                         <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a00043f0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00043f4:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a00043f8:	e5853074 	str	r3, [r5, #116]	; 0x74                         <== NOT EXECUTED
a00043fc:	eaffffac 	b	a00042b4 <rtems_termios_ioctl+0x20c>            <== 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;                                       
a0004400:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0004404:	e3833c01 	orr	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0004408:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a000440c:	eaffff98 	b	a0004274 <rtems_termios_ioctl+0x1cc>            <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
a0004410:	e5d53047 	ldrb	r3, [r5, #71]	; 0x47                         <== NOT EXECUTED
a0004414:	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;                   
a0004418:	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;           
a000441c:	15852074 	strne	r2, [r5, #116]	; 0x74                       <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
a0004420:	1585206c 	strne	r2, [r5, #108]	; 0x6c                       <== NOT EXECUTED
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
a0004424:	15852070 	strne	r2, [r5, #112]	; 0x70                       <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
a0004428:	0585306c 	streq	r3, [r5, #108]	; 0x6c                       <== NOT EXECUTED
a000442c:	eaffffa0 	b	a00042b4 <rtems_termios_ioctl+0x20c>            <== 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);                
a0004430:	e5952084 	ldr	r2, [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,                                     
a0004434:	e595107c 	ldr	r1, [r5, #124]	; 0x7c                         <== NOT EXECUTED
a0004438:	e59530a4 	ldr	r3, [r5, #164]	; 0xa4                         <== NOT EXECUTED
a000443c:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0004440:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0004444:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0004448:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000444c:	eaffff63 	b	a00041e0 <rtems_termios_ioctl+0x138>            <== NOT EXECUTED
                                                                      

a0004628 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
a0004628:	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,                 
a000462c:	e59f7498 	ldr	r7, [pc, #1176]	; a0004acc <rtems_termios_open+0x4a4>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0004630:	e1a06001 	mov	r6, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0004634:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0004638:	e24dd014 	sub	sp, sp, #20                                   
a000463c:	e1a05000 	mov	r5, r0                                        
a0004640:	e1a08002 	mov	r8, r2                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0004644:	e5970000 	ldr	r0, [r7]                                      
a0004648:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a000464c:	e1a09003 	mov	r9, r3                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0004650:	eb0003dd 	bl	a00055cc <rtems_semaphore_obtain>              
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
a0004654:	e250a000 	subs	sl, r0, #0                                   
a0004658:	1a000020 	bne	a00046e0 <rtems_termios_open+0xb8>            
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
a000465c:	e59fb46c 	ldr	fp, [pc, #1132]	; a0004ad0 <rtems_termios_open+0x4a8>
a0004660:	e59b4000 	ldr	r4, [fp]                                      
a0004664:	e3540000 	cmp	r4, #0                                        
a0004668:	1a000003 	bne	a000467c <rtems_termios_open+0x54>            
a000466c:	ea00002b 	b	a0004720 <rtems_termios_open+0xf8>              
a0004670:	e5944000 	ldr	r4, [r4]                                      
a0004674:	e3540000 	cmp	r4, #0                                        
a0004678:	0a000028 	beq	a0004720 <rtems_termios_open+0xf8>            
		if ((tty->major == major) && (tty->minor == minor))                 
a000467c:	e594300c 	ldr	r3, [r4, #12]                                 
a0004680:	e1530005 	cmp	r3, r5                                        
a0004684:	1afffff9 	bne	a0004670 <rtems_termios_open+0x48>            
a0004688:	e5943010 	ldr	r3, [r4, #16]                                 
a000468c:	e1530006 	cmp	r3, r6                                        
a0004690:	1afffff6 	bne	a0004670 <rtems_termios_open+0x48>            
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
a0004694:	e5943008 	ldr	r3, [r4, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a0004698:	e5982000 	ldr	r2, [r8]                                      
	if (!tty->refcount++) {                                              
a000469c:	e3530000 	cmp	r3, #0                                        
a00046a0:	e2833001 	add	r3, r3, #1                                    
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a00046a4:	e5824034 	str	r4, [r2, #52]	; 0x34                          
	if (!tty->refcount++) {                                              
a00046a8:	e5843008 	str	r3, [r4, #8]                                  
a00046ac:	1a000009 	bne	a00046d8 <rtems_termios_open+0xb0>            
	  if (tty->device.firstOpen)                                         
a00046b0:	e5943098 	ldr	r3, [r4, #152]	; 0x98                         
a00046b4:	e3530000 	cmp	r3, #0                                        
a00046b8:	0a000003 	beq	a00046cc <rtems_termios_open+0xa4>            
		(*tty->device.firstOpen)(major, minor, arg);                        
a00046bc:	e1a00005 	mov	r0, r5                                        
a00046c0:	e1a01006 	mov	r1, r6                                        
a00046c4:	e1a02008 	mov	r2, r8                                        
a00046c8:	e12fff33 	blx	r3                                            
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
a00046cc:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a00046d0:	e3530002 	cmp	r3, #2                                        
a00046d4:	0a000004 	beq	a00046ec <rtems_termios_open+0xc4>            
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a00046d8:	e5970000 	ldr	r0, [r7]                                      
a00046dc:	eb000402 	bl	a00056ec <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a00046e0:	e1a0000a 	mov	r0, sl                                        
a00046e4:	e28dd014 	add	sp, sp, #20                                   
a00046e8:	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,                             
a00046ec:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a00046f0:	e59f13dc 	ldr	r1, [pc, #988]	; a0004ad4 <rtems_termios_open+0x4ac><== NOT EXECUTED
a00046f4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00046f8:	eb0004cc 	bl	a0005a30 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a00046fc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004700:	1a0000d4 	bne	a0004a58 <rtems_termios_open+0x430>           <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
a0004704:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0004708:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a000470c:	e59f13c4 	ldr	r1, [pc, #964]	; a0004ad8 <rtems_termios_open+0x4b0><== NOT EXECUTED
a0004710:	eb0004c6 	bl	a0005a30 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a0004714:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004718:	0affffee 	beq	a00046d8 <rtems_termios_open+0xb0>            <== NOT EXECUTED
a000471c:	ea0000cd 	b	a0004a58 <rtems_termios_open+0x430>             <== NOT EXECUTED
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0004720:	e3a00001 	mov	r0, #1                                        
a0004724:	e3a010e8 	mov	r1, #232	; 0xe8                               
a0004728:	ebfff56e 	bl	a0001ce8 <calloc>                              
		if (tty == NULL) {                                                  
a000472c:	e3500000 	cmp	r0, #0                                        
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0004730:	e58d000c 	str	r0, [sp, #12]                                 
a0004734:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
a0004738:	0a0000b1 	beq	a0004a04 <rtems_termios_open+0x3dc>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
a000473c:	e59f0398 	ldr	r0, [pc, #920]	; a0004adc <rtems_termios_open+0x4b4>
a0004740:	e59d100c 	ldr	r1, [sp, #12]                                 
a0004744:	e5903004 	ldr	r3, [r0, #4]                                  
a0004748:	e5813064 	str	r3, [r1, #100]	; 0x64                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a000474c:	e5910064 	ldr	r0, [r1, #100]	; 0x64                         
a0004750:	ebfff6dd 	bl	a00022cc <malloc>                              
a0004754:	e59d200c 	ldr	r2, [sp, #12]                                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
a0004758:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a000475c:	e5820058 	str	r0, [r2, #88]	; 0x58                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
a0004760:	0a0000ab 	beq	a0004a14 <rtems_termios_open+0x3ec>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
a0004764:	e59fc370 	ldr	ip, [pc, #880]	; a0004adc <rtems_termios_open+0x4b4>
a0004768:	e59de00c 	ldr	lr, [sp, #12]                                 
a000476c:	e59c3008 	ldr	r3, [ip, #8]                                  
a0004770:	e58e3088 	str	r3, [lr, #136]	; 0x88                         
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0004774:	e59e0088 	ldr	r0, [lr, #136]	; 0x88                         
a0004778:	ebfff6d3 	bl	a00022cc <malloc>                              
a000477c:	e59d100c 	ldr	r1, [sp, #12]                                 
		if (tty->rawOutBuf.theBuf == NULL) {                                
a0004780:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0004784:	e581007c 	str	r0, [r1, #124]	; 0x7c                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
		        free((void *)(tty->rawInBuf.theBuf));                       
a0004788:	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) {                                
a000478c:	0a000099 	beq	a00049f8 <rtems_termios_open+0x3d0>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a0004790:	e59f2344 	ldr	r2, [pc, #836]	; a0004adc <rtems_termios_open+0x4b4>
a0004794:	e5920000 	ldr	r0, [r2]                                      
a0004798:	ebfff6cb 	bl	a00022cc <malloc>                              
a000479c:	e59d300c 	ldr	r3, [sp, #12]                                 
		if (tty->cbuf == NULL) {                                            
a00047a0:	e3500000 	cmp	r0, #0                                        
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a00047a4:	e583001c 	str	r0, [r3, #28]                                 
		if (tty->cbuf == NULL) {                                            
a00047a8:	0a00008e 	beq	a00049e8 <rtems_termios_open+0x3c0>           
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
a00047ac:	e59dc00c 	ldr	ip, [sp, #12]                                 
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a00047b0:	e59b2000 	ldr	r2, [fp]                                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
a00047b4:	e3a03000 	mov	r3, #0                                        
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
a00047b8:	e58c3004 	str	r3, [ip, #4]                                  
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
a00047bc:	e58c30d4 	str	r3, [ip, #212]	; 0xd4                         
		tty->tty_snd.sw_arg = NULL;                                         
a00047c0:	e58c30d8 	str	r3, [ip, #216]	; 0xd8                         
		tty->tty_rcv.sw_pfn = NULL;                                         
a00047c4:	e58c30dc 	str	r3, [ip, #220]	; 0xdc                         
		tty->tty_rcv.sw_arg = NULL;                                         
a00047c8:	e58c30e0 	str	r3, [ip, #224]	; 0xe0                         
		tty->tty_rcvwakeup  = 0;                                            
a00047cc:	e58c30e4 	str	r3, [ip, #228]	; 0xe4                         
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
a00047d0:	e1520003 	cmp	r2, r3                                        
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a00047d4:	e59f3304 	ldr	r3, [pc, #772]	; a0004ae0 <rtems_termios_open+0x4b8>
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
a00047d8:	1582c004 	strne	ip, [r2, #4]                                
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a00047dc:	e58c2000 	str	r2, [ip]                                      
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a00047e0:	e5932000 	ldr	r2, [r3]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00047e4:	e59f12f0 	ldr	r1, [pc, #752]	; a0004adc <rtems_termios_open+0x4b4>
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a00047e8:	e59de00c 	ldr	lr, [sp, #12]                                 
		if (rtems_termios_ttyTail == NULL)                                  
a00047ec:	e3520000 	cmp	r2, #0                                        
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00047f0:	e59d200c 	ldr	r2, [sp, #12]                                 
a00047f4:	e5d1000c 	ldrb	r0, [r1, #12]                                
		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;                                       
a00047f8:	0583e000 	streq	lr, [r3]                                    
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00047fc:	e282c014 	add	ip, r2, #20                                   
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a0004800:	e58be000 	str	lr, [fp]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a0004804:	e58dc000 	str	ip, [sp]                                      
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
a0004808:	e59dc00c 	ldr	ip, [sp, #12]                                 
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a000480c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0004810:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0004814:	e3a03000 	mov	r3, #0                                        
a0004818:	e3a01001 	mov	r1, #1                                        
a000481c:	e3800c69 	orr	r0, r0, #26880	; 0x6900                       
a0004820:	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;                                                 
a0004824:	e58c6010 	str	r6, [ip, #16]                                 
		tty->major = major;                                                 
a0004828:	e58c500c 	str	r5, [ip, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a000482c:	eb0002cb 	bl	a0005360 <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)                                         
a0004830:	e2503000 	subs	r3, r0, #0                                   
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a0004834:	e59fb2a0 	ldr	fp, [pc, #672]	; a0004adc <rtems_termios_open+0x4b4>
			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)                                         
a0004838:	1a000086 	bne	a0004a58 <rtems_termios_open+0x430>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a000483c:	e5db000c 	ldrb	r0, [fp, #12]                                
a0004840:	e59de00c 	ldr	lr, [sp, #12]                                 
a0004844:	e3a01001 	mov	r1, #1                                        
a0004848:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a000484c:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0004850:	e28ec018 	add	ip, lr, #24                                   
a0004854:	e3800c6f 	orr	r0, r0, #28416	; 0x6f00                       
a0004858:	e3a02054 	mov	r2, #84	; 0x54                                
a000485c:	e58dc000 	str	ip, [sp]                                      
a0004860:	eb0002be 	bl	a0005360 <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)                                         
a0004864:	e2501000 	subs	r1, r0, #0                                   
a0004868:	1a00007a 	bne	a0004a58 <rtems_termios_open+0x430>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a000486c:	e5db000c 	ldrb	r0, [fp, #12]                                
a0004870:	e59d200c 	ldr	r2, [sp, #12]                                 
a0004874:	e1a03001 	mov	r3, r1                                        
a0004878:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a000487c:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0004880:	e282c08c 	add	ip, r2, #140	; 0x8c                           
a0004884:	e3800b1e 	orr	r0, r0, #30720	; 0x7800                       
a0004888:	e3a02020 	mov	r2, #32                                       
a000488c:	e58dc000 	str	ip, [sp]                                      
a0004890:	eb0002b2 	bl	a0005360 <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)                                         
a0004894:	e2503000 	subs	r3, r0, #0                                   
a0004898:	e58d3010 	str	r3, [sp, #16]                                 
a000489c:	1a00006d 	bne	a0004a58 <rtems_termios_open+0x430>           
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
a00048a0:	e59dc00c 	ldr	ip, [sp, #12]                                 
a00048a4:	e28ce098 	add	lr, ip, #152	; 0x98                           
a00048a8:	e1a0c009 	mov	ip, r9                                        
a00048ac:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00048b0:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a00048b4:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
a00048b8:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a00048bc:	e59de00c 	ldr	lr, [sp, #12]                                 
			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;                                     
a00048c0:	e59d0010 	ldr	r0, [sp, #16]                                 
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a00048c4:	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;                                     
a00048c8:	e58e0094 	str	r0, [lr, #148]	; 0x94                         
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a00048cc:	e3530002 	cmp	r3, #2                                        
a00048d0:	0a000061 	beq	a0004a5c <rtems_termios_open+0x434>           
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
a00048d4:	e59d200c 	ldr	r2, [sp, #12]                                 
a00048d8:	e59230a0 	ldr	r3, [r2, #160]	; 0xa0                         
a00048dc:	e3530000 	cmp	r3, #0                                        
a00048e0:	0a00004e 	beq	a0004a20 <rtems_termios_open+0x3f8>           
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
a00048e4:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
a00048e8:	e3530002 	cmp	r3, #2                                        
a00048ec:	0a00004b 	beq	a0004a20 <rtems_termios_open+0x3f8>           
		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;                                                 
a00048f0:	e59dc00c 	ldr	ip, [sp, #12]                                 
		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';                                   
a00048f4:	e3a03000 	mov	r3, #0                                        
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00048f8:	e59f01dc 	ldr	r0, [pc, #476]	; a0004adc <rtems_termios_open+0x4b4>
		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;                                                 
a00048fc:	e58c30b8 	str	r3, [ip, #184]	; 0xb8                         
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a0004900:	e59c9064 	ldr	r9, [ip, #100]	; 0x64                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a0004904:	e59cb064 	ldr	fp, [ip, #100]	; 0x64                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0004908:	e5d0e00c 	ldrb	lr, [r0, #12]                                
		/* 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;                          
a000490c:	e1a090a9 	lsr	r9, r9, #1                                    
a0004910:	e58d9008 	str	r9, [sp, #8]                                  
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a0004914:	e08bb08b 	add	fp, fp, fp, lsl #1                            
a0004918:	e59d900c 	ldr	r9, [sp, #12]                                 
a000491c:	e1a0b12b 	lsr	fp, fp, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0004920:	e35e007a 	cmp	lr, #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;                          
a0004924:	e589b0c0 	str	fp, [r9, #192]	; 0xc0                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0004928:	e59f91ac 	ldr	r9, [pc, #428]	; a0004adc <rtems_termios_open+0x4b4>
a000492c:	e28ee001 	add	lr, lr, #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;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a0004930:	e3a02c82 	mov	r2, #33280	; 0x8200                           
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a0004934:	e5c9e00c 	strb	lr, [r9, #12]                                
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0004938:	e59de00c 	ldr	lr, [sp, #12]                                 
		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;
a000493c:	e282203b 	add	r2, r2, #59	; 0x3b                            
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a0004940:	e3a00b06 	mov	r0, #6144	; 0x1800                            
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a0004944:	e58e203c 	str	r2, [lr, #60]	; 0x3c                          
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
a0004948:	e3a02003 	mov	r2, #3                                        
a000494c:	e5ce2041 	strb	r2, [lr, #65]	; 0x41                         
		tty->termios.c_cc[VQUIT] = '\034';                                  
a0004950:	e3a0201c 	mov	r2, #28                                       
a0004954:	e5ce2042 	strb	r2, [lr, #66]	; 0x42                         
		tty->termios.c_cc[VERASE] = '\177';                                 
a0004958:	e3a0207f 	mov	r2, #127	; 0x7f                               
a000495c:	e5ce2043 	strb	r2, [lr, #67]	; 0x43                         
		tty->termios.c_cc[VKILL] = '\025';                                  
a0004960:	e3a02015 	mov	r2, #21                                       
a0004964:	e5ce2044 	strb	r2, [lr, #68]	; 0x44                         
		tty->termios.c_cc[VEOF] = '\004';                                   
a0004968:	e3a02004 	mov	r2, #4                                        
a000496c:	e5ce2045 	strb	r2, [lr, #69]	; 0x45                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
a0004970:	e3a02011 	mov	r2, #17                                       
a0004974:	e5ce2049 	strb	r2, [lr, #73]	; 0x49                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
a0004978:	e3a02013 	mov	r2, #19                                       
a000497c:	e5ce204a 	strb	r2, [lr, #74]	; 0x4a                         
		tty->termios.c_cc[VSUSP] = '\032';                                  
a0004980:	e3a0201a 	mov	r2, #26                                       
a0004984:	e5ce204b 	strb	r2, [lr, #75]	; 0x4b                         
		tty->termios.c_cc[VREPRINT] = '\022';                               
a0004988:	e3a02012 	mov	r2, #18                                       
a000498c:	e5ce204d 	strb	r2, [lr, #77]	; 0x4d                         
		tty->termios.c_cc[VDISCARD] = '\017';                               
a0004990:	e3a0200f 	mov	r2, #15                                       
a0004994:	e5ce204e 	strb	r2, [lr, #78]	; 0x4e                         
		tty->termios.c_cc[VWERASE] = '\027';                                
a0004998:	e3a02017 	mov	r2, #23                                       
a000499c:	e5ce204f 	strb	r2, [lr, #79]	; 0x4f                         
		tty->termios.c_cc[VLNEXT] = '\026';                                 
a00049a0:	e3a02016 	mov	r2, #22                                       
a00049a4:	e5ce2050 	strb	r2, [lr, #80]	; 0x50                         
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a00049a8:	e2800005 	add	r0, r0, #5                                    
a00049ac:	e58e0034 	str	r0, [lr, #52]	; 0x34                          
		/* 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;                          
a00049b0:	e59d0008 	ldr	r0, [sp, #8]                                  
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a00049b4:	e3a0cc25 	mov	ip, #9472	; 0x2500                            
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a00049b8:	e3a01e8b 	mov	r1, #2224	; 0x8b0                             
		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';                                   
a00049bc:	e5ce304c 	strb	r3, [lr, #76]	; 0x4c                         
		tty->termios.c_cc[VEOL2] = '\000';                                  
a00049c0:	e5ce3051 	strb	r3, [lr, #81]	; 0x51                         
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a00049c4:	e28cc002 	add	ip, ip, #2                                    
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a00049c8:	e281100d 	add	r1, r1, #13                                   
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
a00049cc:	0282204b 	addeq	r2, r2, #75	; 0x4b                          
a00049d0:	01a03009 	moveq	r3, r9                                      
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a00049d4:	e58ec030 	str	ip, [lr, #48]	; 0x30                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a00049d8:	e58e1038 	str	r1, [lr, #56]	; 0x38                          
		/* 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;                          
a00049dc:	e58e00bc 	str	r0, [lr, #188]	; 0xbc                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
a00049e0:	05c3200c 	strbeq	r2, [r3, #12]                              
a00049e4:	eaffff2a 	b	a0004694 <rtems_termios_open+0x6c>              
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
a00049e8:	e593007c 	ldr	r0, [r3, #124]	; 0x7c                         <== NOT EXECUTED
a00049ec:	ebfff552 	bl	a0001f3c <free>                                <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
a00049f0:	e59d900c 	ldr	r9, [sp, #12]                                 <== NOT EXECUTED
a00049f4:	e5990058 	ldr	r0, [r9, #88]	; 0x58                          <== NOT EXECUTED
a00049f8:	ebfff54f 	bl	a0001f3c <free>                                <== NOT EXECUTED
		        free(tty);                                                  
a00049fc:	e59d000c 	ldr	r0, [sp, #12]                                 <== NOT EXECUTED
a0004a00:	ebfff54d 	bl	a0001f3c <free>                                <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
a0004a04:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a0004a08:	eb000337 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0004a0c:	e3a0a01a 	mov	sl, #26                                       <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
a0004a10:	eaffff32 	b	a00046e0 <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);                                                  
a0004a14:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0004a18:	ebfff547 	bl	a0001f3c <free>                                <== NOT EXECUTED
a0004a1c:	eafffff8 	b	a0004a04 <rtems_termios_open+0x3dc>             <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
			sc = rtems_semaphore_create (                                      
a0004a20:	e59f30b4 	ldr	r3, [pc, #180]	; a0004adc <rtems_termios_open+0x4b4><== NOT EXECUTED
a0004a24:	e59d900c 	ldr	r9, [sp, #12]                                 <== NOT EXECUTED
a0004a28:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0004a2c:	e5d3000c 	ldrb	r0, [r3, #12]                                <== NOT EXECUTED
a0004a30:	e289c068 	add	ip, r9, #104	; 0x68                           <== NOT EXECUTED
a0004a34:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
a0004a38:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              <== NOT EXECUTED
a0004a3c:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   <== NOT EXECUTED
a0004a40:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       <== NOT EXECUTED
a0004a44:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a0004a48:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0004a4c:	eb000243 	bl	a0005360 <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)                                        
a0004a50:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004a54:	0affffa5 	beq	a00048f0 <rtems_termios_open+0x2c8>           <== NOT EXECUTED
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
a0004a58:	eb00047b 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
			sc = rtems_task_create (                                           
a0004a5c:	e5db000c 	ldrb	r0, [fp, #12]                                <== NOT EXECUTED
a0004a60:	e59d9010 	ldr	r9, [sp, #16]                                 <== NOT EXECUTED
a0004a64:	e28ec0c8 	add	ip, lr, #200	; 0xc8                           <== NOT EXECUTED
a0004a68:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              <== NOT EXECUTED
a0004a6c:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   <== NOT EXECUTED
a0004a70:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
a0004a74:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       <== NOT EXECUTED
a0004a78:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0004a7c:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0004a80:	e88d1200 	stm	sp, {r9, ip}                                  <== NOT EXECUTED
a0004a84:	eb000342 	bl	a0005794 <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)                                        
a0004a88:	e250e000 	subs	lr, r0, #0                                   <== NOT EXECUTED
a0004a8c:	1afffff1 	bne	a0004a58 <rtems_termios_open+0x430>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
a0004a90:	e5db000c 	ldrb	r0, [fp, #12]                                <== NOT EXECUTED
a0004a94:	e59d100c 	ldr	r1, [sp, #12]                                 <== NOT EXECUTED
a0004a98:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0004a9c:	e3800452 	orr	r0, r0, #1375731712	; 0x52000000              <== NOT EXECUTED
a0004aa0:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   <== NOT EXECUTED
a0004aa4:	e281c0c4 	add	ip, r1, #196	; 0xc4                           <== NOT EXECUTED
a0004aa8:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       <== NOT EXECUTED
a0004aac:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
a0004ab0:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0004ab4:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
a0004ab8:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0004abc:	eb000334 	bl	a0005794 <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)                                        
a0004ac0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004ac4:	0affff82 	beq	a00048d4 <rtems_termios_open+0x2ac>           <== NOT EXECUTED
a0004ac8:	eaffffe2 	b	a0004a58 <rtems_termios_open+0x430>             <== NOT EXECUTED
                                                                      

a0003470 <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) {
a0003470:	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)           
{                                                                     
a0003474:	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) {            
a0003478:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a000347c:	e1a04002 	mov	r4, r2                                        
a0003480:	e1a0b000 	mov	fp, r0                                        
a0003484:	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) {            
a0003488:	0a000039 	beq	a0003574 <rtems_termios_puts+0x104>           
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a000348c:	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;                                       
a0003490:	e5928080 	ldr	r8, [r2, #128]	; 0x80                         <== NOT EXECUTED
	while (len) {                                                        
a0003494:	0a00002d 	beq	a0003550 <rtems_termios_puts+0xe0>            <== NOT EXECUTED
a0003498:	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;                                    
a000349c:	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;                      
a00034a0:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a00034a4:	e2880001 	add	r0, r8, #1                                    <== NOT EXECUTED
a00034a8:	eb005150 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
a00034ac:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00034b0:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
a00034b4:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
a00034b8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
a00034bc:	e5946084 	ldr	r6, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00034c0:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
a00034c4:	1a00000d 	bne	a0003500 <rtems_termios_puts+0x90>            <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a00034c8:	e5847094 	str	r7, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00034cc:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a00034d0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00034d4:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a00034d8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a00034dc:	eb00083a 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a00034e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00034e4:	1a000028 	bne	a000358c <rtems_termios_puts+0x11c>           <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00034e8:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
a00034ec:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
a00034f0:	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) {                            
a00034f4:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00034f8:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a00034fc:	0afffff1 	beq	a00034c8 <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++;                
a0003500:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0003504:	e7db100a 	ldrb	r1, [fp, sl]                                 <== NOT EXECUTED
a0003508:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a000350c:	e7c21003 	strb	r1, [r2, r3]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
a0003510:	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;                                      
a0003514:	e5848080 	str	r8, [r4, #128]	; 0x80                         <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
a0003518:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000351c:	1a000007 	bne	a0003540 <rtems_termios_puts+0xd0>            <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
a0003520:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003524:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0003528:	0a000009 	beq	a0003554 <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;                                     
a000352c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003530:	e3833020 	orr	r3, r3, #32                                   <== NOT EXECUTED
a0003534:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
a0003538:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000353c:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003540:	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) {                                                        
a0003544:	e2599001 	subs	r9, r9, #1                                   <== NOT EXECUTED
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
a0003548:	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) {                                                        
a000354c:	1affffd3 	bne	a00034a0 <rtems_termios_puts+0x30>            <== NOT EXECUTED
a0003550:	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);            
a0003554:	e5942084 	ldr	r2, [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,                                
a0003558:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a000355c:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0003560:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003564:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0003568:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000356c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003570:	eafffff0 	b	a0003538 <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);                 
a0003574:	e5920010 	ldr	r0, [r2, #16]                                 
a0003578:	e1a0100b 	mov	r1, fp                                        
a000357c:	e1a02009 	mov	r2, r9                                        
a0003580:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         
a0003584:	e12fff33 	blx	r3                                            
		return;                                                             
a0003588:	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);                                  
a000358c:	eb0009ae 	bl	a0005c4c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      

a0003d04 <rtems_termios_read>: rtems_status_code rtems_termios_read (void *arg) { rtems_libio_rw_args_t *args = arg; struct rtems_termios_tty *tty = args->iop->data1;
a0003d04:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0003d08:	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;                    
a0003d0c:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
a0003d10:	e590300c 	ldr	r3, [r0, #12]                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d14:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0003d18:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
a0003d1c:	e5907010 	ldr	r7, [r0, #16]                                 <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a0003d20:	e1a08000 	mov	r8, r0                                        <== 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);
a0003d24:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003d28:	e5940014 	ldr	r0, [r4, #20]                                 <== 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;                                    
a0003d2c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d30:	eb000625 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003d34:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
a0003d38:	1a00000d 	bne	a0003d74 <rtems_termios_read+0x70>            <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
a0003d3c:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0003d40:	e59f3358 	ldr	r3, [pc, #856]	; a00040a0 <rtems_termios_read+0x39c><== NOT EXECUTED
a0003d44:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0003d48:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003d4c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d50:	0a00000a 	beq	a0003d80 <rtems_termios_read+0x7c>            <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
a0003d54:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a0003d58:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003d5c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a0003d60:	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);            
a0003d64:	e1a0b000 	mov	fp, r0                                        <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a0003d68:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
a0003d6c:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a0003d70:	eb00065d 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	args->bytes_moved = args->count - count;                             
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
	return sc;                                                           
}                                                                     
a0003d74:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a0003d78:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0003d7c:	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) {                                    
a0003d80:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003d84:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003d88:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003d8c:	0a00001a 	beq	a0003dfc <rtems_termios_read+0xf8>            <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a0003d90:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0003d94:	0a000010 	beq	a0003ddc <rtems_termios_read+0xd8>            <== NOT EXECUTED
a0003d98:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003d9c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003da0:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0003da4:	aa00000c 	bge	a0003ddc <rtems_termios_read+0xd8>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a0003da8:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a0003dac:	e0631002 	rsb	r1, r3, r2                                    <== NOT EXECUTED
a0003db0:	ea000002 	b	a0003dc0 <rtems_termios_read+0xbc>              <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a0003db4:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003db8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003dbc:	da000006 	ble	a0003ddc <rtems_termios_read+0xd8>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a0003dc0:	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)) {                       
a0003dc4:	e2577001 	subs	r7, r7, #1                                   <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a0003dc8:	e7d22003 	ldrb	r2, [r2, r3]                                 <== NOT EXECUTED
a0003dcc:	e7c12003 	strb	r2, [r1, r3]                                 <== NOT EXECUTED
a0003dd0:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0003dd4:	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)) {                       
a0003dd8:	1afffff5 	bne	a0003db4 <rtems_termios_read+0xb0>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
a0003ddc:	e5983010 	ldr	r3, [r8, #16]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
a0003de0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0003de4:	e58420e4 	str	r2, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
a0003de8:	e0677003 	rsb	r7, r7, r3                                    <== NOT EXECUTED
a0003dec:	e5887018 	str	r7, [r8, #24]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
a0003df0:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a0003df4:	eb00063c 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
	return sc;                                                           
a0003df8:	eaffffdd 	b	a0003d74 <rtems_termios_read+0x70>              <== 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)          
a0003dfc:	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;                               
a0003e00:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
a0003e04:	e584b020 	str	fp, [r4, #32]                                 <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a0003e08:	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;                               
a0003e0c:	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;                                      
a0003e10:	e584b024 	str	fp, [r4, #36]	; 0x24                          <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a0003e14:	0a000002 	beq	a0003e24 <rtems_termios_read+0x120>           <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
a0003e18:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a0003e1c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003e20:	0a000063 	beq	a0003fb4 <rtems_termios_read+0x2b0>           <== 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;         
a0003e24:	e5945074 	ldr	r5, [r4, #116]	; 0x74                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003e28:	e59f6274 	ldr	r6, [pc, #628]	; a00040a4 <rtems_termios_read+0x3a0><== 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))                  
a0003e2c:	e3a09c02 	mov	r9, #512	; 0x200                              <== 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,                               
a0003e30:	e2842049 	add	r2, r4, #73	; 0x49                            <== 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))                  
a0003e34:	e2899002 	add	r9, r9, #2                                    <== 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,                               
a0003e38:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
a0003e3c:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003e40:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003e44:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003e48:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003e4c:	0a00003a 	beq	a0003f3c <rtems_termios_read+0x238>           <== NOT EXECUTED
a0003e50:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0003e54:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003e58:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a0003e5c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003e60:	da000035 	ble	a0003f3c <rtems_termios_read+0x238>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
a0003e64:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003e68:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003e6c:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0003e70:	eb004ede 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
a0003e74:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0003e78:	e7d35000 	ldrb	r5, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
a0003e7c:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
a0003e80:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003e84:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003e88:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003e8c:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a0003e90:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
a0003e94:	eb004ed5 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
a0003e98:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
a0003e9c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003ea0:	2a000013 	bcs	a0003ef4 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
a0003ea4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003ea8:	e3a03c02 	mov	r3, #512	; 0x200                              <== NOT EXECUTED
a0003eac:	e2833002 	add	r3, r3, #2                                    <== 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;                                   
a0003eb0:	e3c22001 	bic	r2, r2, #1                                    <== NOT EXECUTED
a0003eb4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003eb8:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003ebc:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0003ec0:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
a0003ec4:	0a00002e 	beq	a0003f84 <rtems_termios_read+0x280>           <== 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) {                            
a0003ec8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003ecc:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0003ed0:	0a000007 	beq	a0003ef4 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
a0003ed4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003ed8:	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;                                 
a0003edc:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003ee0:	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;                                 
a0003ee4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a0003ee8:	0a000001 	beq	a0003ef4 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			      tty->device.startRemoteTx(tty->minor);                       
a0003eec:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003ef0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
a0003ef4:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003ef8:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0003efc:	0a000017 	beq	a0003f60 <rtems_termios_read+0x25c>           <== NOT EXECUTED
				if  (siproc (c, tty))                                             
a0003f00:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003f04:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003f08:	ebffff13 	bl	a0003b5c <siproc>                              <== NOT EXECUTED
a0003f0c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003f10:	1a000019 	bne	a0003f7c <rtems_termios_read+0x278>           <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003f14:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003f18:	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;                           
a0003f1c:	e5945070 	ldr	r5, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003f20:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003f24:	0a000004 	beq	a0003f3c <rtems_termios_read+0x238>           <== NOT EXECUTED
a0003f28:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0003f2c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003f30:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0003f34:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003f38:	baffffc9 	blt	a0003e64 <rtems_termios_read+0x160>           <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
a0003f3c:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a0003f40:	0affff92 	beq	a0003d90 <rtems_termios_read+0x8c>            <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
a0003f44:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0003f48:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         <== NOT EXECUTED
a0003f4c:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0003f50:	eb00059d 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003f54:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003f58:	0affffb8 	beq	a0003e40 <rtems_termios_read+0x13c>           <== NOT EXECUTED
a0003f5c:	eaffff8b 	b	a0003d90 <rtems_termios_read+0x8c>              <== NOT EXECUTED
			if (tty->termios.c_lflag & ICANON) {                               
				if  (siproc (c, tty))                                             
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
a0003f60:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003f64:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003f68:	ebfffefb 	bl	a0003b5c <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a0003f6c:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0003f70:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003f74:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003f78:	baffffe5 	blt	a0003f14 <rtems_termios_read+0x210>           <== NOT EXECUTED
a0003f7c:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
a0003f80:	eaffffe3 	b	a0003f14 <rtems_termios_read+0x210>             <== 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))                  
a0003f84:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a0003f88:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003f8c:	0a000002 	beq	a0003f9c <rtems_termios_read+0x298>           <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
a0003f90:	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))                  
a0003f94:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003f98:	0affffca 	beq	a0003ec8 <rtems_termios_read+0x1c4>           <== 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,                               
a0003f9c:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0003fa0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003fa4:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a0003fa8:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003fac:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003fb0:	eaffffcf 	b	a0003ef4 <rtems_termios_read+0x1f0>             <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a0003fb4:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003fb8:	e3120002 	tst	r2, #2                                        <== NOT EXECUTED
a0003fbc:	0a00000a 	beq	a0003fec <rtems_termios_read+0x2e8>           <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a0003fc0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003fc4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (n < 0) {                                                       
a0003fc8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a0003fcc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003fd0:	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) {                                                       
a0003fd4:	ba00002d 	blt	a0004090 <rtems_termios_read+0x38c>           <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a0003fd8:	ebfffedf 	bl	a0003b5c <siproc>                              <== NOT EXECUTED
a0003fdc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003fe0:	1affff6a 	bne	a0003d90 <rtems_termios_read+0x8c>            <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a0003fe4:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0003fe8:	eafffff4 	b	a0003fc0 <rtems_termios_read+0x2bc>             <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
a0003fec:	eb0003d3 	bl	a0004f40 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
a0003ff0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a0003ff4:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0003ff8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003ffc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (n < 0) {                                                       
a0004000:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004004:	ba00000c 	blt	a000403c <rtems_termios_read+0x338>           <== NOT EXECUTED
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
a0004008:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a000400c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0004010:	ebfffed1 	bl	a0003b5c <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a0004014:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0004018:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a000401c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0004020:	aaffff5a 	bge	a0003d90 <rtems_termios_read+0x8c>            <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
a0004024:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004028:	0afffff1 	beq	a0003ff4 <rtems_termios_read+0x2f0>           <== NOT EXECUTED
a000402c:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0004030:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004034:	0affffee 	beq	a0003ff4 <rtems_termios_read+0x2f0>           <== NOT EXECUTED
a0004038:	eaffffeb 	b	a0003fec <rtems_termios_read+0x2e8>             <== 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]) {                                    
a000403c:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0004040:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004044:	0a000008 	beq	a000406c <rtems_termios_read+0x368>           <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
a0004048:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a000404c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004050:	0a000002 	beq	a0004060 <rtems_termios_read+0x35c>           <== NOT EXECUTED
a0004054:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0004058:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000405c:	1a000005 	bne	a0004078 <rtems_termios_read+0x374>           <== NOT EXECUTED
					now = rtems_clock_get_ticks_since_boot();                        
					if ((now - then) > tty->vtimeTicks) {                            
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
a0004060:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0004064:	eb00068b 	bl	a0005a98 <rtems_task_wake_after>               <== NOT EXECUTED
a0004068:	eaffffe1 	b	a0003ff4 <rtems_termios_read+0x2f0>             <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
a000406c:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0004070:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004074:	0affff45 	beq	a0003d90 <rtems_termios_read+0x8c>            <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
a0004078:	eb0003b0 	bl	a0004f40 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
a000407c:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
a0004080:	e0650000 	rsb	r0, r5, r0                                    <== NOT EXECUTED
a0004084:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0004088:	9afffff4 	bls	a0004060 <rtems_termios_read+0x35c>           <== NOT EXECUTED
a000408c:	eaffff3f 	b	a0003d90 <rtems_termios_read+0x8c>              <== NOT EXECUTED
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
a0004090:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0004094:	eb00067f 	bl	a0005a98 <rtems_task_wake_after>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a0004098:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a000409c:	eaffffc7 	b	a0003fc0 <rtems_termios_read+0x2bc>             <== NOT EXECUTED
                                                                      

a0002f0c <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))
a0002f0c:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0002f10:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0002f14:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a0002f18:	e3c33fff 	bic	r3, r3, #1020	; 0x3fc                         <== NOT EXECUTED
a0002f1c:	e1a03a83 	lsl	r3, r3, #21                                   <== 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)      
{                                                                     
a0002f20:	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))          
a0002f24:	e1a03aa3 	lsr	r3, r3, #21                                   <== NOT EXECUTED
a0002f28:	e1530002 	cmp	r3, r2                                        <== 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)      
{                                                                     
a0002f2c:	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))          
a0002f30:	0a000045 	beq	a000304c <rtems_termios_refill_transmitter+0x140><== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
a0002f34:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0002f38:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
a0002f3c:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0002f40:	0a000053 	beq	a0003094 <rtems_termios_refill_transmitter+0x188><== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
a0002f44:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a0002f48:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0002f4c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0002f50:	0a00002a 	beq	a0003000 <rtems_termios_refill_transmitter+0xf4><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002f54:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002f58:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002f5c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
a0002f60:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
a0002f64:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
a0002f68:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002f6c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
a0002f70:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002f74:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a0002f78:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
a0002f7c:	eb00529b 	bl	a00179f0 <__umodsi3>                           <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
a0002f80:	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;       
a0002f84:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
a0002f88:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
a0002f8c:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0002f90:	0a00002a 	beq	a0003040 <rtems_termios_refill_transmitter+0x134><== NOT EXECUTED
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
a0002f94:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002f98:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0002f9c:	0a00001d 	beq	a0003018 <rtems_termios_refill_transmitter+0x10c><== 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))                
a0002fa0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002fa4:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0002fa8:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
a0002fac:	0a00004a 	beq	a00030dc <rtems_termios_refill_transmitter+0x1d0><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a0002fb0:	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,                                 
a0002fb4:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002fb8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a0002fbc:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
a0002fc0:	85946088 	ldrhi	r6, [r4, #136]	; 0x88                       <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a0002fc4:	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)) {                    
a0002fc8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
a0002fcc:	80656006 	rsbhi	r6, r5, r6                                  <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a0002fd0:	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)) {                    
a0002fd4:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
a0002fd8:	13a06001 	movne	r6, #1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
a0002fdc:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0002fe0:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
a0002fe4:	e0811005 	add	r1, r1, r5                                    <== NOT EXECUTED
a0002fe8:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002fec:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0002ff0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
a0002ff4:	e5845084 	str	r5, [r4, #132]	; 0x84                         <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
a0002ff8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002ffc:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
a0003000:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
a0003004:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0003008:	0a00003e 	beq	a0003108 <rtems_termios_refill_transmitter+0x1fc><== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
a000300c:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a0003010:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0003014:	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) {                              
a0003018:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
a000301c:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0003020:	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) {                              
a0003024:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a0003028:	01a06003 	moveq	r6, r3                                      <== NOT EXECUTED
a000302c:	0afffff0 	beq	a0002ff4 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
a0003030:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0003034:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
a0003038:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000303c:	eaffffec 	b	a0002ff4 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
a0003040:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0003044:	eb0009a8 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0003048:	eaffffd1 	b	a0002f94 <rtems_termios_refill_transmitter+0x88><== NOT EXECUTED
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
a000304c:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0003050:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
a0003054:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003058:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a000305c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003060:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0003064:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0003068:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a000306c:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a0003070:	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--;                                                    
a0003074:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a0003078:	e3811002 	orr	r1, r1, #2                                    <== NOT EXECUTED
a000307c:	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--;                                                    
a0003080:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003084:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0003088:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a000308c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0003090:	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,                                   
a0003094:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0003098:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
a000309c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a00030a0:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a00030a4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00030a8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00030ac:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00030b0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a00030b4:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a00030b8:	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--;                                                    
a00030bc:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a00030c0:	e3c11002 	bic	r1, r1, #2                                    <== NOT EXECUTED
a00030c4:	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--;                                                    
a00030c8:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00030cc:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00030d0:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a00030d4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00030d8:	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 (                                                      
a00030dc:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00030e0:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00030e4:	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;                                       
a00030e8:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
a00030ec:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00030f0:	e5841094 	str	r1, [r4, #148]	; 0x94                         <== 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;                                       
a00030f4:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
a00030f8:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00030fc:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0003100:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0003104:	eaffffba 	b	a0002ff4 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
a0003108:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
a000310c:	eb000976 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
a0003110:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0003114:	eaffffbd 	b	a0003010 <rtems_termios_refill_transmitter+0x104><== NOT EXECUTED
                                                                      

a0004b54 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
a0004b54:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
a0004b58:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0004b5c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0004b60:	e28d7007 	add	r7, sp, #7                                    <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a0004b64:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a0004b68:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0004b6c:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0004b70:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004b74:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0004b78:	eb000110 	bl	a0004fc0 <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) {                
a0004b7c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0004b80:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004b84:	1a000012 	bne	a0004bd4 <rtems_termios_rxdaemon+0x80>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a0004b88:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0004b8c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004b90:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004b94:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a0004b98:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004b9c:	0afffff1 	beq	a0004b68 <rtems_termios_rxdaemon+0x14>        <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
a0004ba0:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0004ba4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0004ba8:	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;                                                        
a0004bac:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
a0004bb0:	ebfff972 	bl	a0003180 <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a0004bb4:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0004bb8:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0004bbc:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004bc0:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0004bc4:	eb0000fd 	bl	a0004fc0 <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) {                
a0004bc8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0004bcc:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004bd0:	0affffec 	beq	a0004b88 <rtems_termios_rxdaemon+0x34>        <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
a0004bd4:	e58460c4 	str	r6, [r4, #196]	; 0xc4                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a0004bd8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0004bdc:	eb00033a 	bl	a00058cc <rtems_task_delete>                   <== NOT EXECUTED
a0004be0:	eaffffe0 	b	a0004b68 <rtems_termios_rxdaemon+0x14>          <== NOT EXECUTED
                                                                      

a0002f00 <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);
a0002f00:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
a0002f04:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0002f08:	ea000889 	b	a0005134 <rtems_event_send>                     <== NOT EXECUTED
                                                                      

a0004ae4 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
a0004ae4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
a0004ae8:	e59f6060 	ldr	r6, [pc, #96]	; a0004b50 <rtems_termios_txdaemon+0x6c><== NOT EXECUTED
a0004aec:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0004af0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
a0004af4:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
a0004af8:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0004afc:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0004b00:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004b04:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0004b08:	eb00012c 	bl	a0004fc0 <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) {                
a0004b0c:	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);                   
a0004b10:	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) {                
a0004b14:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004b18:	1a000008 	bne	a0004b40 <rtems_termios_txdaemon+0x5c>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
a0004b1c:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0004b20:	e0863283 	add	r3, r6, r3, lsl #5                            <== NOT EXECUTED
a0004b24:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
a0004b28:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004b2c:	0a000000 	beq	a0004b34 <rtems_termios_txdaemon+0x50>        <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
a0004b30:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
a0004b34:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0004b38:	ebfff8f3 	bl	a0002f0c <rtems_termios_refill_transmitter>    <== NOT EXECUTED
a0004b3c:	eaffffed 	b	a0004af8 <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;                                                 
a0004b40:	e58470c8 	str	r7, [r4, #200]	; 0xc8                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a0004b44:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a0004b48:	eb00035f 	bl	a00058cc <rtems_task_delete>                   <== NOT EXECUTED
a0004b4c:	eaffffe9 	b	a0004af8 <rtems_termios_txdaemon+0x14>          <== NOT EXECUTED
                                                                      

a0003bbc <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;
a0003bbc:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a0003bc0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0003bc4:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003bc8:	e3a01000 	mov	r1, #0                                        
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a0003bcc:	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);
a0003bd0:	e1a02001 	mov	r2, r1                                        
a0003bd4:	e5940018 	ldr	r0, [r4, #24]                                 
a0003bd8:	eb00067b 	bl	a00055cc <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003bdc:	e2506000 	subs	r6, r0, #0                                   
a0003be0:	1a00000b 	bne	a0003c14 <rtems_termios_write+0x58>           
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
a0003be4:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a0003be8:	e59f3094 	ldr	r3, [pc, #148]	; a0003c84 <rtems_termios_write+0xc8>
a0003bec:	e0833282 	add	r3, r3, r2, lsl #5                            
a0003bf0:	e593300c 	ldr	r3, [r3, #12]                                 
a0003bf4:	e3530000 	cmp	r3, #0                                        
a0003bf8:	0a000007 	beq	a0003c1c <rtems_termios_write+0x60>           
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
a0003bfc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003c00:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003c04:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003c08:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
a0003c0c:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0003c10:	eb0006b5 	bl	a00056ec <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;                                                           
}                                                                     
a0003c14:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0003c18:	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) {                                  
a0003c1c:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
a0003c20:	e3130001 	tst	r3, #1                                        
a0003c24:	0a000011 	beq	a0003c70 <rtems_termios_write+0xb4>           
		uint32_t   count = args->count;                                     
a0003c28:	e5958010 	ldr	r8, [r5, #16]                                 
		char      *buffer = args->buffer;                                   
a0003c2c:	e595a00c 	ldr	sl, [r5, #12]                                 
		while (count--)                                                     
a0003c30:	e3580000 	cmp	r8, #0                                        
a0003c34:	01a03006 	moveq	r3, r6                                      
a0003c38:	0a000007 	beq	a0003c5c <rtems_termios_write+0xa0>           
a0003c3c:	e1a07006 	mov	r7, r6                                        
			oproc (*buffer++, tty);                                            
a0003c40:	e7da0007 	ldrb	r0, [sl, r7]                                 
a0003c44:	e1a01004 	mov	r1, r4                                        
a0003c48:	e2877001 	add	r7, r7, #1                                    
a0003c4c:	ebfffe4f 	bl	a0003590 <oproc>                               
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
a0003c50:	e1580007 	cmp	r8, r7                                        
a0003c54:	1afffff9 	bne	a0003c40 <rtems_termios_write+0x84>           
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
a0003c58:	e5953010 	ldr	r3, [r5, #16]                                 
a0003c5c:	e5853018 	str	r3, [r5, #24]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
a0003c60:	e5940018 	ldr	r0, [r4, #24]                                 
a0003c64:	eb0006a0 	bl	a00056ec <rtems_semaphore_release>             
	return sc;                                                           
}                                                                     
a0003c68:	e1a00006 	mov	r0, r6                                        
a0003c6c:	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);                
a0003c70:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0003c74:	e5951010 	ldr	r1, [r5, #16]                                 <== NOT EXECUTED
a0003c78:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003c7c:	ebfffdfb 	bl	a0003470 <rtems_termios_puts>                  <== NOT EXECUTED
a0003c80:	eafffff4 	b	a0003c58 <rtems_termios_write+0x9c>             <== NOT EXECUTED
                                                                      

a00069d4 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
a00069d4:	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)                               
a00069d8:	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                                              
)                                                                     
{                                                                     
a00069dc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a00069e0:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
a00069e4:	e1a07002 	mov	r7, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
a00069e8:	0a00000c 	beq	a0006a20 <rtems_verror+0x4c>                  <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
a00069ec:	e59f2180 	ldr	r2, [pc, #384]	; a0006b74 <rtems_verror+0x1a0><== NOT EXECUTED
a00069f0:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
a00069f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00069f8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a00069fc:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
a0006a00:	0a000004 	beq	a0006a18 <rtems_verror+0x44>                  <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006a04:	e59f316c 	ldr	r3, [pc, #364]	; a0006b78 <rtems_verror+0x1a4><== NOT EXECUTED
a0006a08:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
a0006a0c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0006a10:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
a0006a14:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
a0006a18:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0006a1c:	ca00002f 	bgt	a0006ae0 <rtems_verror+0x10c>                 <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
a0006a20:	e59f5154 	ldr	r5, [pc, #340]	; a0006b7c <rtems_verror+0x1a8><== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
a0006a24:	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 */     
a0006a28:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a2c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0006a30:	eb003485 	bl	a0013c4c <fflush>                              <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
a0006a34:	e2146101 	ands	r6, r4, #1073741824	; 0x40000000             <== NOT EXECUTED
a0006a38:	1a00002e 	bne	a0006af8 <rtems_verror+0x124>                 <== 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);        
a0006a3c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a40:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0006a44:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a0006a48:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006a4c:	eb004ca5 	bl	a0019ce8 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006a50:	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);        
a0006a54:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006a58:	1a000030 	bne	a0006b20 <rtems_verror+0x14c>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
a0006a5c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0006a60:	0a00000b 	beq	a0006a94 <rtems_verror+0xc0>                  <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
a0006a64:	da000004 	ble	a0006a7c <rtems_verror+0xa8>                  <== NOT EXECUTED
a0006a68:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006a6c:	eb003847 	bl	a0014b90 <strerror>                            <== NOT EXECUTED
a0006a70:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
a0006a74:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006a78:	1a000033 	bne	a0006b4c <rtems_verror+0x178>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
a0006a7c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a80:	e59f10f8 	ldr	r1, [pc, #248]	; a0006b80 <rtems_verror+0x1ac><== NOT EXECUTED
a0006a84:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0006a88:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006a8c:	eb00352c 	bl	a0013f44 <fprintf>                             <== NOT EXECUTED
a0006a90:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a0006a94:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a98:	e59f10e4 	ldr	r1, [pc, #228]	; a0006b84 <rtems_verror+0x1b0><== NOT EXECUTED
a0006a9c:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006aa0:	eb003527 	bl	a0013f44 <fprintf>                             <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a0006aa4:	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");                           
a0006aa8:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a0006aac:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006ab0:	eb003465 	bl	a0013c4c <fflush>                              <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
a0006ab4:	e3140203 	tst	r4, #805306368	; 0x30000000                   <== NOT EXECUTED
a0006ab8:	0a000006 	beq	a0006ad8 <rtems_verror+0x104>                 <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
a0006abc:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a0006ac0:	0a000008 	beq	a0006ae8 <rtems_verror+0x114>                 <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
a0006ac4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006ac8:	e59f10b8 	ldr	r1, [pc, #184]	; a0006b88 <rtems_verror+0x1b4><== NOT EXECUTED
a0006acc:	eb00003e 	bl	a0006bcc <rtems_error>                         <== NOT EXECUTED
            _exit(local_errno);                                       
a0006ad0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006ad4:	eb000338 	bl	a00077bc <_exit>                               <== 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");                           
a0006ad8:	e08a0007 	add	r0, sl, r7                                    <== NOT EXECUTED
a0006adc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
            _exit(local_errno);                                       
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
            abort();                                                  
a0006ae0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
a0006ae4:	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");                  
a0006ae8:	e59f109c 	ldr	r1, [pc, #156]	; a0006b8c <rtems_verror+0x1b8><== NOT EXECUTED
a0006aec:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006af0:	eb000035 	bl	a0006bcc <rtems_error>                         <== NOT EXECUTED
            abort();                                                  
a0006af4:	eb003358 	bl	a001385c <abort>                               <== NOT EXECUTED
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
        local_errno = errno;                                          
a0006af8:	eb003360 	bl	a0013880 <__errno>                             <== 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);        
a0006afc:	e5953000 	ldr	r3, [r5]                                      <== 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;                                          
a0006b00:	e5906000 	ldr	r6, [r0]                                      <== 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);        
a0006b04:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0006b08:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a0006b0c:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006b10:	eb004c74 	bl	a0019ce8 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006b14:	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);        
a0006b18:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006b1c:	0affffce 	beq	a0006a5c <rtems_verror+0x88>                  <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
a0006b20:	e59f3054 	ldr	r3, [pc, #84]	; a0006b7c <rtems_verror+0x1a8> <== NOT EXECUTED
a0006b24:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b28:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0006b2c:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
a0006b30:	ebffffa3 	bl	a00069c4 <rtems_status_text>                   <== NOT EXECUTED
a0006b34:	e59f1054 	ldr	r1, [pc, #84]	; a0006b90 <rtems_verror+0x1bc> <== NOT EXECUTED
a0006b38:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0006b3c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b40:	eb0034ff 	bl	a0013f44 <fprintf>                             <== NOT EXECUTED
a0006b44:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
a0006b48:	eaffffc3 	b	a0006a5c <rtems_verror+0x88>                    <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
a0006b4c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006b50:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006b54:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
a0006b58:	eb00380c 	bl	a0014b90 <strerror>                            <== NOT EXECUTED
a0006b5c:	e59f1030 	ldr	r1, [pc, #48]	; a0006b94 <rtems_verror+0x1c0> <== NOT EXECUTED
a0006b60:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0006b64:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b68:	eb0034f5 	bl	a0013f44 <fprintf>                             <== NOT EXECUTED
a0006b6c:	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))                
a0006b70:	eaffffc7 	b	a0006a94 <rtems_verror+0xc0>                    <== NOT EXECUTED
                                                                      

a00021a4 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
a00021a4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00021a8:	e59fb0f0 	ldr	fp, [pc, #240]	; a00022a0 <scanInt+0xfc>      
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a00021ac:	e59fa0f0 	ldr	sl, [pc, #240]	; a00022a4 <scanInt+0x100>     
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a00021b0:	e59f90f0 	ldr	r9, [pc, #240]	; a00022a8 <scanInt+0x104>     
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a00021b4:	e24dd004 	sub	sp, sp, #4                                    
a00021b8:	e3a06000 	mov	r6, #0                                        
a00021bc:	e1a04000 	mov	r4, r0                                        
a00021c0:	e58d1000 	str	r1, [sp]                                      
a00021c4:	e3e07102 	mvn	r7, #-2147483648	; 0x80000000                 
a00021c8:	e1a05006 	mov	r5, r6                                        
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a00021cc:	e3a0800a 	mov	r8, #10                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00021d0:	e5943004 	ldr	r3, [r4, #4]                                  
a00021d4:	e2433001 	sub	r3, r3, #1                                    
a00021d8:	e3530000 	cmp	r3, #0                                        
a00021dc:	e5843004 	str	r3, [r4, #4]                                  
a00021e0:	ba00001b 	blt	a0002254 <scanInt+0xb0>                       
a00021e4:	e5943000 	ldr	r3, [r4]                                      
a00021e8:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':')                                                     
a00021ec:	e350003a 	cmp	r0, #58	; 0x3a                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00021f0:	e5843000 	str	r3, [r4]                                      
    if (c == ':')                                                     
a00021f4:	0a00001b 	beq	a0002268 <scanInt+0xc4>                       
      break;                                                          
    if (sign == 0) {                                                  
a00021f8:	e3560000 	cmp	r6, #0                                        
a00021fc:	1a000004 	bne	a0002214 <scanInt+0x70>                       
      if (c == '-') {                                                 
a0002200:	e350002d 	cmp	r0, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
a0002204:	02877001 	addeq	r7, r7, #1                                  
a0002208:	03e06000 	mvneq	r6, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
a000220c:	0affffef 	beq	a00021d0 <scanInt+0x2c>                       
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
a0002210:	e3a06001 	mov	r6, #1                                        
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a0002214:	e59a3000 	ldr	r3, [sl]                                      
a0002218:	e0833000 	add	r3, r3, r0                                    
a000221c:	e5d33001 	ldrb	r3, [r3, #1]                                 
a0002220:	e3130004 	tst	r3, #4                                        
a0002224:	0a00001a 	beq	a0002294 <scanInt+0xf0>                       
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0002228:	e0832799 	umull	r2, r3, r9, r7                              
a000222c:	e15501a3 	cmp	r5, r3, lsr #3                                
a0002230:	8a000017 	bhi	a0002294 <scanInt+0xf0>                       
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
a0002234:	e2400030 	sub	r0, r0, #48	; 0x30                            
    if ((i > (limit / 10))                                            
a0002238:	0a000011 	beq	a0002284 <scanInt+0xe0>                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a000223c:	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;                                                   
a0002240:	e0250598 	mla	r5, r8, r5, r0                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002244:	e2433001 	sub	r3, r3, #1                                    
a0002248:	e3530000 	cmp	r3, #0                                        
a000224c:	e5843004 	str	r3, [r4, #4]                                  
a0002250:	aaffffe3 	bge	a00021e4 <scanInt+0x40>                       
a0002254:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
a0002258:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000225c:	eb003801 	bl	a0010268 <__srget_r>                           <== NOT EXECUTED
    if (c == ':')                                                     
a0002260:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
a0002264:	1affffe3 	bne	a00021f8 <scanInt+0x54>                       <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a0002268:	e3560000 	cmp	r6, #0                                        
a000226c:	0a000008 	beq	a0002294 <scanInt+0xf0>                       
    return 0;                                                         
  *val = i * sign;                                                    
a0002270:	e0030695 	mul	r3, r5, r6                                    
a0002274:	e59d2000 	ldr	r2, [sp]                                      
a0002278:	e3a00001 	mov	r0, #1                                        
a000227c:	e5823000 	str	r3, [r2]                                      
  return 1;                                                           
a0002280:	ea000004 	b	a0002298 <scanInt+0xf4>                         
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0002284:	e0030598 	mul	r3, r8, r5                                    <== NOT EXECUTED
a0002288:	e0633007 	rsb	r3, r3, r7                                    <== NOT EXECUTED
a000228c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0002290:	9affffe9 	bls	a000223c <scanInt+0x98>                       <== NOT EXECUTED
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
a0002294:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0002298:	e28dd004 	add	sp, sp, #4                                    
a000229c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      

a00022ac <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
a00022ac:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a00022b0:	e1a05002 	mov	r5, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a00022b4:	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)
{                                                                     
a00022b8:	e59d7018 	ldr	r7, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00022bc:	e59f60c8 	ldr	r6, [pc, #200]	; a000238c <scanString+0xe0>   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a00022c0:	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)
{                                                                     
a00022c4:	e1a04000 	mov	r4, r0                                        
a00022c8:	e1a08003 	mov	r8, r3                                        
a00022cc:	ea000013 	b	a0002320 <scanString+0x74>                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00022d0:	e5943000 	ldr	r3, [r4]                                      
a00022d4:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':') {                                                   
a00022d8:	e350003a 	cmp	r0, #58	; 0x3a                                
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00022dc:	e5843000 	str	r3, [r4]                                      
    if (c == ':') {                                                   
a00022e0:	0a000018 	beq	a0002348 <scanString+0x9c>                    
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
a00022e4:	e350000a 	cmp	r0, #10                                       
a00022e8:	0a000023 	beq	a000237c <scanString+0xd0>                    
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
a00022ec:	e3700001 	cmn	r0, #1                                        
a00022f0:	0a000023 	beq	a0002384 <scanString+0xd8>                    
      return 0;                                                       
    if (*nleft < 2)                                                   
a00022f4:	e5983000 	ldr	r3, [r8]                                      
a00022f8:	e3530001 	cmp	r3, #1                                        
a00022fc:	9a000020 	bls	a0002384 <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
a0002300:	e5953000 	ldr	r3, [r5]                                      
a0002304:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
a0002308:	e5952000 	ldr	r2, [r5]                                      
    --(*nleft);                                                       
a000230c:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0002310:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
a0002314:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0002318:	e5852000 	str	r2, [r5]                                      
    --(*nleft);                                                       
a000231c:	e5883000 	str	r3, [r8]                                      
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002320:	e5943004 	ldr	r3, [r4, #4]                                  
a0002324:	e2433001 	sub	r3, r3, #1                                    
a0002328:	e3530000 	cmp	r3, #0                                        
a000232c:	e5843004 	str	r3, [r4, #4]                                  
a0002330:	aaffffe6 	bge	a00022d0 <scanString+0x24>                    
a0002334:	e5960000 	ldr	r0, [r6]                                      
a0002338:	e1a01004 	mov	r1, r4                                        
a000233c:	eb0037c9 	bl	a0010268 <__srget_r>                           
    if (c == ':') {                                                   
a0002340:	e350003a 	cmp	r0, #58	; 0x3a                                
a0002344:	1affffe6 	bne	a00022e4 <scanString+0x38>                    
        if (nlFlag)                                                   
a0002348:	e3570000 	cmp	r7, #0                                        
a000234c:	1a00000c 	bne	a0002384 <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a0002350:	e5953000 	ldr	r3, [r5]                                      
a0002354:	e3a02000 	mov	r2, #0                                        
  ++(*bufp);                                                          
  --(*nleft);                                                         
a0002358:	e3a00001 	mov	r0, #1                                        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a000235c:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
a0002360:	e5952000 	ldr	r2, [r5]                                      
  --(*nleft);                                                         
a0002364:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a0002368:	e0822000 	add	r2, r2, r0                                    
  --(*nleft);                                                         
a000236c:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a0002370:	e5852000 	str	r2, [r5]                                      
  --(*nleft);                                                         
a0002374:	e5883000 	str	r3, [r8]                                      
  return 1;                                                           
a0002378:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
a000237c:	e3570000 	cmp	r7, #0                                        
a0002380:	1afffff2 	bne	a0002350 <scanString+0xa4>                    
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
a0002384:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0002388:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

a0002390 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
a0002390:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002394:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002398:	e28d5008 	add	r5, sp, #8                                    
a000239c:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00023a0:	e58d2008 	str	r2, [sp, #8]                                  
a00023a4:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a00023a8:	e3a06000 	mov	r6, #0                                        
a00023ac:	e1a02005 	mov	r2, r5                                        
a00023b0:	e1a03004 	mov	r3, r4                                        
a00023b4:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00023b8:	e1a07000 	mov	r7, r0                                        
a00023bc:	e1a08001 	mov	r8, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a00023c0:	ebffffb9 	bl	a00022ac <scanString>                          
a00023c4:	e1500006 	cmp	r0, r6                                        
a00023c8:	1a000002 	bne	a00023d8 <scangr+0x48>                        
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
a00023cc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00023d0:	e28dd014 	add	sp, sp, #20                                   
a00023d4:	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)          
a00023d8:	e1a00007 	mov	r0, r7                                        
a00023dc:	e2881004 	add	r1, r8, #4                                    
a00023e0:	e1a02005 	mov	r2, r5                                        
a00023e4:	e1a03004 	mov	r3, r4                                        
a00023e8:	e58d6000 	str	r6, [sp]                                      
a00023ec:	ebffffae 	bl	a00022ac <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a00023f0:	e1500006 	cmp	r0, r6                                        
a00023f4:	0afffff4 	beq	a00023cc <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
a00023f8:	e1a00007 	mov	r0, r7                                        
a00023fc:	e28d1010 	add	r1, sp, #16                                   
a0002400:	ebffff67 	bl	a00021a4 <scanInt>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002404:	e1500006 	cmp	r0, r6                                        
a0002408:	0affffef 	beq	a00023cc <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
a000240c:	e1a03004 	mov	r3, r4                                        
a0002410:	e1a00007 	mov	r0, r7                                        
a0002414:	e1a02005 	mov	r2, r5                                        
a0002418:	e3a04001 	mov	r4, #1                                        
a000241c:	e28d100c 	add	r1, sp, #12                                   
a0002420:	e58d4000 	str	r4, [sp]                                      
a0002424:	ebffffa0 	bl	a00022ac <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002428:	e1500006 	cmp	r0, r6                                        
a000242c:	0affffe6 	beq	a00023cc <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;                                                
a0002430:	e1dd31b0 	ldrh	r3, [sp, #16]                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002434:	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;                                                
a0002438:	e1c830b8 	strh	r3, [r8, #8]                                 
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000243c:	e5d13000 	ldrb	r3, [r1]                                     
a0002440:	e1530006 	cmp	r3, r6                                        
a0002444:	03a04017 	moveq	r4, #23                                     
a0002448:	0a000007 	beq	a000246c <scangr+0xdc>                        
a000244c:	e1a02001 	mov	r2, r1                                        
    if(*cp == ',')                                                    
a0002450:	e353002c 	cmp	r3, #44	; 0x2c                                
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002454:	e5f23001 	ldrb	r3, [r2, #1]!                                
    if(*cp == ',')                                                    
      memcount++;                                                     
a0002458:	02844001 	addeq	r4, r4, #1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000245c:	e3530000 	cmp	r3, #0                                        
a0002460:	1afffffa 	bne	a0002450 <scangr+0xc0>                        
a0002464:	e1a04104 	lsl	r4, r4, #2                                    
a0002468:	e2844013 	add	r4, r4, #19                                   
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a000246c:	e59d3004 	ldr	r3, [sp, #4]                                  
a0002470:	e1530004 	cmp	r3, r4                                        
a0002474:	3affffd4 	bcc	a00023cc <scangr+0x3c>                        
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a0002478:	e59d3008 	ldr	r3, [sp, #8]                                  
a000247c:	e283300f 	add	r3, r3, #15                                   
a0002480:	e3c3300f 	bic	r3, r3, #15                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a0002484:	e5831000 	str	r1, [r3]                                      
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002488:	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);            
a000248c:	e588300c 	str	r3, [r8, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002490:	e5d23000 	ldrb	r3, [r2]                                     
a0002494:	e3530000 	cmp	r3, #0                                        
a0002498:	03a01004 	moveq	r1, #4                                      
a000249c:	0a00000b 	beq	a00024d0 <scangr+0x140>                       
a00024a0:	e2822001 	add	r2, r2, #1                                    
a00024a4:	e3a01001 	mov	r1, #1                                        
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
a00024a8:	e3a00000 	mov	r0, #0                                        
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
a00024ac:	e353002c 	cmp	r3, #44	; 0x2c                                
      *cp = '\0';                                                     
a00024b0:	05420001 	strbeq	r0, [r2, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
a00024b4:	0598300c 	ldreq	r3, [r8, #12]                               
a00024b8:	07832101 	streq	r2, [r3, r1, lsl #2]                        
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024bc:	e4d23001 	ldrb	r3, [r2], #1                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
a00024c0:	02811001 	addeq	r1, r1, #1                                  
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024c4:	e3530000 	cmp	r3, #0                                        
a00024c8:	1afffff7 	bne	a00024ac <scangr+0x11c>                       
a00024cc:	e1a01101 	lsl	r1, r1, #2                                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
a00024d0:	e598300c 	ldr	r3, [r8, #12]                                 
a00024d4:	e3a02000 	mov	r2, #0                                        
a00024d8:	e3a00001 	mov	r0, #1                                        
a00024dc:	e7832001 	str	r2, [r3, r1]                                  
  return 1;                                                           
a00024e0:	eaffffba 	b	a00023d0 <scangr+0x40>                          
                                                                      

a0002524 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
a0002524:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002528:	e24dd014 	sub	sp, sp, #20                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000252c:	e28d5008 	add	r5, sp, #8                                    
a0002530:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0002534:	e58d2008 	str	r2, [sp, #8]                                  
a0002538:	e58d3004 	str	r3, [sp, #4]                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000253c:	e3a06000 	mov	r6, #0                                        
a0002540:	e1a02005 	mov	r2, r5                                        
a0002544:	e1a03004 	mov	r3, r4                                        
a0002548:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a000254c:	e1a07000 	mov	r7, r0                                        
a0002550:	e1a08001 	mov	r8, r1                                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0002554:	ebffff54 	bl	a00022ac <scanString>                          
a0002558:	e1500006 	cmp	r0, r6                                        
a000255c:	1a000002 	bne	a000256c <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;                                                           
a0002560:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0002564:	e28dd014 	add	sp, sp, #20                                   
a0002568:	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)          
a000256c:	e1a00007 	mov	r0, r7                                        
a0002570:	e2881004 	add	r1, r8, #4                                    
a0002574:	e1a02005 	mov	r2, r5                                        
a0002578:	e1a03004 	mov	r3, r4                                        
a000257c:	e58d6000 	str	r6, [sp]                                      
a0002580:	ebffff49 	bl	a00022ac <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0002584:	e1500006 	cmp	r0, r6                                        
a0002588:	0afffff4 	beq	a0002560 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
a000258c:	e1a00007 	mov	r0, r7                                        
a0002590:	e28d1010 	add	r1, sp, #16                                   
a0002594:	ebffff02 	bl	a00021a4 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0002598:	e1500006 	cmp	r0, r6                                        
a000259c:	0affffef 	beq	a0002560 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
a00025a0:	e1a00007 	mov	r0, r7                                        
a00025a4:	e28d100c 	add	r1, sp, #12                                   
a00025a8:	ebfffefd 	bl	a00021a4 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025ac:	e1500006 	cmp	r0, r6                                        
a00025b0:	0affffea 	beq	a0002560 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
a00025b4:	e1a00007 	mov	r0, r7                                        
a00025b8:	e288100c 	add	r1, r8, #12                                   
a00025bc:	e1a02005 	mov	r2, r5                                        
a00025c0:	e1a03004 	mov	r3, r4                                        
a00025c4:	e58d6000 	str	r6, [sp]                                      
a00025c8:	ebffff37 	bl	a00022ac <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025cc:	e1500006 	cmp	r0, r6                                        
a00025d0:	0affffe2 	beq	a0002560 <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)           
a00025d4:	e1a00007 	mov	r0, r7                                        
a00025d8:	e2881010 	add	r1, r8, #16                                   
a00025dc:	e1a02005 	mov	r2, r5                                        
a00025e0:	e1a03004 	mov	r3, r4                                        
a00025e4:	e58d6000 	str	r6, [sp]                                      
a00025e8:	ebffff2f 	bl	a00022ac <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025ec:	e1500006 	cmp	r0, r6                                        
a00025f0:	0affffda 	beq	a0002560 <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)             
a00025f4:	e1a00007 	mov	r0, r7                                        
a00025f8:	e2881014 	add	r1, r8, #20                                   
a00025fc:	e1a02005 	mov	r2, r5                                        
a0002600:	e1a03004 	mov	r3, r4                                        
a0002604:	e58d6000 	str	r6, [sp]                                      
a0002608:	ebffff27 	bl	a00022ac <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000260c:	e1500006 	cmp	r0, r6                                        
a0002610:	0affffd2 	beq	a0002560 <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))          
a0002614:	e1a03004 	mov	r3, r4                                        
a0002618:	e1a00007 	mov	r0, r7                                        
a000261c:	e1a02005 	mov	r2, r5                                        
a0002620:	e3a04001 	mov	r4, #1                                        
a0002624:	e2881018 	add	r1, r8, #24                                   
a0002628:	e58d4000 	str	r4, [sp]                                      
a000262c:	ebffff1e 	bl	a00022ac <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0002630:	e1500006 	cmp	r0, r6                                        
a0002634:	0affffc9 	beq	a0002560 <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;                                                
a0002638:	e1dd30bc 	ldrh	r3, [sp, #12]                                
a000263c:	e1a00004 	mov	r0, r4                                        
a0002640:	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;                                                
a0002644:	e1dd31b0 	ldrh	r3, [sp, #16]                                
a0002648:	e1c830b8 	strh	r3, [r8, #8]                                 
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
a000264c:	eaffffc4 	b	a0002564 <scanpw+0x40>                          
                                                                      

a0002774 <setgrent>: return NULL; return &grent; } void setgrent(void) {
a0002774:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
a0002778:	e59f4024 	ldr	r4, [pc, #36]	; a00027a4 <setgrent+0x30>      <== NOT EXECUTED
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
a000277c:	ebffffc3 	bl	a0002690 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
a0002780:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0002784:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002788:	0a000000 	beq	a0002790 <setgrent+0x1c>                      <== NOT EXECUTED
    fclose(group_fp);                                                 
a000278c:	eb0031b7 	bl	a000ee70 <fclose>                              <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
a0002790:	e59f0010 	ldr	r0, [pc, #16]	; a00027a8 <setgrent+0x34>      <== NOT EXECUTED
a0002794:	e59f1010 	ldr	r1, [pc, #16]	; a00027ac <setgrent+0x38>      <== NOT EXECUTED
a0002798:	eb00336c 	bl	a000f550 <fopen>                               <== NOT EXECUTED
a000279c:	e5840000 	str	r0, [r4]                                      <== NOT EXECUTED
}                                                                     
a00027a0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0002970 <setpwent>: return NULL; return &pwent; } void setpwent(void) {
a0002970:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (passwd_fp != NULL)                                              
a0002974:	e59f4024 	ldr	r4, [pc, #36]	; a00029a0 <setpwent+0x30>      <== NOT EXECUTED
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
a0002978:	ebffff44 	bl	a0002690 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
a000297c:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a0002980:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002984:	0a000000 	beq	a000298c <setpwent+0x1c>                      <== NOT EXECUTED
    fclose(passwd_fp);                                                
a0002988:	eb003138 	bl	a000ee70 <fclose>                              <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
a000298c:	e59f0010 	ldr	r0, [pc, #16]	; a00029a4 <setpwent+0x34>      <== NOT EXECUTED
a0002990:	e59f1010 	ldr	r1, [pc, #16]	; a00029a8 <setpwent+0x38>      <== NOT EXECUTED
a0002994:	eb0032ed 	bl	a000f550 <fopen>                               <== NOT EXECUTED
a0002998:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
}                                                                     
a000299c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      

a0003b5c <siproc>: int i; /* * Obtain output semaphore if character will be echoed */ if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0003b5c:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
a0003b60:	e3a03ee7 	mov	r3, #3696	; 0xe70                             <== NOT EXECUTED
a0003b64:	e2833008 	add	r3, r3, #8                                    <== NOT EXECUTED
a0003b68:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0003b6c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a0003b70:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a0003b74:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
a0003b78:	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)) {
a0003b7c:	1a000002 	bne	a0003b8c <siproc+0x30>                        <== 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);                                                 
a0003b80:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
a0003b84:	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);                                                 
a0003b88:	eaffff80 	b	a0003990 <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);   
a0003b8c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0003b90:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003b94:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0003b98:	eb00068b 	bl	a00055cc <rtems_semaphore_obtain>              <== NOT EXECUTED
		i = iproc (c, tty);                                                 
a0003b9c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003ba0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003ba4:	ebffff79 	bl	a0003990 <iproc>                               <== NOT EXECUTED
a0003ba8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
a0003bac:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0003bb0:	eb0006cd 	bl	a00056ec <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
a0003bb4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003bb8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      

a0004124 <stat>: int _STAT_NAME( const char *path, struct stat *buf ) {
a0004124:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0004128:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a000412c:	e24dd018 	sub	sp, sp, #24                                   
a0004130:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a0004134:	0a00002f 	beq	a00041f8 <stat+0xd4>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a0004138:	eb0033d4 	bl	a0011090 <strlen>                              
a000413c:	e28d4004 	add	r4, sp, #4                                    
a0004140:	e1a01000 	mov	r1, r0                                        
a0004144:	e3a0c001 	mov	ip, #1                                        
a0004148:	e1a00006 	mov	r0, r6                                        
a000414c:	e3a02000 	mov	r2, #0                                        
a0004150:	e1a03004 	mov	r3, r4                                        
a0004154:	e58dc000 	str	ip, [sp]                                      
a0004158:	ebfff9ba 	bl	a0002848 <rtems_filesystem_evaluate_path>      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a000415c:	e2501000 	subs	r1, r0, #0                                   
a0004160:	1a000022 	bne	a00041f0 <stat+0xcc>                          
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
a0004164:	e59d300c 	ldr	r3, [sp, #12]                                 
a0004168:	e5933018 	ldr	r3, [r3, #24]                                 
a000416c:	e3530000 	cmp	r3, #0                                        
a0004170:	0a000013 	beq	a00041c4 <stat+0xa0>                          
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a0004174:	e3a02048 	mov	r2, #72	; 0x48                                
a0004178:	e1a00005 	mov	r0, r5                                        
a000417c:	eb00316a 	bl	a001072c <memset>                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a0004180:	e59d300c 	ldr	r3, [sp, #12]                                 
a0004184:	e1a01005 	mov	r1, r5                                        
a0004188:	e1a00004 	mov	r0, r4                                        
a000418c:	e5933018 	ldr	r3, [r3, #24]                                 
a0004190:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0004194:	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 );                    
a0004198:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000419c:	e3530000 	cmp	r3, #0                                        
a00041a0:	0a000004 	beq	a00041b8 <stat+0x94>                          
a00041a4:	e593301c 	ldr	r3, [r3, #28]                                 
a00041a8:	e3530000 	cmp	r3, #0                                        
a00041ac:	0a000001 	beq	a00041b8 <stat+0x94>                          
a00041b0:	e1a00004 	mov	r0, r4                                        
a00041b4:	e12fff33 	blx	r3                                            
                                                                      
  return status;                                                      
}                                                                     
a00041b8:	e1a00005 	mov	r0, r5                                        
a00041bc:	e28dd018 	add	sp, sp, #24                                   
a00041c0:	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 );                                
a00041c4:	e59d3010 	ldr	r3, [sp, #16]                                 
a00041c8:	e3530000 	cmp	r3, #0                                        
a00041cc:	0a000004 	beq	a00041e4 <stat+0xc0>                          <== NOT EXECUTED
a00041d0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00041d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00041d8:	0a000001 	beq	a00041e4 <stat+0xc0>                          <== NOT EXECUTED
a00041dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00041e0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00041e4:	eb002c92 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a00041e8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00041ec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00041f0:	e3e05000 	mvn	r5, #0                                        
a00041f4:	eaffffef 	b	a00041b8 <stat+0x94>                            
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00041f8:	eb002c8d 	bl	a000f434 <__errno>                             
a00041fc:	e3a0300e 	mov	r3, #14                                       
a0004200:	e5803000 	str	r3, [r0]                                      
a0004204:	e3e05000 	mvn	r5, #0                                        
a0004208:	eaffffea 	b	a00041b8 <stat+0x94>                            
                                                                      

a0004238 <symlink>: int symlink( const char *actualpath, const char *sympath ) {
a0004238:	e92d4070 	push	{r4, r5, r6, lr}                             
a000423c:	e1a05001 	mov	r5, r1                                        
a0004240:	e24dd01c 	sub	sp, sp, #28                                   
a0004244:	e1a06000 	mov	r6, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a0004248:	e28d1018 	add	r1, sp, #24                                   
a000424c:	e1a00005 	mov	r0, r5                                        
a0004250:	e1a0200d 	mov	r2, sp                                        
a0004254:	ebffffda 	bl	a00041c4 <rtems_filesystem_get_start_loc>      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a0004258:	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 );                
a000425c:	e1a0400d 	mov	r4, sp                                        
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a0004260:	e5933004 	ldr	r3, [r3, #4]                                  
a0004264:	e3530000 	cmp	r3, #0                                        
a0004268:	0a00001f 	beq	a00042ec <symlink+0xb4>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
a000426c:	e59d0018 	ldr	r0, [sp, #24]                                 
a0004270:	e1a0100d 	mov	r1, sp                                        
a0004274:	e28d2014 	add	r2, sp, #20                                   
a0004278:	e0850000 	add	r0, r5, r0                                    
a000427c:	e12fff33 	blx	r3                                            
  if ( result != 0 )                                                  
a0004280:	e3500000 	cmp	r0, #0                                        
a0004284:	1a00001b 	bne	a00042f8 <symlink+0xc0>                       
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
a0004288:	e59d200c 	ldr	r2, [sp, #12]                                 
a000428c:	e5923038 	ldr	r3, [r2, #56]	; 0x38                          
a0004290:	e3530000 	cmp	r3, #0                                        
a0004294:	0a00000f 	beq	a00042d8 <symlink+0xa0>                       
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
a0004298:	e1a01006 	mov	r1, r6                                        
a000429c:	e1a0000d 	mov	r0, sp                                        
a00042a0:	e59d2014 	ldr	r2, [sp, #20]                                 
a00042a4:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00042a8:	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);      
a00042ac:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00042b0:	e3530000 	cmp	r3, #0                                        
a00042b4:	0a000004 	beq	a00042cc <symlink+0x94>                       
a00042b8:	e593301c 	ldr	r3, [r3, #28]                                 
a00042bc:	e3530000 	cmp	r3, #0                                        
a00042c0:	0a000001 	beq	a00042cc <symlink+0x94>                       
a00042c4:	e1a0000d 	mov	r0, sp                                        
a00042c8:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00042cc:	e1a00005 	mov	r0, r5                                        
a00042d0:	e28dd01c 	add	sp, sp, #28                                   
a00042d4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
a00042d8:	e592301c 	ldr	r3, [r2, #28]                                 
a00042dc:	e3530000 	cmp	r3, #0                                        
a00042e0:	0a000001 	beq	a00042ec <symlink+0xb4>                       
a00042e4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00042e8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00042ec:	eb002be4 	bl	a000f284 <__errno>                             <== NOT EXECUTED
a00042f0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00042f4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00042f8:	e3e05000 	mvn	r5, #0                                        
a00042fc:	eafffff2 	b	a00042cc <symlink+0x94>                         
                                                                      

a00044a4 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
a00044a4:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
a00044a8:	e92d4030 	push	{r4, r5, lr}                                 
a00044ac:	e1a04002 	mov	r4, r2                                        
a00044b0:	e1a05000 	mov	r5, r0                                        
  switch (opt) {                                                      
a00044b4:	0a00000b 	beq	a00044e8 <tcsetattr+0x44>                     
a00044b8:	e3510001 	cmp	r1, #1                                        
a00044bc:	0a000004 	beq	a00044d4 <tcsetattr+0x30>                     <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00044c0:	eb002d98 	bl	a000fb28 <__errno>                             <== NOT EXECUTED
a00044c4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00044c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
a00044cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00044d0:	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)                      
a00044d4:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a00044d8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00044dc:	eb002077 	bl	a000c6c0 <ioctl>                               <== NOT EXECUTED
a00044e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00044e4:	bafffff8 	blt	a00044cc <tcsetattr+0x28>                     <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a00044e8:	e1a00005 	mov	r0, r5                                        
a00044ec:	e1a02004 	mov	r2, r4                                        
a00044f0:	e3a01002 	mov	r1, #2                                        
  }                                                                   
}                                                                     
a00044f4:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a00044f8:	ea002070 	b	a000c6c0 <ioctl>                                
                                                                      

a000db20 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
a000db20:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000db24:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a000db28:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
a000db2c:	ebffd095 	bl	a0001d88 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a000db30:	e2505000 	subs	r5, r0, #0                                   
a000db34:	1a000043 	bne	a000dc48 <unlink+0x128>                       
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a000db38:	e28d4018 	add	r4, sp, #24                                   
a000db3c:	e1a00007 	mov	r0, r7                                        
a000db40:	e28d102c 	add	r1, sp, #44	; 0x2c                            
a000db44:	e1a02004 	mov	r2, r4                                        
a000db48:	ebffd4b8 	bl	a0002e30 <rtems_filesystem_get_start_loc>      
a000db4c:	e1a06005 	mov	r6, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000db50:	e28dc004 	add	ip, sp, #4                                    
a000db54:	e1a0e004 	mov	lr, r4                                        
a000db58:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000db5c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000db60:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
a000db64:	e0875005 	add	r5, r7, r5                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000db68:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000db6c:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000db70:	eb0005d5 	bl	a000f2cc <strlen>                              
a000db74:	e1a01000 	mov	r1, r0                                        
a000db78:	e1a00005 	mov	r0, r5                                        
a000db7c:	ebffd06c 	bl	a0001d34 <rtems_filesystem_prefix_separators>  
a000db80:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000db84:	e1a00007 	mov	r0, r7                                        
a000db88:	eb0005cf 	bl	a000f2cc <strlen>                              
a000db8c:	e28d5004 	add	r5, sp, #4                                    
a000db90:	e3a0c000 	mov	ip, #0                                        
a000db94:	e1a01000 	mov	r1, r0                                        
a000db98:	e1a0200c 	mov	r2, ip                                        
a000db9c:	e1a00007 	mov	r0, r7                                        
a000dba0:	e1a03005 	mov	r3, r5                                        
a000dba4:	e58dc000 	str	ip, [sp]                                      
a000dba8:	ebffd087 	bl	a0001dcc <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a000dbac:	e3500000 	cmp	r0, #0                                        
a000dbb0:	1a000031 	bne	a000dc7c <unlink+0x15c>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a000dbb4:	e59d2010 	ldr	r2, [sp, #16]                                 
a000dbb8:	e5923010 	ldr	r3, [r2, #16]                                 
a000dbbc:	e3530000 	cmp	r3, #0                                        
a000dbc0:	0a000039 	beq	a000dcac <unlink+0x18c>                       
    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 ) {
a000dbc4:	e1a00005 	mov	r0, r5                                        
a000dbc8:	e12fff33 	blx	r3                                            
a000dbcc:	e3500001 	cmp	r0, #1                                        
a000dbd0:	0a000049 	beq	a000dcfc <unlink+0x1dc>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
a000dbd4:	e59d2010 	ldr	r2, [sp, #16]                                 
a000dbd8:	e592300c 	ldr	r3, [r2, #12]                                 
a000dbdc:	e3530000 	cmp	r3, #0                                        
a000dbe0:	0a000031 	beq	a000dcac <unlink+0x18c>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a000dbe4:	e1a00004 	mov	r0, r4                                        
a000dbe8:	e1a01005 	mov	r1, r5                                        
a000dbec:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000dbf0:	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 );                  
a000dbf4:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000dbf8:	e3530000 	cmp	r3, #0                                        
a000dbfc:	0a000004 	beq	a000dc14 <unlink+0xf4>                        
a000dc00:	e593301c 	ldr	r3, [r3, #28]                                 
a000dc04:	e3530000 	cmp	r3, #0                                        
a000dc08:	0a000001 	beq	a000dc14 <unlink+0xf4>                        
a000dc0c:	e1a00005 	mov	r0, r5                                        
a000dc10:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a000dc14:	e3560000 	cmp	r6, #0                                        
a000dc18:	0a000007 	beq	a000dc3c <unlink+0x11c>                       
    rtems_filesystem_freenode( &parentloc );                          
a000dc1c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000dc20:	e3530000 	cmp	r3, #0                                        
a000dc24:	0a000004 	beq	a000dc3c <unlink+0x11c>                       
a000dc28:	e593301c 	ldr	r3, [r3, #28]                                 
a000dc2c:	e3530000 	cmp	r3, #0                                        
a000dc30:	0a000001 	beq	a000dc3c <unlink+0x11c>                       
a000dc34:	e1a00004 	mov	r0, r4                                        
a000dc38:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a000dc3c:	e1a00007 	mov	r0, r7                                        
a000dc40:	e28dd030 	add	sp, sp, #48	; 0x30                            
a000dc44:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
a000dc48:	e28d4018 	add	r4, sp, #24                                   
a000dc4c:	e3a0c000 	mov	ip, #0                                        
a000dc50:	e1a00007 	mov	r0, r7                                        
a000dc54:	e1a01005 	mov	r1, r5                                        
a000dc58:	e3a02002 	mov	r2, #2                                        
a000dc5c:	e1a03004 	mov	r3, r4                                        
a000dc60:	e58dc000 	str	ip, [sp]                                      
a000dc64:	ebffd092 	bl	a0001eb4 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
a000dc68:	e3500000 	cmp	r0, #0                                        
a000dc6c:	03a06001 	moveq	r6, #1                                      
a000dc70:	0affffb6 	beq	a000db50 <unlink+0x30>                        
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
a000dc74:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000dc78:	eaffffef 	b	a000dc3c <unlink+0x11c>                         <== NOT EXECUTED
  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 )                                             
a000dc7c:	e3560000 	cmp	r6, #0                                        
a000dc80:	0afffffb 	beq	a000dc74 <unlink+0x154>                       
      rtems_filesystem_freenode( &parentloc );                        
a000dc84:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000dc88:	e3530000 	cmp	r3, #0                                        
a000dc8c:	0afffff8 	beq	a000dc74 <unlink+0x154>                       
a000dc90:	e593301c 	ldr	r3, [r3, #28]                                 
a000dc94:	e3530000 	cmp	r3, #0                                        
a000dc98:	0afffff5 	beq	a000dc74 <unlink+0x154>                       
a000dc9c:	e1a00004 	mov	r0, r4                                        
a000dca0:	e12fff33 	blx	r3                                            
a000dca4:	e3e07000 	mvn	r7, #0                                        
a000dca8:	eaffffe3 	b	a000dc3c <unlink+0x11c>                         
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
a000dcac:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a000dcb0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dcb4:	0a000001 	beq	a000dcc0 <unlink+0x1a0>                       <== NOT EXECUTED
a000dcb8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000dcbc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a000dcc0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000dcc4:	0a000007 	beq	a000dce8 <unlink+0x1c8>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a000dcc8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000dccc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dcd0:	0a000004 	beq	a000dce8 <unlink+0x1c8>                       <== NOT EXECUTED
a000dcd4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000dcd8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dcdc:	0a000001 	beq	a000dce8 <unlink+0x1c8>                       <== NOT EXECUTED
a000dce0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000dce4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000dce8:	eb000172 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a000dcec:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000dcf0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000dcf4:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000dcf8:	eaffffcf 	b	a000dc3c <unlink+0x11c>                         <== 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 );                                
a000dcfc:	e59d3010 	ldr	r3, [sp, #16]                                 
a000dd00:	e3530000 	cmp	r3, #0                                        
a000dd04:	0a000004 	beq	a000dd1c <unlink+0x1fc>                       
a000dd08:	e593301c 	ldr	r3, [r3, #28]                                 
a000dd0c:	e3530000 	cmp	r3, #0                                        
a000dd10:	0a000001 	beq	a000dd1c <unlink+0x1fc>                       
a000dd14:	e1a00005 	mov	r0, r5                                        
a000dd18:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a000dd1c:	e3560000 	cmp	r6, #0                                        
a000dd20:	0a000007 	beq	a000dd44 <unlink+0x224>                       
      rtems_filesystem_freenode( &parentloc );                        
a000dd24:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000dd28:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dd2c:	0a000004 	beq	a000dd44 <unlink+0x224>                       <== NOT EXECUTED
a000dd30:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000dd34:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000dd38:	0a000001 	beq	a000dd44 <unlink+0x224>                       <== NOT EXECUTED
a000dd3c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000dd40:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a000dd44:	eb00015b 	bl	a000e2b8 <__errno>                             
a000dd48:	e3a03015 	mov	r3, #21                                       
a000dd4c:	e5803000 	str	r3, [r0]                                      
a000dd50:	e3e07000 	mvn	r7, #0                                        
a000dd54:	eaffffb8 	b	a000dc3c <unlink+0x11c>                         
                                                                      

a0008a00 <unmount>: */ int unmount( const char *path ) {
a0008a00:	e92d4030 	push	{r4, r5, lr}                                 
a0008a04:	e24dd018 	sub	sp, sp, #24                                   
a0008a08:	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 ) )
a0008a0c:	eb0031ce 	bl	a001514c <strlen>                              
a0008a10:	e28d4004 	add	r4, sp, #4                                    
a0008a14:	e1a01000 	mov	r1, r0                                        
a0008a18:	e3a0c001 	mov	ip, #1                                        
a0008a1c:	e1a00005 	mov	r0, r5                                        
a0008a20:	e3a02000 	mov	r2, #0                                        
a0008a24:	e1a03004 	mov	r3, r4                                        
a0008a28:	e58dc000 	str	ip, [sp]                                      
a0008a2c:	ebfff078 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
a0008a30:	e3500000 	cmp	r0, #0                                        
a0008a34:	1a000028 	bne	a0008adc <unmount+0xdc>                       
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
a0008a38:	e59d5014 	ldr	r5, [sp, #20]                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0008a3c:	e59d3004 	ldr	r3, [sp, #4]                                  
a0008a40:	e595201c 	ldr	r2, [r5, #28]                                 
a0008a44:	e1520003 	cmp	r2, r3                                        
a0008a48:	1a000040 	bne	a0008b50 <unmount+0x150>                      
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0008a4c:	e59d3010 	ldr	r3, [sp, #16]                                 
a0008a50:	e3530000 	cmp	r3, #0                                        
a0008a54:	0a000004 	beq	a0008a6c <unmount+0x6c>                       
a0008a58:	e593301c 	ldr	r3, [r3, #28]                                 
a0008a5c:	e3530000 	cmp	r3, #0                                        
a0008a60:	0a000001 	beq	a0008a6c <unmount+0x6c>                       
a0008a64:	e1a00004 	mov	r0, r4                                        
a0008a68:	e12fff33 	blx	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;                            
a0008a6c:	e5953014 	ldr	r3, [r5, #20]                                 
a0008a70:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0008a74:	e3530000 	cmp	r3, #0                                        
a0008a78:	0a00004e 	beq	a0008bb8 <unmount+0x1b8>                      
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0008a7c:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0008a80:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0008a84:	e3530000 	cmp	r3, #0                                        
a0008a88:	0a00004a 	beq	a0008bb8 <unmount+0x1b8>                      
   *        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 )                
a0008a8c:	e59f3138 	ldr	r3, [pc, #312]	; a0008bcc <unmount+0x1cc>     
a0008a90:	e5933000 	ldr	r3, [r3]                                      
a0008a94:	e5933014 	ldr	r3, [r3, #20]                                 
a0008a98:	e1530005 	cmp	r3, r5                                        
a0008a9c:	0a000038 	beq	a0008b84 <unmount+0x184>                      
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
a0008aa0:	e59f0128 	ldr	r0, [pc, #296]	; a0008bd0 <unmount+0x1d0>     
a0008aa4:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
a0008aa8:	ebfff38b 	bl	a00058dc <rtems_filesystem_mount_iterate>      
a0008aac:	e3500000 	cmp	r0, #0                                        
a0008ab0:	1a000033 	bne	a0008b84 <unmount+0x184>                      
   *  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 )             
a0008ab4:	e1a00005 	mov	r0, r5                                        
a0008ab8:	ebfff134 	bl	a0004f90 <rtems_libio_is_open_files_in_fs>     
a0008abc:	e3500001 	cmp	r0, #1                                        
a0008ac0:	0a00002f 	beq	a0008b84 <unmount+0x184>                      
   * 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 )             
a0008ac4:	e5953014 	ldr	r3, [r5, #20]                                 
a0008ac8:	e1a00005 	mov	r0, r5                                        
a0008acc:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0008ad0:	e12fff33 	blx	r3                                            
a0008ad4:	e2504000 	subs	r4, r0, #0                                   
a0008ad8:	0a000002 	beq	a0008ae8 <unmount+0xe8>                       
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
a0008adc:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a0008ae0:	e28dd018 	add	sp, sp, #24                                   
a0008ae4:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  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){          
a0008ae8:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0008aec:	e1a00005 	mov	r0, r5                                        
a0008af0:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0008af4:	e12fff33 	blx	r3                                            
a0008af8:	e2501000 	subs	r1, r0, #0                                   
a0008afc:	1a000025 	bne	a0008b98 <unmount+0x198>                      
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
a0008b00:	e59f40cc 	ldr	r4, [pc, #204]	; a0008bd4 <unmount+0x1d4>     
a0008b04:	e1a02001 	mov	r2, r1                                        
a0008b08:	e5940000 	ldr	r0, [r4]                                      
a0008b0c:	eb000354 	bl	a0009864 <rtems_semaphore_obtain>              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a0008b10:	e1a00005 	mov	r0, r5                                        
a0008b14:	eb00059e 	bl	a000a194 <_Chain_Extract>                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
a0008b18:	e5940000 	ldr	r0, [r4]                                      
a0008b1c:	eb000398 	bl	a0009984 <rtems_semaphore_release>             
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
a0008b20:	e5953014 	ldr	r3, [r5, #20]                                 
a0008b24:	e3530000 	cmp	r3, #0                                        
a0008b28:	0a000004 	beq	a0008b40 <unmount+0x140>                      
a0008b2c:	e593301c 	ldr	r3, [r3, #28]                                 
a0008b30:	e3530000 	cmp	r3, #0                                        
a0008b34:	0a000001 	beq	a0008b40 <unmount+0x140>                      
a0008b38:	e2850008 	add	r0, r5, #8                                    
a0008b3c:	e12fff33 	blx	r3                                            
  free( mt_entry );                                                   
a0008b40:	e1a00005 	mov	r0, r5                                        
a0008b44:	ebfff054 	bl	a0004c9c <free>                                
a0008b48:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
a0008b4c:	eaffffe3 	b	a0008ae0 <unmount+0xe0>                         
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
a0008b50:	e59d3010 	ldr	r3, [sp, #16]                                 
a0008b54:	e3530000 	cmp	r3, #0                                        
a0008b58:	0a000004 	beq	a0008b70 <unmount+0x170>                      
a0008b5c:	e593301c 	ldr	r3, [r3, #28]                                 
a0008b60:	e3530000 	cmp	r3, #0                                        
a0008b64:	0a000001 	beq	a0008b70 <unmount+0x170>                      
a0008b68:	e1a00004 	mov	r0, r4                                        
a0008b6c:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008b70:	eb002464 	bl	a0011d08 <__errno>                             
a0008b74:	e3a0300d 	mov	r3, #13                                       
a0008b78:	e5803000 	str	r3, [r0]                                      
a0008b7c:	e3e00000 	mvn	r0, #0                                        
a0008b80:	eaffffd6 	b	a0008ae0 <unmount+0xe0>                         
   *  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 );                    
a0008b84:	eb00245f 	bl	a0011d08 <__errno>                             
a0008b88:	e3a03010 	mov	r3, #16                                       
a0008b8c:	e5803000 	str	r3, [r0]                                      
a0008b90:	e3e00000 	mvn	r0, #0                                        
a0008b94:	eaffffd1 	b	a0008ae0 <unmount+0xe0>                         
   *         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 )             
a0008b98:	e5953014 	ldr	r3, [r5, #20]                                 
a0008b9c:	e1a00005 	mov	r0, r5                                        
a0008ba0:	e5933020 	ldr	r3, [r3, #32]                                 
a0008ba4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0008ba8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0008bac:	0affffca 	beq	a0008adc <unmount+0xdc>                       <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
a0008bb0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0008bb4:	eb0004b5 	bl	a0009e90 <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 );                  
a0008bb8:	eb002452 	bl	a0011d08 <__errno>                             <== NOT EXECUTED
a0008bbc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0008bc0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008bc4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0008bc8:	eaffffc4 	b	a0008ae0 <unmount+0xe0>                         <== NOT EXECUTED
                                                                      

a0006070 <utime>: int utime( const char *path, const struct utimbuf *times ) {
a0006070:	e92d4070 	push	{r4, r5, r6, lr}                             
a0006074:	e24dd018 	sub	sp, sp, #24                                   
a0006078:	e1a05001 	mov	r5, r1                                        
a000607c:	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 ) )
a0006080:	eb002c02 	bl	a0011090 <strlen>                              
a0006084:	e28d4004 	add	r4, sp, #4                                    
a0006088:	e1a01000 	mov	r1, r0                                        
a000608c:	e3a0c001 	mov	ip, #1                                        
a0006090:	e1a00006 	mov	r0, r6                                        
a0006094:	e3a02000 	mov	r2, #0                                        
a0006098:	e1a03004 	mov	r3, r4                                        
a000609c:	e58dc000 	str	ip, [sp]                                      
a00060a0:	ebfff1e8 	bl	a0002848 <rtems_filesystem_evaluate_path>      
a00060a4:	e3500000 	cmp	r0, #0                                        
a00060a8:	1a00001a 	bne	a0006118 <utime+0xa8>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
a00060ac:	e59d2010 	ldr	r2, [sp, #16]                                 
a00060b0:	e5923030 	ldr	r3, [r2, #48]	; 0x30                          
a00060b4:	e3530000 	cmp	r3, #0                                        
a00060b8:	0a00000e 	beq	a00060f8 <utime+0x88>                         
    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 );
a00060bc:	e8950006 	ldm	r5, {r1, r2}                                  
a00060c0:	e1a00004 	mov	r0, r4                                        
a00060c4:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a00060c8:	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 );
a00060cc:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a00060d0:	e3530000 	cmp	r3, #0                                        
a00060d4:	0a000004 	beq	a00060ec <utime+0x7c>                         
a00060d8:	e593301c 	ldr	r3, [r3, #28]                                 
a00060dc:	e3530000 	cmp	r3, #0                                        
a00060e0:	0a000001 	beq	a00060ec <utime+0x7c>                         
a00060e4:	e1a00004 	mov	r0, r4                                        
a00060e8:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00060ec:	e1a00005 	mov	r0, r5                                        
a00060f0:	e28dd018 	add	sp, sp, #24                                   
a00060f4:	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 );                           
a00060f8:	e592301c 	ldr	r3, [r2, #28]                                 
a00060fc:	e3530000 	cmp	r3, #0                                        
a0006100:	0a000001 	beq	a000610c <utime+0x9c>                         
a0006104:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006108:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000610c:	eb0024c8 	bl	a000f434 <__errno>                             <== NOT EXECUTED
a0006110:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0006114:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006118:	e3e05000 	mvn	r5, #0                                        
a000611c:	eafffff2 	b	a00060ec <utime+0x7c>                           
                                                                      

a0019e3c <write>: ) { ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd );
a0019e3c:	e59f30c0 	ldr	r3, [pc, #192]	; a0019f04 <write+0xc8>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0019e40:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019e44:	e593c000 	ldr	ip, [r3]                                      
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0019e48:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0019e4c:	e150000c 	cmp	r0, ip                                        
a0019e50:	2a00001c 	bcs	a0019ec8 <write+0x8c>                         
  iop = rtems_libio_iop( fd );                                        
a0019e54:	e59fc0ac 	ldr	ip, [pc, #172]	; a0019f08 <write+0xcc>        
a0019e58:	e59c4000 	ldr	r4, [ip]                                      
a0019e5c:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0019e60:	e5940014 	ldr	r0, [r4, #20]                                 
a0019e64:	e3100c01 	tst	r0, #256	; 0x100                              
a0019e68:	0a000016 	beq	a0019ec8 <write+0x8c>                         
  rtems_libio_check_buffer( buffer );                                 
a0019e6c:	e3510000 	cmp	r1, #0                                        
a0019e70:	0a000019 	beq	a0019edc <write+0xa0>                         
  rtems_libio_check_count( count );                                   
a0019e74:	e3520000 	cmp	r2, #0                                        
a0019e78:	0a000010 	beq	a0019ec0 <write+0x84>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0019e7c:	e3100004 	tst	r0, #4                                        
a0019e80:	0a000015 	beq	a0019edc <write+0xa0>                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
a0019e84:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0019e88:	e593300c 	ldr	r3, [r3, #12]                                 
a0019e8c:	e3530000 	cmp	r3, #0                                        
a0019e90:	0a000016 	beq	a0019ef0 <write+0xb4>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
a0019e94:	e1a00004 	mov	r0, r4                                        
a0019e98:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0019e9c:	e3500000 	cmp	r0, #0                                        
a0019ea0:	da000005 	ble	a0019ebc <write+0x80>                         
    iop->offset += rc;                                                
a0019ea4:	e284600c 	add	r6, r4, #12                                   
a0019ea8:	e8960060 	ldm	r6, {r5, r6}                                  
a0019eac:	e0952000 	adds	r2, r5, r0                                   
a0019eb0:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0019eb4:	e584200c 	str	r2, [r4, #12]                                 
a0019eb8:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0019ebc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0019ec0:	e1a00002 	mov	r0, r2                                        
a0019ec4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0019ec8:	ebffd0fa 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019ecc:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0019ed0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019ed4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0019ed8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0019edc:	ebffd0f5 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019ee0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0019ee4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019ee8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0019eec:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0019ef0:	ebffd0f0 	bl	a000e2b8 <__errno>                             <== NOT EXECUTED
a0019ef4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0019ef8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0019efc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0019f00:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      

a0006044 <writev>: int bytes; rtems_libio_t *iop; ssize_t old; bool all_zeros; rtems_libio_check_fd( fd );
a0006044:	e59f317c 	ldr	r3, [pc, #380]	; a00061c8 <writev+0x184>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0006048:	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 );                                         
a000604c:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0006050:	e1a05002 	mov	r5, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0006054:	e1500003 	cmp	r0, r3                                        
a0006058:	2a00004e 	bcs	a0006198 <writev+0x154>                       
  iop = rtems_libio_iop( fd );                                        
a000605c:	e59f3168 	ldr	r3, [pc, #360]	; a00061cc <writev+0x188>      
a0006060:	e5937000 	ldr	r7, [r3]                                      
a0006064:	e0877300 	add	r7, r7, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0006068:	e5973014 	ldr	r3, [r7, #20]                                 
a000606c:	e3130c01 	tst	r3, #256	; 0x100                              
a0006070:	0a000048 	beq	a0006198 <writev+0x154>                       
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0006074:	e3130004 	tst	r3, #4                                        
a0006078:	0a000040 	beq	a0006180 <writev+0x13c>                       
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a000607c:	e3510000 	cmp	r1, #0                                        
a0006080:	0a00003e 	beq	a0006180 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0006084:	e3520000 	cmp	r2, #0                                        
a0006088:	da00003c 	ble	a0006180 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a000608c:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0006090:	ca00003a 	bgt	a0006180 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
a0006094:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
a0006098:	e593300c 	ldr	r3, [r3, #12]                                 
a000609c:	e3530000 	cmp	r3, #0                                        
a00060a0:	0a000043 	beq	a00061b4 <writev+0x170>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00060a4:	e1a04001 	mov	r4, r1                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00060a8:	e3a0cc7f 	mov	ip, #32512	; 0x7f00                           
                                                                      
  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 );                  
a00060ac:	e3a01000 	mov	r1, #0                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00060b0:	e28cc0ff 	add	ip, ip, #255	; 0xff                           
                                                                      
  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 );                  
a00060b4:	e1a02004 	mov	r2, r4                                        
a00060b8:	e3a06001 	mov	r6, #1                                        
a00060bc:	e1a08001 	mov	r8, r1                                        
a00060c0:	ea000000 	b	a00060c8 <writev+0x84>                          
   *  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++ ) {                    
a00060c4:	e1a08003 	mov	r8, r3                                        
                                                                      
    if ( !iov[v].iov_base )                                           
a00060c8:	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++ ) {                    
a00060cc:	e2811001 	add	r1, r1, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
a00060d0:	e3530000 	cmp	r3, #0                                        
a00060d4:	0a000029 	beq	a0006180 <writev+0x13c>                       
      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 )                                             
a00060d8:	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++ ) {                    
a00060dc:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a00060e0:	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 )                                             
a00060e4:	e3500000 	cmp	r0, #0                                        
a00060e8:	13a06000 	movne	r6, #0                                      
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a00060ec:	e1580003 	cmp	r8, r3                                        
a00060f0:	d153000c 	cmple	r3, ip                                      
a00060f4:	d3a08000 	movle	r8, #0                                      
a00060f8:	c3a08001 	movgt	r8, #1                                      
a00060fc:	ca00001f 	bgt	a0006180 <writev+0x13c>                       
   *  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++ ) {                    
a0006100:	e1550001 	cmp	r5, r1                                        
a0006104:	caffffee 	bgt	a00060c4 <writev+0x80>                        
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
a0006108:	e3560000 	cmp	r6, #0                                        
a000610c:	1a00001f 	bne	a0006190 <writev+0x14c>                       
a0006110:	e1a08006 	mov	r8, r6                                        
a0006114:	ea000002 	b	a0006124 <writev+0xe0>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0006118:	e1550006 	cmp	r5, r6                                        
a000611c:	e2844008 	add	r4, r4, #8                                    
a0006120:	da00001a 	ble	a0006190 <writev+0x14c>                       
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a0006124:	e5942004 	ldr	r2, [r4, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0006128:	e2866001 	add	r6, r6, #1                                    
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a000612c:	e3520000 	cmp	r2, #0                                        
a0006130:	0afffff8 	beq	a0006118 <writev+0xd4>                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
a0006134:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
a0006138:	e5941000 	ldr	r1, [r4]                                      
a000613c:	e1a00007 	mov	r0, r7                                        
a0006140:	e593300c 	ldr	r3, [r3, #12]                                 
a0006144:	e12fff33 	blx	r3                                            
                                                                      
    if ( bytes < 0 )                                                  
a0006148:	e3500000 	cmp	r0, #0                                        
a000614c:	ba000016 	blt	a00061ac <writev+0x168>                       
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0006150:	0a000006 	beq	a0006170 <writev+0x12c>                       
      iop->offset += bytes;                                           
a0006154:	e287c00c 	add	ip, r7, #12                                   
a0006158:	e89c1800 	ldm	ip, {fp, ip}                                  
a000615c:	e09b2000 	adds	r2, fp, r0                                   
a0006160:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
a0006164:	e587200c 	str	r2, [r7, #12]                                 
a0006168:	e5873010 	str	r3, [r7, #16]                                 
      total       += bytes;                                           
a000616c:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0006170:	e5943004 	ldr	r3, [r4, #4]                                  
a0006174:	e1500003 	cmp	r0, r3                                        
a0006178:	0affffe6 	beq	a0006118 <writev+0xd4>                        
a000617c:	ea000003 	b	a0006190 <writev+0x14c>                         
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0006180:	eb002431 	bl	a000f24c <__errno>                             
a0006184:	e3a03016 	mov	r3, #22                                       
a0006188:	e5803000 	str	r3, [r0]                                      
a000618c:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0006190:	e1a00008 	mov	r0, r8                                        
a0006194:	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 );                                   
a0006198:	eb00242b 	bl	a000f24c <__errno>                             
a000619c:	e3a03009 	mov	r3, #9                                        
a00061a0:	e5803000 	str	r3, [r0]                                      
a00061a4:	e3e08000 	mvn	r8, #0                                        
a00061a8:	eafffff8 	b	a0006190 <writev+0x14c>                         
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
a00061ac:	e3e08000 	mvn	r8, #0                                        
a00061b0:	eafffff6 	b	a0006190 <writev+0x14c>                         
                                                                      
  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 );                  
a00061b4:	eb002424 	bl	a000f24c <__errno>                             
a00061b8:	e3a03086 	mov	r3, #134	; 0x86                               
a00061bc:	e5803000 	str	r3, [r0]                                      
a00061c0:	e3e08000 	mvn	r8, #0                                        
a00061c4:	eafffff1 	b	a0006190 <writev+0x14c>