00008134 <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 ) {                                              
    8134:	e5903000 	ldr	r3, [r0]                                      
    8138:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
    813c:	e5903010 	ldr	r3, [r0, #16]                                 
  switch( node->type ) {                                              
    8140:	e2422001 	sub	r2, r2, #1                                    
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
    8144:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
  switch( node->type ) {                                              
    8148:	e3520006 	cmp	r2, #6                                        
    814c:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
    8150:	ea000010 	b	8198 <IMFS_Set_handlers+0x64>                   <== NOT EXECUTED
    8154:	00008170 	.word	0x00008170                                  <== NOT EXECUTED
    8158:	00008178 	.word	0x00008178                                  <== NOT EXECUTED
    815c:	00008180 	.word	0x00008180                                  <== NOT EXECUTED
    8160:	00008180 	.word	0x00008180                                  <== NOT EXECUTED
    8164:	00008188 	.word	0x00008188                                  <== NOT EXECUTED
    8168:	00008188 	.word	0x00008188                                  <== NOT EXECUTED
    816c:	00008190 	.word	0x00008190                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
    8170:	e5933008 	ldr	r3, [r3, #8]                                  
    8174:	ea000006 	b	8194 <IMFS_Set_handlers+0x60>                   
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
    8178:	e59f3020 	ldr	r3, [pc, #32]	; 81a0 <IMFS_Set_handlers+0x6c> 
    817c:	ea000004 	b	8194 <IMFS_Set_handlers+0x60>                   
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
    8180:	e59f301c 	ldr	r3, [pc, #28]	; 81a4 <IMFS_Set_handlers+0x70> 
    8184:	ea000002 	b	8194 <IMFS_Set_handlers+0x60>                   
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
    8188:	e5933004 	ldr	r3, [r3, #4]                                  
    818c:	ea000000 	b	8194 <IMFS_Set_handlers+0x60>                   
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
    8190:	e59f3010 	ldr	r3, [pc, #16]	; 81a8 <IMFS_Set_handlers+0x74> 
    8194:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    8198:	e3a00000 	mov	r0, #0                                        
    819c:	e12fff1e 	bx	lr                                             
    81a0:	000190b4 	.word	0x000190b4                                  
    81a4:	000190ec 	.word	0x000190ec                                  
    81a8:	0001905c 	.word	0x0001905c                                  
                                                                      
0000ca60 <IMFS_chown>:                                                
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
    ca60:	e92d40f3 	push	{r0, r1, r4, r5, r6, r7, lr}                 
    ca64:	e1a02802 	lsl	r2, r2, #16                                   
    ca68:	e1a01801 	lsl	r1, r1, #16                                   
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
    ca6c:	e5904000 	ldr	r4, [r0]                                      
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
    ca70:	e1a07821 	lsr	r7, r1, #16                                   
    ca74:	e1a06822 	lsr	r6, r2, #16                                   
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
    ca78:	eb000441 	bl	db84 <geteuid>                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    ca7c:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
    ca80:	e3500000 	cmp	r0, #0                                        
    ca84:	11550000 	cmpne	r5, r0                                      
    ca88:	03a05000 	moveq	r5, #0                                      
    ca8c:	13a05001 	movne	r5, #1                                      
    ca90:	0a000004 	beq	caa8 <IMFS_chown+0x48>                        
    rtems_set_errno_and_return_minus_one( EPERM );                    
    ca94:	eb00149b 	bl	11d08 <__errno>                                <== NOT EXECUTED
    ca98:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
    ca9c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    caa0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    caa4:	ea000007 	b	cac8 <IMFS_chown+0x68>                          <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
    caa8:	e1c473bc 	strh	r7, [r4, #60]	; 0x3c                         
  jnode->st_gid = group;                                              
    caac:	e1c463be 	strh	r6, [r4, #62]	; 0x3e                         
                                                                      
  IMFS_update_ctime( jnode );                                         
    cab0:	e1a0000d 	mov	r0, sp                                        
    cab4:	e1a01005 	mov	r1, r5                                        
    cab8:	ebffd8cc 	bl	2df0 <gettimeofday>                            
    cabc:	e59d3000 	ldr	r3, [sp]                                      
    cac0:	e5843048 	str	r3, [r4, #72]	; 0x48                          
    cac4:	e1a00005 	mov	r0, r5                                        
                                                                      
  return 0;                                                           
}                                                                     
    cac8:	e8bd80fc 	pop	{r2, r3, r4, r5, r6, r7, pc}                  
                                                                      
0000b5f4 <IMFS_create_node>:                                          
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
    b5f4:	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 )                                           
    b5f8:	e2504000 	subs	r4, r0, #0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
    b5fc:	e1a05001 	mov	r5, r1                                        
    b600:	e59d6014 	ldr	r6, [sp, #20]                                 
    b604:	e1a01002 	mov	r1, r2                                        
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    b608:	01a07004 	moveq	r7, r4                                      
    b60c:	0a000041 	beq	b718 <IMFS_create_node+0x124>                 
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
    b610:	e59f2108 	ldr	r2, [pc, #264]	; b720 <IMFS_create_node+0x12c>
    b614:	e5922000 	ldr	r2, [r2]                                      
    b618:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
    b61c:	e1a00005 	mov	r0, r5                                        
    b620:	e1c32002 	bic	r2, r3, r2                                    
    b624:	ebffffc4 	bl	b53c <IMFS_allocate_node>                      
  if ( !node )                                                        
    b628:	e2507000 	subs	r7, r0, #0                                   
    b62c:	0a000039 	beq	b718 <IMFS_create_node+0x124>                 
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
    b630:	e2455001 	sub	r5, r5, #1                                    
    b634:	e3550006 	cmp	r5, #6                                        
    b638:	979ff105 	ldrls	pc, [pc, r5, lsl #2]                        
    b63c:	ea000025 	b	b6d8 <IMFS_create_node+0xe4>                    <== NOT EXECUTED
    b640:	0000b65c 	.word	0x0000b65c                                  <== NOT EXECUTED
    b644:	0000b680 	.word	0x0000b680                                  <== NOT EXECUTED
    b648:	0000b678 	.word	0x0000b678                                  <== NOT EXECUTED
    b64c:	0000b678 	.word	0x0000b678                                  <== NOT EXECUTED
    b650:	0000b6a8 	.word	0x0000b6a8                                  <== NOT EXECUTED
    b654:	0000b690 	.word	0x0000b690                                  <== NOT EXECUTED
    b658:	0000b6cc 	.word	0x0000b6cc                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    b65c:	e2872054 	add	r2, r7, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    b660:	e2873050 	add	r3, r7, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    b664:	e5872050 	str	r2, [r7, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
    b668:	e3a02000 	mov	r2, #0                                        
    b66c:	e5872054 	str	r2, [r7, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
    b670:	e5873058 	str	r3, [r7, #88]	; 0x58                          
    b674:	ea00001c 	b	b6ec <IMFS_create_node+0xf8>                    
    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;                 
    b678:	e5963000 	ldr	r3, [r6]                                      
    b67c:	ea000013 	b	b6d0 <IMFS_create_node+0xdc>                    
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
    b680:	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;                   
    b684:	e5963000 	ldr	r3, [r6]                                      
      node->info.device.minor = info->device.minor;                   
    b688:	e5872054 	str	r2, [r7, #84]	; 0x54                          
    b68c:	ea00000f 	b	b6d0 <IMFS_create_node+0xdc>                    
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
    b690:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    b694:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    b698:	e5872050 	str	r2, [r7, #80]	; 0x50                          <== NOT EXECUTED
    b69c:	e5873054 	str	r3, [r7, #84]	; 0x54                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
    b6a0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    b6a4:	e5873058 	str	r3, [r7, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
    b6a8:	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;                            
    b6ac:	e3a01000 	mov	r1, #0                                        
    b6b0:	e3a02000 	mov	r2, #0                                        
    b6b4:	e5871050 	str	r1, [r7, #80]	; 0x50                          
    b6b8:	e5872054 	str	r2, [r7, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
    b6bc:	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;                            
    b6c0:	e5873058 	str	r3, [r7, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
    b6c4:	e587305c 	str	r3, [r7, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
      break;                                                          
    b6c8:	ea000007 	b	b6ec <IMFS_create_node+0xf8>                    
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
    b6cc:	e3a03000 	mov	r3, #0                                        
    b6d0:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      break;                                                          
    b6d4:	ea000004 	b	b6ec <IMFS_create_node+0xf8>                    
                                                                      
    default:                                                          
      assert(0);                                                      
    b6d8:	e59f0044 	ldr	r0, [pc, #68]	; b724 <IMFS_create_node+0x130> <== NOT EXECUTED
    b6dc:	e3a0105c 	mov	r1, #92	; 0x5c                                <== NOT EXECUTED
    b6e0:	e59f2040 	ldr	r2, [pc, #64]	; b728 <IMFS_create_node+0x134> <== NOT EXECUTED
    b6e4:	e59f3040 	ldr	r3, [pc, #64]	; b72c <IMFS_create_node+0x138> <== NOT EXECUTED
    b6e8:	ebfff600 	bl	8ef0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  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;                       
    b6ec:	e5943010 	ldr	r3, [r4, #16]                                 
    b6f0:	e5932034 	ldr	r2, [r3, #52]	; 0x34                          
                                                                      
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
    b6f4:	e5923000 	ldr	r3, [r2]                                      
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
    b6f8:	e5940000 	ldr	r0, [r4]                                      
  fs_info      = parent_loc->mt_entry->fs_info;                       
                                                                      
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
    b6fc:	e2833001 	add	r3, r3, #1                                    
    b700:	e5823000 	str	r3, [r2]                                      
   *  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;                       
                                                                      
  node->Parent = parent;                                              
    b704:	e5870008 	str	r0, [r7, #8]                                  
  node->st_ino = ++fs_info->ino_count;                                
    b708:	e5873038 	str	r3, [r7, #56]	; 0x38                          
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
    b70c:	e2800050 	add	r0, r0, #80	; 0x50                            
    b710:	e1a01007 	mov	r1, r7                                        
    b714:	ebffe721 	bl	53a0 <_Chain_Append>                           
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
    b718:	e1a00007 	mov	r0, r7                                        
    b71c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    b720:	000188b8 	.word	0x000188b8                                  
    b724:	00019a89 	.word	0x00019a89                                  
    b728:	000193b8 	.word	0x000193b8                                  
    b72c:	00019859 	.word	0x00019859                                  
                                                                      
00003324 <IMFS_dump_directory>:                                       
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
    3324:	e3500000 	cmp	r0, #0                                        
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
    3328:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
    332c:	e1a05001 	mov	r5, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
    3330:	059f00a4 	ldreq	r0, [pc, #164]	; 33dc <IMFS_dump_directory+0xb8>
    3334:	03a01084 	moveq	r1, #132	; 0x84                             
    3338:	059f20a0 	ldreq	r2, [pc, #160]	; 33e0 <IMFS_dump_directory+0xbc>
    333c:	059f30a0 	ldreq	r3, [pc, #160]	; 33e4 <IMFS_dump_directory+0xc0>
    3340:	0a000005 	beq	335c <IMFS_dump_directory+0x38>               
                                                                      
  assert( level >= 0 );                                               
    3344:	e3510000 	cmp	r1, #0                                        
    3348:	aa000004 	bge	3360 <IMFS_dump_directory+0x3c>               
    334c:	e59f0088 	ldr	r0, [pc, #136]	; 33dc <IMFS_dump_directory+0xb8><== NOT EXECUTED
    3350:	e59f2088 	ldr	r2, [pc, #136]	; 33e0 <IMFS_dump_directory+0xbc><== NOT EXECUTED
    3354:	e59f308c 	ldr	r3, [pc, #140]	; 33e8 <IMFS_dump_directory+0xc4><== NOT EXECUTED
    3358:	e3a01086 	mov	r1, #134	; 0x86                               <== NOT EXECUTED
    335c:	eb0001d7 	bl	3ac0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
    3360:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
    3364:	e3530001 	cmp	r3, #1                                        
    3368:	159f006c 	ldrne	r0, [pc, #108]	; 33dc <IMFS_dump_directory+0xb8>
    336c:	13a01088 	movne	r1, #136	; 0x88                             
    3370:	159f2068 	ldrne	r2, [pc, #104]	; 33e0 <IMFS_dump_directory+0xbc>
    3374:	159f3070 	ldrne	r3, [pc, #112]	; 33ec <IMFS_dump_directory+0xc8>
    3378:	1afffff7 	bne	335c <IMFS_dump_directory+0x38>               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    337c:	e280a054 	add	sl, r0, #84	; 0x54                            
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
    3380:	e5904050 	ldr	r4, [r0, #80]	; 0x50                          
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    3384:	e59f8064 	ldr	r8, [pc, #100]	; 33f0 <IMFS_dump_directory+0xcc>
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
    3388:	e2817001 	add	r7, r1, #1                                    
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
    338c:	ea00000f 	b	33d0 <IMFS_dump_directory+0xac>                 
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
    3390:	e3a06000 	mov	r6, #0                                        
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    3394:	e5983000 	ldr	r3, [r8]                                      
        !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++ )                                      
    3398:	e2866001 	add	r6, r6, #1                                    
      fprintf(stdout, "...." );                                       
    339c:	e5931008 	ldr	r1, [r3, #8]                                  
    33a0:	e59f004c 	ldr	r0, [pc, #76]	; 33f4 <IMFS_dump_directory+0xd0>
    33a4:	eb003905 	bl	117c0 <fputs>                                  
        !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++ )                                      
    33a8:	e1560005 	cmp	r6, r5                                        
    33ac:	dafffff8 	ble	3394 <IMFS_dump_directory+0x70>               
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    33b0:	e1a00004 	mov	r0, r4                                        
    33b4:	ebffff7e 	bl	31b4 <IMFS_print_jnode>                        
    if ( the_jnode->type == IMFS_DIRECTORY )                          
    33b8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
    33bc:	e3530001 	cmp	r3, #1                                        
      IMFS_dump_directory( the_jnode, level + 1 );                    
    33c0:	01a00004 	moveq	r0, r4                                      
    33c4:	01a01007 	moveq	r1, r7                                      
    33c8:	0bffffd5 	bleq	3324 <IMFS_dump_directory>                   
                                                                      
  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 ) {                                 
    33cc:	e5944000 	ldr	r4, [r4]                                      
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
    33d0:	e154000a 	cmp	r4, sl                                        
    33d4:	1affffed 	bne	3390 <IMFS_dump_directory+0x6c>               
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
    33d8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    33dc:	00022cbe 	.word	0x00022cbe                                  
    33e0:	00021880 	.word	0x00021880                                  
    33e4:	00022d74 	.word	0x00022d74                                  
    33e8:	00022d82 	.word	0x00022d82                                  
    33ec:	00022d8d 	.word	0x00022d8d                                  
    33f0:	00021314 	.word	0x00021314                                  
    33f4:	00022db3 	.word	0x00022db3                                  
                                                                      
0000833c <IMFS_eval_path>:                                            
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
    833c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    8340:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    8344:	e1a04003 	mov	r4, r3                                        
    8348:	e1a0a000 	mov	sl, r0                                        
    834c:	e1a06001 	mov	r6, r1                                        
    8350:	e58d2000 	str	r2, [sp]                                      
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
    8354:	e5935000 	ldr	r5, [r3]                                      
    8358:	e3a09001 	mov	r9, #1                                        
    835c:	e3a07000 	mov	r7, #0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    8360:	e28d8004 	add	r8, sp, #4                                    
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
    8364:	ea000054 	b	84bc <IMFS_eval_path+0x180>                     
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    8368:	e28d303c 	add	r3, sp, #60	; 0x3c                            
    836c:	e08a0007 	add	r0, sl, r7                                    
    8370:	e1a01006 	mov	r1, r6                                        
    8374:	e1a02008 	mov	r2, r8                                        
    8378:	eb0001e7 	bl	8b1c <IMFS_get_token>                          
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
    837c:	e5943000 	ldr	r3, [r4]                                      
    8380:	e3530000 	cmp	r3, #0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    8384:	e1a09000 	mov	r9, r0                                        
    pathnamelen -= len;                                               
    8388:	e59db03c 	ldr	fp, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
    838c:	0a000042 	beq	849c <IMFS_eval_path+0x160>                   
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
    8390:	e3500000 	cmp	r0, #0                                        
    8394:	0a000006 	beq	83b4 <IMFS_eval_path+0x78>                    
      if ( node->type == IMFS_DIRECTORY )                             
    8398:	e595104c 	ldr	r1, [r5, #76]	; 0x4c                          
    839c:	e3510001 	cmp	r1, #1                                        
    83a0:	1a000003 	bne	83b4 <IMFS_eval_path+0x78>                    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
    83a4:	e1a00004 	mov	r0, r4                                        
    83a8:	ebffff7f 	bl	81ac <IMFS_evaluate_permission>                
    83ac:	e3500000 	cmp	r0, #0                                        
    83b0:	0a000068 	beq	8558 <IMFS_eval_path+0x21c>                   
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
    83b4:	e3590003 	cmp	r9, #3                                        
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
    i += len;                                                         
    83b8:	e087700b 	add	r7, r7, fp                                    
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
    83bc:	e06b6006 	rsb	r6, fp, r6                                    
    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;                                      
    83c0:	e5945000 	ldr	r5, [r4]                                      
                                                                      
    switch( type ) {                                                  
    83c4:	0a000013 	beq	8418 <IMFS_eval_path+0xdc>                    
    83c8:	e3590004 	cmp	r9, #4                                        
    83cc:	0a000037 	beq	84b0 <IMFS_eval_path+0x174>                   
    83d0:	e3590002 	cmp	r9, #2                                        
    83d4:	1a000038 	bne	84bc <IMFS_eval_path+0x180>                   
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
    83d8:	e59f2194 	ldr	r2, [pc, #404]	; 8574 <IMFS_eval_path+0x238>  
    83dc:	e5923000 	ldr	r3, [r2]                                      
    83e0:	e5933018 	ldr	r3, [r3, #24]                                 
    83e4:	e1550003 	cmp	r5, r3                                        
    83e8:	0a000033 	beq	84bc <IMFS_eval_path+0x180>                   
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
    83ec:	e594e010 	ldr	lr, [r4, #16]                                 
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
    83f0:	e59e301c 	ldr	r3, [lr, #28]                                 
    83f4:	e1550003 	cmp	r5, r3                                        
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
    83f8:	028ee008 	addeq	lr, lr, #8                                  
    83fc:	0a000038 	beq	84e4 <IMFS_eval_path+0x1a8>                   
                                               pathnamelen+len,       
                                               flags,pathloc);        
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
    8400:	e5955008 	ldr	r5, [r5, #8]                                  
    8404:	e3550000 	cmp	r5, #0                                        
    8408:	1a000026 	bne	84a8 <IMFS_eval_path+0x16c>                   
            rtems_set_errno_and_return_minus_one( ENOENT );           
    840c:	eb001237 	bl	ccf0 <__errno>                                 
    8410:	e5809000 	str	r9, [r0]                                      
    8414:	ea000052 	b	8564 <IMFS_eval_path+0x228>                     
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
    8418:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
    841c:	e3530003 	cmp	r3, #3                                        
    8420:	1a000006 	bne	8440 <IMFS_eval_path+0x104>                   
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
    8424:	e1a00004 	mov	r0, r4                                        
    8428:	e3a01000 	mov	r1, #0                                        
    842c:	ebffff71 	bl	81f8 <IMFS_evaluate_hard_link>                 
                                                                      
          node = pathloc->node_access;                                
    8430:	e5945000 	ldr	r5, [r4]                                      
          if ( !node )                                                
    8434:	e3550000 	cmp	r5, #0                                        
    8438:	1a000009 	bne	8464 <IMFS_eval_path+0x128>                   
    843c:	ea00000b 	b	8470 <IMFS_eval_path+0x134>                     <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
    8440:	e3530004 	cmp	r3, #4                                        
    8444:	1a000006 	bne	8464 <IMFS_eval_path+0x128>                   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
    8448:	e1a00004 	mov	r0, r4                                        
    844c:	e3a01000 	mov	r1, #0                                        
    8450:	ebffff7f 	bl	8254 <IMFS_evaluate_sym_link>                  
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
    8454:	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 );              
    8458:	e1a0b000 	mov	fp, r0                                        
                                                                      
          node = pathloc->node_access;                                
    845c:	e5945000 	ldr	r5, [r4]                                      
          if ( result == -1 )                                         
    8460:	0a000040 	beq	8568 <IMFS_eval_path+0x22c>                   
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
    8464:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
    8468:	e3530001 	cmp	r3, #1                                        
    846c:	0a000002 	beq	847c <IMFS_eval_path+0x140>                   
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
    8470:	eb00121e 	bl	ccf0 <__errno>                                 
    8474:	e3a03014 	mov	r3, #20                                       
    8478:	ea000038 	b	8560 <IMFS_eval_path+0x224>                     
	/*                                                                   
	 *  If we are at a node that is a mount point. Set loc to the        
	 *  new fs root node and let them finish evaluating the path.        
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
    847c:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
    8480:	e35e0000 	cmp	lr, #0                                        
    8484:	1a000015 	bne	84e0 <IMFS_eval_path+0x1a4>                   
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
    8488:	e1a00005 	mov	r0, r5                                        
    848c:	e1a01008 	mov	r1, r8                                        
    8490:	eb000179 	bl	8a7c <IMFS_find_match_in_dir>                  
        if ( !node )                                                  
    8494:	e2505000 	subs	r5, r0, #0                                   
    8498:	1a000002 	bne	84a8 <IMFS_eval_path+0x16c>                   
          rtems_set_errno_and_return_minus_one( ENOENT );             
    849c:	eb001213 	bl	ccf0 <__errno>                                 
    84a0:	e3a03002 	mov	r3, #2                                        
    84a4:	ea00002d 	b	8560 <IMFS_eval_path+0x224>                     
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
    84a8:	e5845000 	str	r5, [r4]                                      
    84ac:	ea000002 	b	84bc <IMFS_eval_path+0x180>                     
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
    84b0:	eb00120e 	bl	ccf0 <__errno>                                 
    84b4:	e3a0305b 	mov	r3, #91	; 0x5b                                
    84b8:	ea000028 	b	8560 <IMFS_eval_path+0x224>                     
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
    84bc:	e3590004 	cmp	r9, #4                                        
    84c0:	13590000 	cmpne	r9, #0                                      
    84c4:	1affffa7 	bne	8368 <IMFS_eval_path+0x2c>                    
   *  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 ) {                               
    84c8:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
    84cc:	e3530001 	cmp	r3, #1                                        
    84d0:	1a000018 	bne	8538 <IMFS_eval_path+0x1fc>                   
    if ( node->info.directory.mt_fs != NULL ) {                       
    84d4:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
    84d8:	e35e0000 	cmp	lr, #0                                        
    84dc:	0a000015 	beq	8538 <IMFS_eval_path+0x1fc>                   
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
    84e0:	e28ee01c 	add	lr, lr, #28                                   
    84e4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    84e8:	e28dc028 	add	ip, sp, #40	; 0x28                            
    84ec:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
    84f0:	e28d5028 	add	r5, sp, #40	; 0x28                            
    84f4:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
    84f8:	e1a05004 	mov	r5, r4                                        
   *  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;              
    84fc:	e59ee000 	ldr	lr, [lr]                                      
      *pathloc = newloc;                                              
    8500:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
    8504:	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;                                              
    8508:	e585e000 	str	lr, [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;              
    850c:	e58ce000 	str	lr, [ip]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
    8510:	e0610007 	rsb	r0, r1, r7                                    
    8514:	e08a0000 	add	r0, sl, r0                                    
    8518:	e0861001 	add	r1, r6, r1                                    
    851c:	e59d2000 	ldr	r2, [sp]                                      
    8520:	e1a03004 	mov	r3, r4                                        
    8524:	e594c00c 	ldr	ip, [r4, #12]                                 
    8528:	e1a0e00f 	mov	lr, pc                                        
    852c:	e59cf000 	ldr	pc, [ip]                                      
    8530:	e1a0b000 	mov	fp, r0                                        
    8534:	ea00000b 	b	8568 <IMFS_eval_path+0x22c>                     
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
    8538:	e1a00004 	mov	r0, r4                                        
    853c:	ebfffefc 	bl	8134 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    8540:	e59d1000 	ldr	r1, [sp]                                      
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
    8544:	e1a0b000 	mov	fp, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    8548:	e1a00004 	mov	r0, r4                                        
    854c:	ebffff16 	bl	81ac <IMFS_evaluate_permission>                
    8550:	e3500000 	cmp	r0, #0                                        
    8554:	1a000003 	bne	8568 <IMFS_eval_path+0x22c>                   
    rtems_set_errno_and_return_minus_one( EACCES );                   
    8558:	eb0011e4 	bl	ccf0 <__errno>                                 
    855c:	e3a0300d 	mov	r3, #13                                       
    8560:	e5803000 	str	r3, [r0]                                      
    8564:	e3e0b000 	mvn	fp, #0                                        
                                                                      
  return result;                                                      
}                                                                     
    8568:	e1a0000b 	mov	r0, fp                                        
    856c:	e28dd040 	add	sp, sp, #64	; 0x40                            
    8570:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    8574:	000188b8 	.word	0x000188b8                                  
                                                                      
0000862c <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    */       
)                                                                     
{                                                                     
    862c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    8630:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    8634:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
    8638:	e5916000 	ldr	r6, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
    863c:	e58d2000 	str	r2, [sp]                                      
    8640:	e1a07000 	mov	r7, r0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
    8644:	eb00159a 	bl	dcb4 <strlen>                                  
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
    8648:	e59fa224 	ldr	sl, [pc, #548]	; 8874 <IMFS_evaluate_for_make+0x248>
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
    864c:	e3a05000 	mov	r5, #0                                        
    8650:	e1a08000 	mov	r8, r0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    8654:	e1a01008 	mov	r1, r8                                        
    8658:	e28d303c 	add	r3, sp, #60	; 0x3c                            
    865c:	e0870005 	add	r0, r7, r5                                    
    8660:	e28d2004 	add	r2, sp, #4                                    
    8664:	eb00012c 	bl	8b1c <IMFS_get_token>                          
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
    8668:	e5943000 	ldr	r3, [r4]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    866c:	e59db03c 	ldr	fp, [sp, #60]	; 0x3c                          
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
    8670:	e3530000 	cmp	r3, #0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    8674:	e1a09000 	mov	r9, r0                                        
    pathlen -= len;                                                   
    8678:	e06b8008 	rsb	r8, fp, r8                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
    867c:	0a000060 	beq	8804 <IMFS_evaluate_for_make+0x1d8>           
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
    8680:	e3500000 	cmp	r0, #0                                        
    8684:	0a000006 	beq	86a4 <IMFS_evaluate_for_make+0x78>            
      if ( node->type == IMFS_DIRECTORY )                             
    8688:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
    868c:	e3510001 	cmp	r1, #1                                        
    8690:	1a000003 	bne	86a4 <IMFS_evaluate_for_make+0x78>            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
    8694:	e1a00004 	mov	r0, r4                                        
    8698:	ebfffec3 	bl	81ac <IMFS_evaluate_permission>                
    869c:	e3500000 	cmp	r0, #0                                        
    86a0:	0a00006c 	beq	8858 <IMFS_evaluate_for_make+0x22c>           
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
    86a4:	e5943000 	ldr	r3, [r4]                                      
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
    86a8:	e085500b 	add	r5, r5, 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;                                      
    86ac:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
    86b0:	e3590004 	cmp	r9, #4                                        
    86b4:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
    86b8:	eaffffe5 	b	8654 <IMFS_evaluate_for_make+0x28>              <== NOT EXECUTED
    86bc:	000087c0 	.word	0x000087c0                                  <== NOT EXECUTED
    86c0:	00008654 	.word	0x00008654                                  <== NOT EXECUTED
    86c4:	000086d0 	.word	0x000086d0                                  <== NOT EXECUTED
    86c8:	00008704 	.word	0x00008704                                  <== NOT EXECUTED
    86cc:	000087cc 	.word	0x000087cc                                  <== NOT EXECUTED
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
    86d0:	e59a2000 	ldr	r2, [sl]                                      
    86d4:	e5922018 	ldr	r2, [r2, #24]                                 
    86d8:	e1530002 	cmp	r3, r2                                        
    86dc:	0affffdc 	beq	8654 <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){
    86e0:	e594e010 	ldr	lr, [r4, #16]                                 
    86e4:	e59e201c 	ldr	r2, [lr, #28]                                 
    86e8:	e1530002 	cmp	r3, r2                                        
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
    86ec:	028ee008 	addeq	lr, lr, #8                                  
    86f0:	0a000018 	beq	8758 <IMFS_evaluate_for_make+0x12c>           
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
    86f4:	e5936008 	ldr	r6, [r3, #8]                                  
    86f8:	e3560000 	cmp	r6, #0                                        
    86fc:	1a00002d 	bne	87b8 <IMFS_evaluate_for_make+0x18c>           
    8700:	ea00003f 	b	8804 <IMFS_evaluate_for_make+0x1d8>             
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
    8704:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
    8708:	e3530003 	cmp	r3, #3                                        
    870c:	0a000001 	beq	8718 <IMFS_evaluate_for_make+0xec>            
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
    8710:	e3530004 	cmp	r3, #4                                        
    8714:	1a000005 	bne	8730 <IMFS_evaluate_for_make+0x104>           
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
    8718:	e1a00004 	mov	r0, r4                                        
    871c:	e3a01000 	mov	r1, #0                                        
    8720:	ebffff94 	bl	8578 <IMFS_evaluate_link>                      
                                                                      
          if ( result == -1 )                                         
    8724:	e3700001 	cmn	r0, #1                                        
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
    8728:	e1a06000 	mov	r6, r0                                        
                                                                      
          if ( result == -1 )                                         
    872c:	0a00004d 	beq	8868 <IMFS_evaluate_for_make+0x23c>           
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
    8730:	e5940000 	ldr	r0, [r4]                                      
        if ( !node )                                                  
    8734:	e3500000 	cmp	r0, #0                                        
    8738:	0a00003e 	beq	8838 <IMFS_evaluate_for_make+0x20c>           
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
    873c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
    8740:	e3530001 	cmp	r3, #1                                        
    8744:	1a00003b 	bne	8838 <IMFS_evaluate_for_make+0x20c>           
	/*                                                                   
	 * 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 ) {                   
    8748:	e590e05c 	ldr	lr, [r0, #92]	; 0x5c                          
    874c:	e35e0000 	cmp	lr, #0                                        
    8750:	0a000014 	beq	87a8 <IMFS_evaluate_for_make+0x17c>           
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
    8754:	e28ee01c 	add	lr, lr, #28                                   
    8758:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    875c:	e28dc028 	add	ip, sp, #40	; 0x28                            
    8760:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
    8764:	e28d6028 	add	r6, sp, #40	; 0x28                            
    8768:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
    876c:	e1a06004 	mov	r6, r4                                        
	 * 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;           
    8770:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
    8774:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
    8778:	e59d303c 	ldr	r3, [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;                                          
    877c:	e586e000 	str	lr, [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;           
    8780:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
    8784:	e0635005 	rsb	r5, r3, r5                                    
    8788:	e0870005 	add	r0, r7, r5                                    
    878c:	e1a01004 	mov	r1, r4                                        
    8790:	e59d2000 	ldr	r2, [sp]                                      
    8794:	e594300c 	ldr	r3, [r4, #12]                                 
    8798:	e1a0e00f 	mov	lr, pc                                        
    879c:	e593f004 	ldr	pc, [r3, #4]                                  
    87a0:	e1a06000 	mov	r6, r0                                        
    87a4:	ea00002f 	b	8868 <IMFS_evaluate_for_make+0x23c>             
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
    87a8:	e28d1004 	add	r1, sp, #4                                    
    87ac:	eb0000b2 	bl	8a7c <IMFS_find_match_in_dir>                  
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
    87b0:	e2506000 	subs	r6, r0, #0                                   
    87b4:	0a000007 	beq	87d8 <IMFS_evaluate_for_make+0x1ac>           
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
    87b8:	e5846000 	str	r6, [r4]                                      
    87bc:	eaffffa4 	b	8654 <IMFS_evaluate_for_make+0x28>              
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
    87c0:	eb00114a 	bl	ccf0 <__errno>                                 
    87c4:	e3a03011 	mov	r3, #17                                       
    87c8:	ea000024 	b	8860 <IMFS_evaluate_for_make+0x234>             
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
    87cc:	eb001147 	bl	ccf0 <__errno>                                 
    87d0:	e3a0305b 	mov	r3, #91	; 0x5b                                
    87d4:	ea000021 	b	8860 <IMFS_evaluate_for_make+0x234>             
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
    87d8:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
    87dc:	e59d2000 	ldr	r2, [sp]                                      
    87e0:	e0633005 	rsb	r3, r3, r5                                    
    87e4:	e0873003 	add	r3, r7, r3                                    
    87e8:	e5823000 	str	r3, [r2]                                      
    87ec:	e0875005 	add	r5, r7, r5                                    
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    87f0:	ea000006 	b	8810 <IMFS_evaluate_for_make+0x1e4>             
    if ( !IMFS_is_separator( path[ i ] ) )                            
    87f4:	e353005c 	cmp	r3, #92	; 0x5c                                
    87f8:	1353002f 	cmpne	r3, #47	; 0x2f                              
  /*                                                                  
   * 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++) {                                      
    87fc:	e2855001 	add	r5, r5, #1                                    
    if ( !IMFS_is_separator( path[ i ] ) )                            
    8800:	0a000002 	beq	8810 <IMFS_evaluate_for_make+0x1e4>           
      rtems_set_errno_and_return_minus_one( ENOENT );                 
    8804:	eb001139 	bl	ccf0 <__errno>                                 
    8808:	e3a03002 	mov	r3, #2                                        
    880c:	ea000013 	b	8860 <IMFS_evaluate_for_make+0x234>             
  /*                                                                  
   * 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++) {                                      
    8810:	e5d53000 	ldrb	r3, [r5]                                     
    8814:	e3530000 	cmp	r3, #0                                        
    8818:	1afffff5 	bne	87f4 <IMFS_evaluate_for_make+0x1c8>           
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
    881c:	e1a00004 	mov	r0, r4                                        
    8820:	ebfffe43 	bl	8134 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
    8824:	e5943000 	ldr	r3, [r4]                                      
    8828:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
    882c:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
    8830:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
    8834:	0a000002 	beq	8844 <IMFS_evaluate_for_make+0x218>           
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    8838:	eb00112c 	bl	ccf0 <__errno>                                 
    883c:	e3a03014 	mov	r3, #20                                       
    8840:	ea000006 	b	8860 <IMFS_evaluate_for_make+0x234>             
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    8844:	e1a00004 	mov	r0, r4                                        
    8848:	e3a01003 	mov	r1, #3                                        
    884c:	ebfffe56 	bl	81ac <IMFS_evaluate_permission>                
    8850:	e3500000 	cmp	r0, #0                                        
    8854:	1a000003 	bne	8868 <IMFS_evaluate_for_make+0x23c>           
    rtems_set_errno_and_return_minus_one( EACCES );                   
    8858:	eb001124 	bl	ccf0 <__errno>                                 
    885c:	e3a0300d 	mov	r3, #13                                       
    8860:	e5803000 	str	r3, [r0]                                      
    8864:	e3e06000 	mvn	r6, #0                                        
                                                                      
  return result;                                                      
}                                                                     
    8868:	e1a00006 	mov	r0, r6                                        
    886c:	e28dd040 	add	sp, sp, #64	; 0x40                            
    8870:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    8874:	000188b8 	.word	0x000188b8                                  
                                                                      
000081f8 <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;       
    81f8:	e5903000 	ldr	r3, [r0]                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    81fc:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
    8200:	e3520003 	cmp	r2, #3                                        
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
    8204:	e92d4030 	push	{r4, r5, lr}                                 
    8208:	e1a04000 	mov	r4, r0                                        
    820c:	e1a05001 	mov	r5, r1                                        
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
    8210:	159f0038 	ldrne	r0, [pc, #56]	; 8250 <IMFS_evaluate_hard_link+0x58>
    8214:	1bfff3a7 	blne	50b8 <rtems_fatal_error_occurred>            
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
    8218:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
    821c:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
    8220:	ebffffc3 	bl	8134 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    8224:	e1a00004 	mov	r0, r4                                        
    8228:	e1a01005 	mov	r1, r5                                        
    822c:	ebffffde 	bl	81ac <IMFS_evaluate_permission>                
    8230:	e3500000 	cmp	r0, #0                                        
    8234:	13a00000 	movne	r0, #0                                      
    8238:	18bd8030 	popne	{r4, r5, pc}                                
    rtems_set_errno_and_return_minus_one( EACCES );                   
    823c:	eb0012ab 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8240:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
    8244:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8248:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
    824c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    8250:	abcd0000 	.word	0xabcd0000                                  
                                                                      
00008254 <IMFS_evaluate_sym_link>:                                    
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
    8254:	e92d4070 	push	{r4, r5, r6, lr}                             
  IMFS_jnode_t                     *jnode  = node->node_access;       
    8258:	e590e000 	ldr	lr, [r0]                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    825c:	e59e304c 	ldr	r3, [lr, #76]	; 0x4c                          
    8260:	e3530004 	cmp	r3, #4                                        
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
    8264:	e1a04000 	mov	r4, r0                                        
    8268:	e1a05001 	mov	r5, r1                                        
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
    826c:	159f00bc 	ldrne	r0, [pc, #188]	; 8330 <IMFS_evaluate_sym_link+0xdc>
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    8270:	1a000003 	bne	8284 <IMFS_evaluate_sym_link+0x30>            
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    8274:	e59e3008 	ldr	r3, [lr, #8]                                  
    8278:	e3530000 	cmp	r3, #0                                        
    827c:	1a000001 	bne	8288 <IMFS_evaluate_sym_link+0x34>            
    rtems_fatal_error_occurred( 0xBAD00000 );                         
    8280:	e59f00ac 	ldr	r0, [pc, #172]	; 8334 <IMFS_evaluate_sym_link+0xe0><== NOT EXECUTED
    8284:	ebfff38b 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
    8288:	e5843000 	str	r3, [r4]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
    828c:	e59e3050 	ldr	r3, [lr, #80]	; 0x50                          
    8290:	e5d33000 	ldrb	r3, [r3]                                     
    8294:	e353002f 	cmp	r3, #47	; 0x2f                                
    8298:	1353005c 	cmpne	r3, #92	; 0x5c                              
    829c:	13a06000 	movne	r6, #0                                      
    82a0:	03a06001 	moveq	r6, #1                                      
    82a4:	0a000001 	beq	82b0 <IMFS_evaluate_sym_link+0x5c>            
    82a8:	e3530000 	cmp	r3, #0                                        
    82ac:	1a000008 	bne	82d4 <IMFS_evaluate_sym_link+0x80>            
    82b0:	e59f3080 	ldr	r3, [pc, #128]	; 8338 <IMFS_evaluate_sym_link+0xe4>
    82b4:	e593c000 	ldr	ip, [r3]                                      
    82b8:	e28cc018 	add	ip, ip, #24                                   
    82bc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    82c0:	e1a06004 	mov	r6, r4                                        
    82c4:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
    82c8:	e59c2000 	ldr	r2, [ip]                                      
    82cc:	e5862000 	str	r2, [r6]                                      
    82d0:	e3a06001 	mov	r6, #1                                        
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
    82d4:	e59e3050 	ldr	r3, [lr, #80]	; 0x50                          
    82d8:	e0836006 	add	r6, r3, r6                                    
    82dc:	e1a00006 	mov	r0, r6                                        
    82e0:	eb001673 	bl	dcb4 <strlen>                                  
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    82e4:	e1a02005 	mov	r2, r5                                        
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
    82e8:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    82ec:	e1a03004 	mov	r3, r4                                        
    82f0:	e1a00006 	mov	r0, r6                                        
    82f4:	eb000010 	bl	833c <IMFS_eval_path>                          
    82f8:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
    82fc:	e1a00004 	mov	r0, r4                                        
    8300:	ebffff8b 	bl	8134 <IMFS_Set_handlers>                       
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    8304:	e1a00004 	mov	r0, r4                                        
    8308:	e1a01005 	mov	r1, r5                                        
    830c:	ebffffa6 	bl	81ac <IMFS_evaluate_permission>                
    8310:	e3500000 	cmp	r0, #0                                        
    8314:	1a000003 	bne	8328 <IMFS_evaluate_sym_link+0xd4>            
    rtems_set_errno_and_return_minus_one( EACCES );                   
    8318:	eb001274 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    831c:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
    8320:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8324:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
    8328:	e1a00006 	mov	r0, r6                                        
    832c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    8330:	abcd0000 	.word	0xabcd0000                                  
    8334:	bad00000 	.word	0xbad00000                                  
    8338:	000188b8 	.word	0x000188b8                                  
                                                                      
0000b730 <IMFS_fchmod>:                                               
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
    b730:	e92d4073 	push	{r0, r1, r4, r5, r6, lr}                     
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
    b734:	e5904000 	ldr	r4, [r0]                                      
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
    b738:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
    b73c:	ebfff677 	bl	9120 <geteuid>                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    b740:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
    b744:	e3500000 	cmp	r0, #0                                        
    b748:	11550000 	cmpne	r5, r0                                      
    b74c:	03a05000 	moveq	r5, #0                                      
    b750:	13a05001 	movne	r5, #1                                      
    b754:	0a000004 	beq	b76c <IMFS_fchmod+0x3c>                       
    rtems_set_errno_and_return_minus_one( EPERM );                    
    b758:	eb000564 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    b75c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
    b760:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    b764:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    b768:	ea00000c 	b	b7a0 <IMFS_fchmod+0x70>                         <== NOT EXECUTED
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
    b76c:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
    b770:	e1a06a06 	lsl	r6, r6, #20                                   
    b774:	e3c33eff 	bic	r3, r3, #4080	; 0xff0                         
    b778:	e3c3300f 	bic	r3, r3, #15                                   
    b77c:	e1a06a26 	lsr	r6, r6, #20                                   
    b780:	e1866003 	orr	r6, r6, r3                                    
    b784:	e5846030 	str	r6, [r4, #48]	; 0x30                          
                                                                      
  IMFS_update_ctime( jnode );                                         
    b788:	e1a0000d 	mov	r0, sp                                        
    b78c:	e1a01005 	mov	r1, r5                                        
    b790:	ebfff667 	bl	9134 <gettimeofday>                            
    b794:	e59d3000 	ldr	r3, [sp]                                      
    b798:	e5843048 	str	r3, [r4, #72]	; 0x48                          
    b79c:	e1a00005 	mov	r0, r5                                        
                                                                      
  return 0;                                                           
}                                                                     
    b7a0:	e8bd807c 	pop	{r2, r3, r4, r5, r6, pc}                      
                                                                      
000089d8 <IMFS_fifo_close>:                                           
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    89d8:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
    89dc:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
    89e0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    89e4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
    89e8:	e2840050 	add	r0, r4, #80	; 0x50                            <== NOT EXECUTED
    89ec:	eb0009b1 	bl	b0b8 <pipe_release>                            <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
    89f0:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
    89f4:	1a00000c 	bne	8a2c <IMFS_fifo_close+0x54>                   <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    89f8:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
    89fc:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
    8a00:	e5853014 	str	r3, [r5, #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)     
    8a04:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8a08:	eb0001fd 	bl	9204 <rtems_libio_is_file_open>                <== NOT EXECUTED
    8a0c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    8a10:	1a00000a 	bne	8a40 <IMFS_fifo_close+0x68>                   <== NOT EXECUTED
    8a14:	e1d433b4 	ldrh	r3, [r4, #52]	; 0x34                         <== NOT EXECUTED
    8a18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    8a1c:	1a000007 	bne	8a40 <IMFS_fifo_close+0x68>                   <== NOT EXECUTED
      free(jnode);                                                    
    8a20:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    8a24:	ebffe3c7 	bl	1948 <free>                                    <== NOT EXECUTED
    8a28:	ea000004 	b	8a40 <IMFS_fifo_close+0x68>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
    8a2c:	aa000003 	bge	8a40 <IMFS_fifo_close+0x68>                   <== NOT EXECUTED
    8a30:	eb0010ae 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8a34:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
    8a38:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
    8a3c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
}                                                                     
    8a40:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    8a44:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
000088c0 <IMFS_fifo_ioctl>:                                           
  void          *buffer                                               
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    88c0:	e59f3068 	ldr	r3, [pc, #104]	; 8930 <IMFS_fifo_ioctl+0x70>  <== NOT EXECUTED
    88c4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
    88c8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    88cc:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    88d0:	1a00000b 	bne	8904 <IMFS_fifo_ioctl+0x44>                   <== NOT EXECUTED
    if (buffer == NULL)                                               
    88d4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    88d8:	03e0400d 	mvneq	r4, #13                                     <== NOT EXECUTED
    88dc:	0a00000d 	beq	8918 <IMFS_fifo_ioctl+0x58>                   <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
    88e0:	e5924000 	ldr	r4, [r2]                                      <== NOT EXECUTED
    88e4:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
    88e8:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
    88ec:	13822001 	orrne	r2, r2, #1                                  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
    88f0:	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;                           
    88f4:	15832014 	strne	r2, [r3, #20]                               <== NOT EXECUTED
    88f8:	13a04000 	movne	r4, #0                                      <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
    88fc:	05832014 	streq	r2, [r3, #20]                               <== NOT EXECUTED
    8900:	ea000008 	b	8928 <IMFS_fifo_ioctl+0x68>                     <== NOT EXECUTED
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
    8904:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
    8908:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
    890c:	eb0008ff 	bl	ad10 <pipe_ioctl>                              <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
    8910:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
    8914:	aa000003 	bge	8928 <IMFS_fifo_ioctl+0x68>                   <== NOT EXECUTED
    8918:	eb0010f4 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    891c:	e2644000 	rsb	r4, r4, #0                                    <== NOT EXECUTED
    8920:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
    8924:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
}                                                                     
    8928:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    892c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    8930:	8004667e 	.word	0x8004667e                                  
                                                                      
00008878 <IMFS_fifo_lseek>:                                           
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
    8878:	e92d4031 	push	{r0, r4, r5, lr}                             <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
    887c:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
    8880:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          <== NOT EXECUTED
    8884:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
    8888:	eb000906 	bl	aca8 <pipe_lseek>                              <== NOT EXECUTED
    888c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    8890:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
    8894:	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);       
    8898:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
    889c:	aa000004 	bge	88b4 <IMFS_fifo_lseek+0x3c>                   <== NOT EXECUTED
    88a0:	eb001112 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    88a4:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
    88a8:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
    88ac:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
    88b0:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
}                                                                     
    88b4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    88b8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    88bc:	e8bd8038 	pop	{r3, r4, r5, pc}                              <== NOT EXECUTED
                                                                      
00008988 <IMFS_fifo_read>:                                            
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    8988:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
    898c:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    8990:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
    8994:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
    8998:	eb0008f4 	bl	ad70 <pipe_read>                               <== NOT EXECUTED
  if (err > 0)                                                        
    899c:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
    89a0:	da000005 	ble	89bc <IMFS_fifo_read+0x34>                    <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
    89a4:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    89a8:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    89ac:	eb0001e0 	bl	9134 <gettimeofday>                            <== NOT EXECUTED
    89b0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    89b4:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
    89b8:	ea000004 	b	89d0 <IMFS_fifo_read+0x48>                      <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
    89bc:	0a000003 	beq	89d0 <IMFS_fifo_read+0x48>                    <== NOT EXECUTED
    89c0:	eb0010ca 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    89c4:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
    89c8:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
    89cc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
}                                                                     
    89d0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    89d4:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
00008934 <IMFS_fifo_write>:                                           
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    8934:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
    8938:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    893c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
    8940:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
    8944:	eb000965 	bl	aee0 <pipe_write>                              <== NOT EXECUTED
  if (err > 0) {                                                      
    8948:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
    894c:	da000006 	ble	896c <IMFS_fifo_write+0x38>                   <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
    8950:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    8954:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    8958:	eb0001f5 	bl	9134 <gettimeofday>                            <== NOT EXECUTED
    895c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    8960:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
    8964:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
    8968:	ea000004 	b	8980 <IMFS_fifo_write+0x4c>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
    896c:	0a000003 	beq	8980 <IMFS_fifo_write+0x4c>                   <== NOT EXECUTED
    8970:	eb0010de 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8974:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
    8978:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
    897c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
}                                                                     
    8980:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    8984:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
0000d610 <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                 
)                                                                     
{                                                                     
    d610:	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;     
    d614:	e1a0c000 	mov	ip, r0                                        
    d618:	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                 
)                                                                     
{                                                                     
    d61c:	e1a05000 	mov	r5, r0                                        
    d620:	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;                                   
    d624:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    d628:	e1a0e00d 	mov	lr, sp                                        
    d62c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    d630:	e59c3000 	ldr	r3, [ip]                                      
    d634:	e58e3000 	str	r3, [lr]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
    d638:	e3a03000 	mov	r3, #0                                        
    d63c:	e585301c 	str	r3, [r5, #28]                                 
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
    d640:	e1a0500d 	mov	r5, sp                                        
    d644:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
    d648:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
    d64c:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
    d650:	ebfffd9a 	bl	ccc0 <IMFS_Set_handlers>                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
    d654:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
    d658:	e3520001 	cmp	r2, #1                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    d65c:	e2843054 	add	r3, r4, #84	; 0x54                            
    d660:	1a000002 	bne	d670 <IMFS_fsunmount+0x60>                    
    d664:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
    d668:	e1520003 	cmp	r2, r3                                        
    d66c:	1a000005 	bne	d688 <IMFS_fsunmount+0x78>                    
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
    d670:	e3a00000 	mov	r0, #0                                        
    d674:	e1a0100d 	mov	r1, sp                                        
    d678:	ebffd430 	bl	2740 <IMFS_unlink>                             
        if (result != 0)                                              
    d67c:	e3500000 	cmp	r0, #0                                        
    d680:	1a00000c 	bne	d6b8 <IMFS_fsunmount+0xa8>                    
    d684:	e1a04006 	mov	r4, r6                                        
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
    d688:	e3540000 	cmp	r4, #0                                        
    d68c:	0a00000b 	beq	d6c0 <IMFS_fsunmount+0xb0>                    
       if ( jnode->type == IMFS_DIRECTORY ) {                         
    d690:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
    d694:	e3530001 	cmp	r3, #1                                        
    d698:	1affffe9 	bne	d644 <IMFS_fsunmount+0x34>                    
    d69c:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
    d6a0:	e2842054 	add	r2, r4, #84	; 0x54                            
    d6a4:	e1530002 	cmp	r3, r2                                        
    d6a8:	0affffe5 	beq	d644 <IMFS_fsunmount+0x34>                    
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
    d6ac:	e2534000 	subs	r4, r3, #0                                   
    d6b0:	1affffe3 	bne	d644 <IMFS_fsunmount+0x34>                    
    d6b4:	ea000001 	b	d6c0 <IMFS_fsunmount+0xb0>                      <== NOT EXECUTED
    d6b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    d6bc:	ea000000 	b	d6c4 <IMFS_fsunmount+0xb4>                      <== NOT EXECUTED
    d6c0:	e3a00000 	mov	r0, #0                                        
                                                                      
   return 0;                                                          
}                                                                     
    d6c4:	e28dd014 	add	sp, sp, #20                                   
    d6c8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
00008be4 <IMFS_initialize_support>:                                   
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
    8be4:	e59fc0c8 	ldr	ip, [pc, #200]	; 8cb4 <IMFS_initialize_support+0xd0>
    8be8:	e59cc000 	ldr	ip, [ip]                                      
  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     
)                                                                     
{                                                                     
    8bec:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    8bf0:	e1a06002 	mov	r6, r2                                        
    8bf4:	e1a05003 	mov	r5, r3                                        
    8bf8:	e1a04000 	mov	r4, r0                                        
    8bfc:	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,       
    8c00:	e3a02000 	mov	r2, #0                                        
    8c04:	e3a03010 	mov	r3, #16                                       
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    8c08:	e153000c 	cmp	r3, ip                                        
    8c0c:	e2822001 	add	r2, r2, #1                                    
    8c10:	0a000003 	beq	8c24 <IMFS_initialize_support+0x40>           
    8c14:	e3520006 	cmp	r2, #6                                        
    8c18:	e1a03083 	lsl	r3, r3, #1                                    
    8c1c:	1afffff9 	bne	8c08 <IMFS_initialize_support+0x24>           
    8c20:	e3a03080 	mov	r3, #128	; 0x80                               <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
    8c24:	e59f208c 	ldr	r2, [pc, #140]	; 8cb8 <IMFS_initialize_support+0xd4>
    8c28:	e5823000 	str	r3, [r2]                                      
  /*                                                                  
   *  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();
    8c2c:	eb000a60 	bl	b5b4 <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;
    8c30:	e59fe084 	ldr	lr, [pc, #132]	; 8cbc <IMFS_initialize_support+0xd8>
  /*                                                                  
   *  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();
    8c34:	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;
    8c38:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    8c3c:	e284c038 	add	ip, r4, #56	; 0x38                            
    8c40:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    8c44:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    8c48:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    8c4c:	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;              
    8c50:	e5847028 	str	r7, [r4, #40]	; 0x28                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
    8c54:	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;    
    8c58:	e5845024 	str	r5, [r4, #36]	; 0x24                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
    8c5c:	e3a00001 	mov	r0, #1                                        
    8c60:	e3a0100c 	mov	r1, #12                                       
    8c64:	eb0000b2 	bl	8f34 <calloc>                                  
  if ( !fs_info ) {                                                   
    8c68:	e3500000 	cmp	r0, #0                                        
    8c6c:	1a000006 	bne	8c8c <IMFS_initialize_support+0xa8>           
    free(temp_mt_entry->mt_fs_root.node_access);                      
    8c70:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
    8c74:	ebffe333 	bl	1948 <free>                                    <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
    8c78:	eb00101c 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8c7c:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    8c80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8c84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    8c88:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
  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;                                 
    8c8c:	e594201c 	ldr	r2, [r4, #28]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
    8c90:	e3a03001 	mov	r3, #1                                        
    8c94:	e5803000 	str	r3, [r0]                                      
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
    8c98:	e5805008 	str	r5, [r0, #8]                                  
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
    8c9c:	e5806004 	str	r6, [r0, #4]                                  
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
    8ca0:	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;                                 
    8ca4:	e5823038 	str	r3, [r2, #56]	; 0x38                          
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
    8ca8:	eb000800 	bl	acb0 <rtems_pipe_initialize>                   
    8cac:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
    8cb0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    8cb4:	00018724 	.word	0x00018724                                  
    8cb8:	00019ea4 	.word	0x00019ea4                                  
    8cbc:	00019388 	.word	0x00019388                                  
                                                                      
00002448 <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 */            
)                                                                     
{                                                                     
    2448:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
    244c:	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 */            
)                                                                     
{                                                                     
    2450:	e24dd048 	sub	sp, sp, #72	; 0x48                            
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
    2454:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
    2458:	e1d333b4 	ldrh	r3, [r3, #52]	; 0x34                         
    245c:	e3530007 	cmp	r3, #7                                        
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
    2460:	e1a05001 	mov	r5, r1                                        
    2464:	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 )               
    2468:	9a000002 	bls	2478 <IMFS_link+0x30>                         
    rtems_set_errno_and_return_minus_one( EMLINK );                   
    246c:	eb003e25 	bl	11d08 <__errno>                                
    2470:	e3a0301f 	mov	r3, #31                                       
    2474:	ea000012 	b	24c4 <IMFS_link+0x7c>                           
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
    2478:	e1a00002 	mov	r0, r2                                        
    247c:	eb0041fa 	bl	12c6c <strlen>                                 
    2480:	e28d4004 	add	r4, sp, #4                                    
    2484:	e1a01000 	mov	r1, r0                                        
    2488:	e1a02004 	mov	r2, r4                                        
    248c:	e28d3044 	add	r3, sp, #68	; 0x44                            
    2490:	e1a00006 	mov	r0, r6                                        
    2494:	eb002cb4 	bl	d76c <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(                                        
    2498:	e28dc028 	add	ip, sp, #40	; 0x28                            
    249c:	e1a00005 	mov	r0, r5                                        
    24a0:	e1a02004 	mov	r2, r4                                        
    24a4:	e3a01003 	mov	r1, #3                                        
    24a8:	e59f3054 	ldr	r3, [pc, #84]	; 2504 <IMFS_link+0xbc>         
    24ac:	e58dc000 	str	ip, [sp]                                      
    24b0:	eb0029b3 	bl	cb84 <IMFS_create_node>                        
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    24b4:	e3500000 	cmp	r0, #0                                        
    24b8:	1a000004 	bne	24d0 <IMFS_link+0x88>                         
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
    24bc:	eb003e11 	bl	11d08 <__errno>                                <== NOT EXECUTED
    24c0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    24c4:	e5803000 	str	r3, [r0]                                      
    24c8:	e3e00000 	mvn	r0, #0                                        
    24cc:	ea00000a 	b	24fc <IMFS_link+0xb4>                           
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
    24d0:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
    24d4:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
    24d8:	e2822001 	add	r2, r2, #1                                    
    24dc:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
    24e0:	e28d003c 	add	r0, sp, #60	; 0x3c                            
    24e4:	e3a01000 	mov	r1, #0                                        
    24e8:	eb000240 	bl	2df0 <gettimeofday>                            
    24ec:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    24f0:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
    24f4:	e5832048 	str	r2, [r3, #72]	; 0x48                          
    24f8:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
    24fc:	e28dd048 	add	sp, sp, #72	; 0x48                            
    2500:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    2504:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
000100fc <IMFS_memfile_addblock>:                                     
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
   100fc:	e2503000 	subs	r3, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
   10100:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
   10104:	059f0060 	ldreq	r0, [pc, #96]	; 1016c <IMFS_memfile_addblock+0x70>
   10108:	059f1060 	ldreq	r1, [pc, #96]	; 10170 <IMFS_memfile_addblock+0x74>
   1010c:	059f2060 	ldreq	r2, [pc, #96]	; 10174 <IMFS_memfile_addblock+0x78>
   10110:	059f3060 	ldreq	r3, [pc, #96]	; 10178 <IMFS_memfile_addblock+0x7c>
   10114:	0a000006 	beq	10134 <IMFS_memfile_addblock+0x38>            
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   10118:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
   1011c:	e3530005 	cmp	r3, #5                                        
   10120:	0a000004 	beq	10138 <IMFS_memfile_addblock+0x3c>            
   10124:	e59f0040 	ldr	r0, [pc, #64]	; 1016c <IMFS_memfile_addblock+0x70><== NOT EXECUTED
   10128:	e59f104c 	ldr	r1, [pc, #76]	; 1017c <IMFS_memfile_addblock+0x80><== NOT EXECUTED
   1012c:	e59f2040 	ldr	r2, [pc, #64]	; 10174 <IMFS_memfile_addblock+0x78><== NOT EXECUTED
   10130:	e59f3048 	ldr	r3, [pc, #72]	; 10180 <IMFS_memfile_addblock+0x84><== NOT EXECUTED
   10134:	ebfff619 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
  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 );
   10138:	e3a02001 	mov	r2, #1                                        
   1013c:	ebfffeab 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
  if ( *block_entry_ptr )                                             
   10140:	e5904000 	ldr	r4, [r0]                                      
   10144:	e3540000 	cmp	r4, #0                                        
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
   10148:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
   1014c:	13a00000 	movne	r0, #0                                      
   10150:	18bd8030 	popne	{r4, r5, pc}                                
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
   10154:	ebfffe98 	bl	fbbc <memfile_alloc_block>                     
  if ( !memory )                                                      
   10158:	e3500000 	cmp	r0, #0                                        
    return 1;                                                         
  *block_entry_ptr = memory;                                          
   1015c:	15850000 	strne	r0, [r5]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
   10160:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
   10164:	11a00004 	movne	r0, r4                                      
                                                                      
  return 0;                                                           
}                                                                     
   10168:	e8bd8030 	pop	{r4, r5, pc}                                  
   1016c:	0001f1c6 	.word	0x0001f1c6                                  
   10170:	00000169 	.word	0x00000169                                  
   10174:	0001e998 	.word	0x0001e998                                  
   10178:	0001f20c 	.word	0x0001f20c                                  
   1017c:	0000016d 	.word	0x0000016d                                  
   10180:	0001f216 	.word	0x0001f216                                  
                                                                      
00010184 <IMFS_memfile_extend>:                                       
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   10184:	e92d4df1 	push	{r0, r4, r5, r6, r7, r8, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   10188:	e2504000 	subs	r4, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   1018c:	e1a05001 	mov	r5, r1                                        
   10190:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   10194:	059f0134 	ldreq	r0, [pc, #308]	; 102d0 <IMFS_memfile_extend+0x14c>
   10198:	059f1134 	ldreq	r1, [pc, #308]	; 102d4 <IMFS_memfile_extend+0x150>
   1019c:	059f2134 	ldreq	r2, [pc, #308]	; 102d8 <IMFS_memfile_extend+0x154>
   101a0:	059f3134 	ldreq	r3, [pc, #308]	; 102dc <IMFS_memfile_extend+0x158>
   101a4:	0a000006 	beq	101c4 <IMFS_memfile_extend+0x40>              
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   101a8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
   101ac:	e3530005 	cmp	r3, #5                                        
   101b0:	0a000004 	beq	101c8 <IMFS_memfile_extend+0x44>              
   101b4:	e59f0114 	ldr	r0, [pc, #276]	; 102d0 <IMFS_memfile_extend+0x14c><== NOT EXECUTED
   101b8:	e59f1120 	ldr	r1, [pc, #288]	; 102e0 <IMFS_memfile_extend+0x15c><== NOT EXECUTED
   101bc:	e59f2114 	ldr	r2, [pc, #276]	; 102d8 <IMFS_memfile_extend+0x154><== NOT EXECUTED
   101c0:	e59f311c 	ldr	r3, [pc, #284]	; 102e4 <IMFS_memfile_extend+0x160><== NOT EXECUTED
   101c4:	ebfff5f5 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   101c8:	e59f3118 	ldr	r3, [pc, #280]	; 102e8 <IMFS_memfile_extend+0x164>
   101cc:	e593b000 	ldr	fp, [r3]                                      
   101d0:	e1a0312b 	lsr	r3, fp, #2                                    
   101d4:	e2832001 	add	r2, r3, #1                                    
   101d8:	e0010293 	mul	r1, r3, r2                                    
   101dc:	e2811001 	add	r1, r1, #1                                    
   101e0:	e0020193 	mul	r2, r3, r1                                    
   101e4:	e3a03000 	mov	r3, #0                                        
   101e8:	e1530006 	cmp	r3, r6                                        
   101ec:	e2422001 	sub	r2, r2, #1                                    
   101f0:	e003029b 	mul	r3, fp, r2                                    
   101f4:	ca000005 	bgt	10210 <IMFS_memfile_extend+0x8c>              
   101f8:	1a000001 	bne	10204 <IMFS_memfile_extend+0x80>              
   101fc:	e1530005 	cmp	r3, r5                                        
   10200:	8a000002 	bhi	10210 <IMFS_memfile_extend+0x8c>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   10204:	eb0006bf 	bl	11d08 <__errno>                                <== NOT EXECUTED
   10208:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   1020c:	ea000025 	b	102a8 <IMFS_memfile_extend+0x124>               <== NOT EXECUTED
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
   10210:	e5948054 	ldr	r8, [r4, #84]	; 0x54                          
   10214:	e1560008 	cmp	r6, r8                                        
   10218:	e5947050 	ldr	r7, [r4, #80]	; 0x50                          
   1021c:	ca000002 	bgt	1022c <IMFS_memfile_extend+0xa8>              
   10220:	1a000028 	bne	102c8 <IMFS_memfile_extend+0x144>             
   10224:	e1550007 	cmp	r5, r7                                        
   10228:	9a000026 	bls	102c8 <IMFS_memfile_extend+0x144>             
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   1022c:	e1a0cfcb 	asr	ip, fp, #31                                   
   10230:	e1a0300c 	mov	r3, ip                                        
   10234:	e1a0200b 	mov	r2, fp                                        
   10238:	e1a00005 	mov	r0, r5                                        
   1023c:	e1a01006 	mov	r1, r6                                        
   10240:	e58dc000 	str	ip, [sp]                                      
   10244:	eb002f0d 	bl	1be80 <__divdi3>                               
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   10248:	e59dc000 	ldr	ip, [sp]                                      
   1024c:	e1a01008 	mov	r1, r8                                        
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   10250:	e1a0a000 	mov	sl, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   10254:	e1a0200b 	mov	r2, fp                                        
   10258:	e1a00007 	mov	r0, r7                                        
   1025c:	e1a0300c 	mov	r3, ip                                        
   10260:	eb002f06 	bl	1be80 <__divdi3>                               
   10264:	e1a08000 	mov	r8, r0                                        
   10268:	e1a07000 	mov	r7, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   1026c:	ea000011 	b	102b8 <IMFS_memfile_extend+0x134>               
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   10270:	e1a00004 	mov	r0, r4                                        
   10274:	e1a01007 	mov	r1, r7                                        
   10278:	ebffff9f 	bl	100fc <IMFS_memfile_addblock>                  
   1027c:	e3500000 	cmp	r0, #0                                        
   10280:	0a00000b 	beq	102b4 <IMFS_memfile_extend+0x130>             
   10284:	ea000003 	b	10298 <IMFS_memfile_extend+0x114>               <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
   10288:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
   1028c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   10290:	ebfffefa 	bl	fe80 <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-- ) {                        
   10294:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
   10298:	e1570008 	cmp	r7, r8                                        <== NOT EXECUTED
   1029c:	2afffff9 	bcs	10288 <IMFS_memfile_extend+0x104>             <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
   102a0:	eb000698 	bl	11d08 <__errno>                                <== NOT EXECUTED
   102a4:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
   102a8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   102ac:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   102b0:	ea000005 	b	102cc <IMFS_memfile_extend+0x148>               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   102b4:	e2877001 	add	r7, r7, #1                                    
   102b8:	e157000a 	cmp	r7, sl                                        
   102bc:	9affffeb 	bls	10270 <IMFS_memfile_extend+0xec>              
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
   102c0:	e5846054 	str	r6, [r4, #84]	; 0x54                          
   102c4:	e5845050 	str	r5, [r4, #80]	; 0x50                          
   102c8:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
   102cc:	e8bd8df8 	pop	{r3, r4, r5, r6, r7, r8, sl, fp, pc}          
   102d0:	0001f1c6 	.word	0x0001f1c6                                  
   102d4:	00000131 	.word	0x00000131                                  
   102d8:	0001e9b0 	.word	0x0001e9b0                                  
   102dc:	0001f20c 	.word	0x0001f20c                                  
   102e0:	00000135 	.word	0x00000135                                  
   102e4:	0001f216 	.word	0x0001f216                                  
   102e8:	0001f58c 	.word	0x0001f58c                                  
                                                                      
0000fbf0 <IMFS_memfile_get_block_pointer>:                            
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
    fbf0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    fbf4:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
    fbf8:	e1a06001 	mov	r6, r1                                        
    fbfc:	e1a08002 	mov	r8, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    fc00:	059f01e8 	ldreq	r0, [pc, #488]	; fdf0 <IMFS_memfile_get_block_pointer+0x200>
    fc04:	03a01fe2 	moveq	r1, #904	; 0x388                            
    fc08:	059f21e4 	ldreq	r2, [pc, #484]	; fdf4 <IMFS_memfile_get_block_pointer+0x204>
    fc0c:	059f31e4 	ldreq	r3, [pc, #484]	; fdf8 <IMFS_memfile_get_block_pointer+0x208>
    fc10:	0a000006 	beq	fc30 <IMFS_memfile_get_block_pointer+0x40>    
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    fc14:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
    fc18:	e3530005 	cmp	r3, #5                                        
    fc1c:	0a000004 	beq	fc34 <IMFS_memfile_get_block_pointer+0x44>    
    fc20:	e59f01c8 	ldr	r0, [pc, #456]	; fdf0 <IMFS_memfile_get_block_pointer+0x200><== NOT EXECUTED
    fc24:	e59f21c8 	ldr	r2, [pc, #456]	; fdf4 <IMFS_memfile_get_block_pointer+0x204><== NOT EXECUTED
    fc28:	e59f31cc 	ldr	r3, [pc, #460]	; fdfc <IMFS_memfile_get_block_pointer+0x20c><== NOT EXECUTED
    fc2c:	e3a01fe3 	mov	r1, #908	; 0x38c                              <== NOT EXECUTED
    fc30:	ebfff75a 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
    fc34:	e59f31c4 	ldr	r3, [pc, #452]	; fe00 <IMFS_memfile_get_block_pointer+0x210>
    fc38:	e5935000 	ldr	r5, [r3]                                      
    fc3c:	e1a05125 	lsr	r5, r5, #2                                    
    fc40:	e2453001 	sub	r3, r5, #1                                    
    fc44:	e1510003 	cmp	r1, r3                                        
    fc48:	8a00000e 	bhi	fc88 <IMFS_memfile_get_block_pointer+0x98>    
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
    fc4c:	e3520000 	cmp	r2, #0                                        
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
    fc50:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
    fc54:	0a000007 	beq	fc78 <IMFS_memfile_get_block_pointer+0x88>    
                                                                      
      if ( !p ) {                                                     
    fc58:	e3500000 	cmp	r0, #0                                        
    fc5c:	1a000003 	bne	fc70 <IMFS_memfile_get_block_pointer+0x80>    
        p = memfile_alloc_block();                                    
    fc60:	ebffffd5 	bl	fbbc <memfile_alloc_block>                     
        if ( !p )                                                     
    fc64:	e3500000 	cmp	r0, #0                                        
    fc68:	0a00005e 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   
           return 0;                                                  
        info->indirect = p;                                           
    fc6c:	e5840058 	str	r0, [r4, #88]	; 0x58                          
      }                                                               
      return &info->indirect[ my_block ];                             
    fc70:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
    fc74:	ea000001 	b	fc80 <IMFS_memfile_get_block_pointer+0x90>      
    }                                                                 
                                                                      
    if ( !p )                                                         
    fc78:	e3500000 	cmp	r0, #0                                        
    fc7c:	0a000059 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
    fc80:	e0800106 	add	r0, r0, r6, lsl #2                            
    fc84:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    fc88:	e2852001 	add	r2, r5, #1                                    <== NOT EXECUTED
    fc8c:	e0030295 	mul	r3, r5, r2                                    <== NOT EXECUTED
    fc90:	e2432001 	sub	r2, r3, #1                                    <== NOT EXECUTED
    fc94:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
    fc98:	8a00001b 	bhi	fd0c <IMFS_memfile_get_block_pointer+0x11c>   <== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
    fc9c:	e0656001 	rsb	r6, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    fca0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    fca4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    fca8:	eb002dc7 	bl	1b3cc <__umodsi3>                              <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    fcac:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    fcb0:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    fcb4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    fcb8:	eb002d2f 	bl	1b17c <__aeabi_uidiv>                          <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
    fcbc:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    fcc0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    fcc4:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    if ( malloc_it ) {                                                
    fcc8:	0a000009 	beq	fcf4 <IMFS_memfile_get_block_pointer+0x104>   <== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
    fccc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    fcd0:	1a000003 	bne	fce4 <IMFS_memfile_get_block_pointer+0xf4>    <== NOT EXECUTED
        p = memfile_alloc_block();                                    
    fcd4:	ebffffb8 	bl	fbbc <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p )                                                     
    fcd8:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    fcdc:	0a000041 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
    fce0:	e584305c 	str	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
    fce4:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
    fce8:	e0835105 	add	r5, r3, r5, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
    fcec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fcf0:	ea00002e 	b	fdb0 <IMFS_memfile_get_block_pointer+0x1c0>     <== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
    fcf4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    fcf8:	0a00003a 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
    fcfc:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
    if ( !p )                                                         
    fd00:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fd04:	1a000035 	bne	fde0 <IMFS_memfile_get_block_pointer+0x1f0>   <== NOT EXECUTED
    fd08:	ea000036 	b	fde8 <IMFS_memfile_get_block_pointer+0x1f8>     <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    fd0c:	e2831001 	add	r1, r3, #1                                    <== NOT EXECUTED
    fd10:	e0020195 	mul	r2, r5, r1                                    <== NOT EXECUTED
    fd14:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
    fd18:	e1560002 	cmp	r6, r2                                        <== NOT EXECUTED
    fd1c:	8a000031 	bhi	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
    fd20:	e0636006 	rsb	r6, r3, r6                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    fd24:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    fd28:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    fd2c:	eb002da6 	bl	1b3cc <__umodsi3>                              <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    fd30:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    fd34:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    fd38:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    fd3c:	eb002d0e 	bl	1b17c <__aeabi_uidiv>                          <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    fd40:	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;                     
    fd44:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    fd48:	eb002d0b 	bl	1b17c <__aeabi_uidiv>                          <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
    fd4c:	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;                       
    fd50:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
    fd54:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    fd58:	eb002d9b 	bl	1b3cc <__umodsi3>                              <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
    fd5c:	e3580000 	cmp	r8, #0                                        <== 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;                               
    fd60:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
    fd64:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
    fd68:	0a000016 	beq	fdc8 <IMFS_memfile_get_block_pointer+0x1d8>   <== NOT EXECUTED
      if ( !p ) {                                                     
    fd6c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    fd70:	1a000003 	bne	fd84 <IMFS_memfile_get_block_pointer+0x194>   <== NOT EXECUTED
        p = memfile_alloc_block();                                    
    fd74:	ebffff90 	bl	fbbc <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p )                                                     
    fd78:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    fd7c:	0a000019 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
    fd80:	e5843060 	str	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
    fd84:	e7932107 	ldr	r2, [r3, r7, lsl #2]                          <== NOT EXECUTED
      if ( !p1 ) {                                                    
    fd88:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
    fd8c:	e0837107 	add	r7, r3, r7, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
    fd90:	1a000003 	bne	fda4 <IMFS_memfile_get_block_pointer+0x1b4>   <== NOT EXECUTED
        p1 = memfile_alloc_block();                                   
    fd94:	ebffff88 	bl	fbbc <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p1 )                                                    
    fd98:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
    fd9c:	0a000011 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
    fda0:	e5872000 	str	r2, [r7]                                      <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
    fda4:	e7920105 	ldr	r0, [r2, r5, lsl #2]                          <== NOT EXECUTED
    fda8:	e0825105 	add	r5, r2, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
    fdac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fdb0:	1a00000a 	bne	fde0 <IMFS_memfile_get_block_pointer+0x1f0>   <== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
    fdb4:	ebffff80 	bl	fbbc <memfile_alloc_block>                     <== NOT EXECUTED
        if ( !p2 )                                                    
    fdb8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
    fdbc:	15850000 	strne	r0, [r5]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
    fdc0:	1a000006 	bne	fde0 <IMFS_memfile_get_block_pointer+0x1f0>   <== NOT EXECUTED
    fdc4:	ea000007 	b	fde8 <IMFS_memfile_get_block_pointer+0x1f8>     <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
    fdc8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    fdcc:	0a000005 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== 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 ];                                     
    fdd0:	e7933107 	ldr	r3, [r3, r7, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
    fdd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    fdd8:	0a000002 	beq	fde8 <IMFS_memfile_get_block_pointer+0x1f8>   <== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
    fddc:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
    fde0:	e080010a 	add	r0, r0, sl, lsl #2                            <== NOT EXECUTED
    fde4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    fde8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
    fdec:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    fdf0:	0001f1c6 	.word	0x0001f1c6                                  
    fdf4:	0001e928 	.word	0x0001e928                                  
    fdf8:	0001f20c 	.word	0x0001f20c                                  
    fdfc:	0001f216 	.word	0x0001f216                                  
    fe00:	0001f58c 	.word	0x0001f58c                                  
                                                                      
0001070c <IMFS_memfile_read>:                                         
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
   1070c:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   10710:	e2504000 	subs	r4, r0, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
   10714:	e1a06003 	mov	r6, r3                                        
   10718:	e1a08001 	mov	r8, r1                                        
   1071c:	e1a09002 	mov	r9, r2                                        
   10720:	e59d7030 	ldr	r7, [sp, #48]	; 0x30                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   10724:	059f024c 	ldreq	r0, [pc, #588]	; 10978 <IMFS_memfile_read+0x26c>
   10728:	03a01f93 	moveq	r1, #588	; 0x24c                            
   1072c:	059f2248 	ldreq	r2, [pc, #584]	; 1097c <IMFS_memfile_read+0x270>
   10730:	059f3248 	ldreq	r3, [pc, #584]	; 10980 <IMFS_memfile_read+0x274>
   10734:	0a000007 	beq	10758 <IMFS_memfile_read+0x4c>                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
   10738:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
   1073c:	e2432005 	sub	r2, r3, #5                                    
   10740:	e3520001 	cmp	r2, #1                                        
   10744:	9a000004 	bls	1075c <IMFS_memfile_read+0x50>                
   10748:	e59f0228 	ldr	r0, [pc, #552]	; 10978 <IMFS_memfile_read+0x26c><== NOT EXECUTED
   1074c:	e59f1230 	ldr	r1, [pc, #560]	; 10984 <IMFS_memfile_read+0x278><== NOT EXECUTED
   10750:	e59f2224 	ldr	r2, [pc, #548]	; 1097c <IMFS_memfile_read+0x270><== NOT EXECUTED
   10754:	e59f322c 	ldr	r3, [pc, #556]	; 10988 <IMFS_memfile_read+0x27c><== NOT EXECUTED
   10758:	ebfff490 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
   1075c:	e3560000 	cmp	r6, #0                                        
   10760:	059f0210 	ldreq	r0, [pc, #528]	; 10978 <IMFS_memfile_read+0x26c>
   10764:	059f1220 	ldreq	r1, [pc, #544]	; 1098c <IMFS_memfile_read+0x280>
   10768:	059f220c 	ldreq	r2, [pc, #524]	; 1097c <IMFS_memfile_read+0x270>
   1076c:	059f321c 	ldreq	r3, [pc, #540]	; 10990 <IMFS_memfile_read+0x284>
   10770:	0afffff8 	beq	10758 <IMFS_memfile_read+0x4c>                
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   10774:	e3570000 	cmp	r7, #0                                        
   10778:	1a000004 	bne	10790 <IMFS_memfile_read+0x84>                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   1077c:	eb000561 	bl	11d08 <__errno>                                <== NOT EXECUTED
   10780:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   10784:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   10788:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
   1078c:	ea000077 	b	10970 <IMFS_memfile_read+0x264>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   10790:	e3530006 	cmp	r3, #6                                        
   10794:	1a000012 	bne	107e4 <IMFS_memfile_read+0xd8>                
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   10798:	e284b050 	add	fp, r4, #80	; 0x50                            <== NOT EXECUTED
   1079c:	e89b0c00 	ldm	fp, {sl, fp}                                  <== NOT EXECUTED
   107a0:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
   107a4:	e1a0300b 	mov	r3, fp                                        <== NOT EXECUTED
   107a8:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
   107ac:	e0522008 	subs	r2, r2, r8                                   <== NOT EXECUTED
   107b0:	e0c33009 	sbc	r3, r3, r9                                    <== NOT EXECUTED
   107b4:	e1510003 	cmp	r1, r3                                        <== 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;    
   107b8:	e5941058 	ldr	r1, [r4, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   107bc:	ca000002 	bgt	107cc <IMFS_memfile_read+0xc0>                <== NOT EXECUTED
   107c0:	1a000002 	bne	107d0 <IMFS_memfile_read+0xc4>                <== NOT EXECUTED
   107c4:	e1570002 	cmp	r7, r2                                        <== NOT EXECUTED
   107c8:	9a000000 	bls	107d0 <IMFS_memfile_read+0xc4>                <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
   107cc:	e068700a 	rsb	r7, r8, sl                                    <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
   107d0:	e0811008 	add	r1, r1, r8                                    <== NOT EXECUTED
   107d4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
   107d8:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
   107dc:	eb000757 	bl	12540 <memcpy>                                 <== NOT EXECUTED
   107e0:	ea00005d 	b	1095c <IMFS_memfile_read+0x250>                 <== NOT EXECUTED
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
   107e4:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
   107e8:	e3a02000 	mov	r2, #0                                        
   107ec:	e1520003 	cmp	r2, r3                                        
   107f0:	e5945050 	ldr	r5, [r4, #80]	; 0x50                          
  /*                                                                  
   *  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;                                         
   107f4:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
   107f8:	e0872001 	add	r2, r7, r1                                    
   107fc:	ca000004 	bgt	10814 <IMFS_memfile_read+0x108>               
   10800:	1a000001 	bne	1080c <IMFS_memfile_read+0x100>               
   10804:	e1520005 	cmp	r2, r5                                        
   10808:	8a000001 	bhi	10814 <IMFS_memfile_read+0x108>               
   1080c:	e1a05007 	mov	r5, r7                                        
   10810:	ea000000 	b	10818 <IMFS_memfile_read+0x10c>                 
    my_length = the_jnode->info.file.size - start;                    
   10814:	e0635005 	rsb	r5, r3, r5                                    
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   10818:	e59f3174 	ldr	r3, [pc, #372]	; 10994 <IMFS_memfile_read+0x288>
   1081c:	e593a000 	ldr	sl, [r3]                                      
   10820:	e1a0b00a 	mov	fp, sl                                        
   10824:	e1a0cfcb 	asr	ip, fp, #31                                   
   10828:	e1a0300c 	mov	r3, ip                                        
   1082c:	e1a00008 	mov	r0, r8                                        
   10830:	e1a0200b 	mov	r2, fp                                        
   10834:	e1a01009 	mov	r1, r9                                        
   10838:	e58dc000 	str	ip, [sp]                                      
   1083c:	eb002eb9 	bl	1c328 <__moddi3>                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   10840:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   10844:	e1a07000 	mov	r7, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   10848:	e1a01009 	mov	r1, r9                                        
   1084c:	e1a00008 	mov	r0, r8                                        
   10850:	e1a0200b 	mov	r2, fp                                        
   10854:	e1a0300c 	mov	r3, ip                                        
   10858:	eb002d88 	bl	1be80 <__divdi3>                               
  if ( start_offset )  {                                              
   1085c:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   10860:	e1a08000 	mov	r8, r0                                        
  if ( start_offset )  {                                              
   10864:	0a000013 	beq	108b8 <IMFS_memfile_read+0x1ac>               
    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 );
   10868:	e1a00004 	mov	r0, r4                                        
   1086c:	e1a01008 	mov	r1, r8                                        
   10870:	e3a02000 	mov	r2, #0                                        
   10874:	ebfffcdd 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   10878:	e3500000 	cmp	r0, #0                                        
   1087c:	059f00f4 	ldreq	r0, [pc, #244]	; 10978 <IMFS_memfile_read+0x26c>
   10880:	059f1110 	ldreq	r1, [pc, #272]	; 10998 <IMFS_memfile_read+0x28c>
   10884:	0a00002c 	beq	1093c <IMFS_memfile_read+0x230>               
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   10888:	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;            
   1088c:	e067a00a 	rsb	sl, r7, sl                                    
   10890:	e155000a 	cmp	r5, sl                                        
   10894:	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 );           
   10898:	e0811007 	add	r1, r1, r7                                    
   1089c:	e1a00006 	mov	r0, r6                                        
   108a0:	e1a0200a 	mov	r2, sl                                        
   108a4:	eb000725 	bl	12540 <memcpy>                                 
    dest += to_copy;                                                  
   108a8:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
   108ac:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
   108b0:	e06a5005 	rsb	r5, sl, r5                                    
   108b4:	e1a0700a 	mov	r7, sl                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   108b8:	e59f30d4 	ldr	r3, [pc, #212]	; 10994 <IMFS_memfile_read+0x288>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   108bc:	e1a09003 	mov	r9, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   108c0:	e593a000 	ldr	sl, [r3]                                      
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   108c4:	ea00000f 	b	10908 <IMFS_memfile_read+0x1fc>                 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   108c8:	e1a00004 	mov	r0, r4                                        
   108cc:	e1a01008 	mov	r1, r8                                        
   108d0:	e3a02000 	mov	r2, #0                                        
   108d4:	ebfffcc5 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   108d8:	e3500000 	cmp	r0, #0                                        
   108dc:	059f0094 	ldreq	r0, [pc, #148]	; 10978 <IMFS_memfile_read+0x26c>
   108e0:	059f10b4 	ldreq	r1, [pc, #180]	; 1099c <IMFS_memfile_read+0x290>
   108e4:	0a000014 	beq	1093c <IMFS_memfile_read+0x230>               
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   108e8:	e5901000 	ldr	r1, [r0]                                      
   108ec:	e1a0200a 	mov	r2, sl                                        
   108f0:	e1a00006 	mov	r0, r6                                        
   108f4:	eb000711 	bl	12540 <memcpy>                                 
    dest += to_copy;                                                  
   108f8:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
   108fc:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
   10900:	e06a5005 	rsb	r5, sl, r5                                    
    copied += to_copy;                                                
   10904:	e087700a 	add	r7, r7, sl                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   10908:	e5993000 	ldr	r3, [r9]                                      
   1090c:	e1550003 	cmp	r5, r3                                        
   10910:	2affffec 	bcs	108c8 <IMFS_memfile_read+0x1bc>               
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
   10914:	e3550000 	cmp	r5, #0                                        
   10918:	0a00000f 	beq	1095c <IMFS_memfile_read+0x250>               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   1091c:	e1a01008 	mov	r1, r8                                        
   10920:	e1a00004 	mov	r0, r4                                        
   10924:	e3a02000 	mov	r2, #0                                        
   10928:	ebfffcb0 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   1092c:	e2503000 	subs	r3, r0, #0                                   
   10930:	1a000004 	bne	10948 <IMFS_memfile_read+0x23c>               
   10934:	e59f003c 	ldr	r0, [pc, #60]	; 10978 <IMFS_memfile_read+0x26c><== NOT EXECUTED
   10938:	e59f1060 	ldr	r1, [pc, #96]	; 109a0 <IMFS_memfile_read+0x294><== NOT EXECUTED
   1093c:	e59f2038 	ldr	r2, [pc, #56]	; 1097c <IMFS_memfile_read+0x270><== NOT EXECUTED
   10940:	e59f305c 	ldr	r3, [pc, #92]	; 109a4 <IMFS_memfile_read+0x298><== NOT EXECUTED
   10944:	eaffff83 	b	10758 <IMFS_memfile_read+0x4c>                  <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   10948:	e1a00006 	mov	r0, r6                                        
   1094c:	e5931000 	ldr	r1, [r3]                                      
   10950:	e1a02005 	mov	r2, r5                                        
   10954:	eb0006f9 	bl	12540 <memcpy>                                 
    copied += my_length;                                              
   10958:	e0857007 	add	r7, r5, r7                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
   1095c:	e28d0004 	add	r0, sp, #4                                    
   10960:	e3a01000 	mov	r1, #0                                        
   10964:	ebffc921 	bl	2df0 <gettimeofday>                            
   10968:	e59d3004 	ldr	r3, [sp, #4]                                  
   1096c:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return copied;                                                      
}                                                                     
   10970:	e1a00007 	mov	r0, r7                                        
   10974:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}
   10978:	0001f1c6 	.word	0x0001f1c6                                  
   1097c:	0001e9d8 	.word	0x0001e9d8                                  
   10980:	0001f20c 	.word	0x0001f20c                                  
   10984:	00000251 	.word	0x00000251                                  
   10988:	0001f280 	.word	0x0001f280                                  
   1098c:	0000025a 	.word	0x0000025a                                  
   10990:	0001f2cb 	.word	0x0001f2cb                                  
   10994:	0001f58c 	.word	0x0001f58c                                  
   10998:	00000296 	.word	0x00000296                                  
   1099c:	000002a7 	.word	0x000002a7                                  
   109a0:	000002b9 	.word	0x000002b9                                  
   109a4:	0001f246 	.word	0x0001f246                                  
                                                                      
0000fecc <IMFS_memfile_remove>:                                       
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
    fecc:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
    fed0:	e2504000 	subs	r4, r0, #0                                   
    fed4:	059f012c 	ldreq	r0, [pc, #300]	; 10008 <IMFS_memfile_remove+0x13c>
    fed8:	059f112c 	ldreq	r1, [pc, #300]	; 1000c <IMFS_memfile_remove+0x140>
    fedc:	059f212c 	ldreq	r2, [pc, #300]	; 10010 <IMFS_memfile_remove+0x144>
    fee0:	059f312c 	ldreq	r3, [pc, #300]	; 10014 <IMFS_memfile_remove+0x148>
    fee4:	0a000006 	beq	ff04 <IMFS_memfile_remove+0x38>               
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
    fee8:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
    feec:	e3530005 	cmp	r3, #5                                        
    fef0:	0a000004 	beq	ff08 <IMFS_memfile_remove+0x3c>               
    fef4:	e59f010c 	ldr	r0, [pc, #268]	; 10008 <IMFS_memfile_remove+0x13c><== NOT EXECUTED
    fef8:	e59f1118 	ldr	r1, [pc, #280]	; 10018 <IMFS_memfile_remove+0x14c><== NOT EXECUTED
    fefc:	e59f210c 	ldr	r2, [pc, #268]	; 10010 <IMFS_memfile_remove+0x144><== NOT EXECUTED
    ff00:	e59f3114 	ldr	r3, [pc, #276]	; 1001c <IMFS_memfile_remove+0x150><== NOT EXECUTED
    ff04:	ebfff6a5 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
  /*                                                                  
   *  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;                                 
    ff08:	e59f2110 	ldr	r2, [pc, #272]	; 10020 <IMFS_memfile_remove+0x154>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff0c:	e5943058 	ldr	r3, [r4, #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;                                 
    ff10:	e5925000 	ldr	r5, [r2]                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff14:	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;                                 
    ff18:	e1a05125 	lsr	r5, r5, #2                                    
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
    ff1c:	12840058 	addne	r0, r4, #88	; 0x58                          
    ff20:	11a01005 	movne	r1, r5                                      
    ff24:	1bffffb6 	blne	fe04 <memfile_free_blocks_in_table>          
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff28:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          
    ff2c:	e3530000 	cmp	r3, #0                                        
    ff30:	13a06000 	movne	r6, #0                                      
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
    ff34:	159f70e4 	ldrne	r7, [pc, #228]	; 10020 <IMFS_memfile_remove+0x154>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff38:	1a000008 	bne	ff60 <IMFS_memfile_remove+0x94>               
    ff3c:	ea00000d 	b	ff78 <IMFS_memfile_remove+0xac>                 
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
    ff40:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    ff44:	e7932106 	ldr	r2, [r3, r6, lsl #2]                          <== NOT EXECUTED
    ff48:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    ff4c:	e1a00106 	lsl	r0, r6, #2                                    <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
    ff50:	10830000 	addne	r0, r3, r0                                  <== NOT EXECUTED
    ff54:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
    ff58:	1bffffa9 	blne	fe04 <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++ ) {                  
    ff5c:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
    ff60:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    ff64:	e1560123 	cmp	r6, r3, lsr #2                                <== NOT EXECUTED
    ff68:	3afffff4 	bcc	ff40 <IMFS_memfile_remove+0x74>               <== 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 );  
    ff6c:	e284005c 	add	r0, r4, #92	; 0x5c                            <== NOT EXECUTED
    ff70:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    ff74:	ebffffa2 	bl	fe04 <memfile_free_blocks_in_table>            <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff78:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          
    ff7c:	e3530000 	cmp	r3, #0                                        
    ff80:	13a06000 	movne	r6, #0                                      
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
    ff84:	159fa094 	ldrne	sl, [pc, #148]	; 10020 <IMFS_memfile_remove+0x154>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff88:	1a000016 	bne	ffe8 <IMFS_memfile_remove+0x11c>              
    ff8c:	ea00001b 	b	10000 <IMFS_memfile_remove+0x134>               
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
    ff90:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
    ff94:	e7937106 	ldr	r7, [r3, r6, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
    ff98:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
    ff9c:	e1a09106 	lsl	r9, r6, #2                                    <== 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 */                 
    ffa0:	0a000013 	beq	fff4 <IMFS_memfile_remove+0x128>              <== NOT EXECUTED
    ffa4:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
    ffa8:	ea000006 	b	ffc8 <IMFS_memfile_remove+0xfc>                 <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
    ffac:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    ffb0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
    ffb4:	11a00007 	movne	r0, r7                                      <== NOT EXECUTED
    ffb8:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
    ffbc:	1bffff90 	blne	fe04 <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++ ) {                
    ffc0:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
    ffc4:	e2877004 	add	r7, r7, #4                                    <== NOT EXECUTED
    ffc8:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
    ffcc:	e1580123 	cmp	r8, r3, lsr #2                                <== NOT EXECUTED
    ffd0:	3afffff5 	bcc	ffac <IMFS_memfile_remove+0xe0>               <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
    ffd4:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
    ffd8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    ffdc:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
    ffe0:	ebffff87 	bl	fe04 <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++ ) {                  
    ffe4:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
    ffe8:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
    ffec:	e1560123 	cmp	r6, r3, lsr #2                                <== NOT EXECUTED
    fff0:	3affffe6 	bcc	ff90 <IMFS_memfile_remove+0xc4>               <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
    fff4:	e2840060 	add	r0, r4, #96	; 0x60                            <== NOT EXECUTED
    fff8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    fffc:	ebffff80 	bl	fe04 <memfile_free_blocks_in_table>            <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   10000:	e3a00000 	mov	r0, #0                                        
   10004:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
   10008:	0001f1c6 	.word	0x0001f1c6                                  
   1000c:	000001ee 	.word	0x000001ee                                  
   10010:	0001e984 	.word	0x0001e984                                  
   10014:	0001f20c 	.word	0x0001f20c                                  
   10018:	000001f2 	.word	0x000001f2                                  
   1001c:	0001f216 	.word	0x0001f216                                  
   10020:	0001f58c 	.word	0x0001f58c                                  
                                                                      
0000fe80 <IMFS_memfile_remove_block>:                                 
                                                                      
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
    fe80:	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 );  
    fe84:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    fe88:	ebffff58 	bl	fbf0 <IMFS_memfile_get_block_pointer>          <== NOT EXECUTED
  assert( block_ptr );                                                
    fe8c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    fe90:	059f0024 	ldreq	r0, [pc, #36]	; febc <IMFS_memfile_remove_block+0x3c><== NOT EXECUTED
    fe94:	059f1024 	ldreq	r1, [pc, #36]	; fec0 <IMFS_memfile_remove_block+0x40><== NOT EXECUTED
    fe98:	059f2024 	ldreq	r2, [pc, #36]	; fec4 <IMFS_memfile_remove_block+0x44><== NOT EXECUTED
    fe9c:	059f3024 	ldreq	r3, [pc, #36]	; fec8 <IMFS_memfile_remove_block+0x48><== NOT EXECUTED
    fea0:	0bfff6be 	bleq	d9a0 <__assert_func>                         <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
    fea4:	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;                                                 
    fea8:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
    feac:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
    feb0:	ebffff39 	bl	fb9c <memfile_free_block>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
    feb4:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    feb8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    febc:	0001f1c6 	.word	0x0001f1c6                                  
    fec0:	00000196 	.word	0x00000196                                  
    fec4:	0001e968 	.word	0x0001e968                                  
    fec8:	0001f246 	.word	0x0001f246                                  
                                                                      
000103dc <IMFS_memfile_write>:                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
   103dc:	e92d4ff7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr}
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   103e0:	e2504000 	subs	r4, r0, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
   103e4:	e1a08001 	mov	r8, r1                                        
   103e8:	e1a0a002 	mov	sl, r2                                        
   103ec:	e1a06003 	mov	r6, r3                                        
   103f0:	e59d5030 	ldr	r5, [sp, #48]	; 0x30                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   103f4:	059f0204 	ldreq	r0, [pc, #516]	; 10600 <IMFS_memfile_write+0x224>
   103f8:	059f1204 	ldreq	r1, [pc, #516]	; 10604 <IMFS_memfile_write+0x228>
   103fc:	059f2204 	ldreq	r2, [pc, #516]	; 10608 <IMFS_memfile_write+0x22c>
   10400:	059f3204 	ldreq	r3, [pc, #516]	; 1060c <IMFS_memfile_write+0x230>
   10404:	0a000006 	beq	10424 <IMFS_memfile_write+0x48>               
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   10408:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
   1040c:	e3530005 	cmp	r3, #5                                        
   10410:	0a000004 	beq	10428 <IMFS_memfile_write+0x4c>               
   10414:	e59f01e4 	ldr	r0, [pc, #484]	; 10600 <IMFS_memfile_write+0x224><== NOT EXECUTED
   10418:	e59f11f0 	ldr	r1, [pc, #496]	; 10610 <IMFS_memfile_write+0x234><== NOT EXECUTED
   1041c:	e59f21e4 	ldr	r2, [pc, #484]	; 10608 <IMFS_memfile_write+0x22c><== NOT EXECUTED
   10420:	e59f31ec 	ldr	r3, [pc, #492]	; 10614 <IMFS_memfile_write+0x238><== NOT EXECUTED
   10424:	ebfff55d 	bl	d9a0 <__assert_func>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
   10428:	e3560000 	cmp	r6, #0                                        
   1042c:	059f01cc 	ldreq	r0, [pc, #460]	; 10600 <IMFS_memfile_write+0x224>
   10430:	059f11e0 	ldreq	r1, [pc, #480]	; 10618 <IMFS_memfile_write+0x23c>
   10434:	059f21cc 	ldreq	r2, [pc, #460]	; 10608 <IMFS_memfile_write+0x22c>
   10438:	059f31dc 	ldreq	r3, [pc, #476]	; 1061c <IMFS_memfile_write+0x240>
   1043c:	0afffff8 	beq	10424 <IMFS_memfile_write+0x48>               
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   10440:	e3550000 	cmp	r5, #0                                        
   10444:	1a000002 	bne	10454 <IMFS_memfile_write+0x78>               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   10448:	eb00062e 	bl	11d08 <__errno>                                <== NOT EXECUTED
   1044c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   10450:	ea00000e 	b	10490 <IMFS_memfile_write+0xb4>                 <== NOT EXECUTED
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
   10454:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
   10458:	e3530000 	cmp	r3, #0                                        
   1045c:	e0851001 	add	r1, r5, r1                                    
   10460:	ba000003 	blt	10474 <IMFS_memfile_write+0x98>               
   10464:	1a00000c 	bne	1049c <IMFS_memfile_write+0xc0>               
   10468:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
   1046c:	e1530001 	cmp	r3, r1                                        
   10470:	2a000009 	bcs	1049c <IMFS_memfile_write+0xc0>               
    status = IMFS_memfile_extend( the_jnode, last_byte );             
   10474:	e1a00004 	mov	r0, r4                                        
   10478:	e3a02000 	mov	r2, #0                                        
   1047c:	ebffff40 	bl	10184 <IMFS_memfile_extend>                    
    if ( status )                                                     
   10480:	e3500000 	cmp	r0, #0                                        
   10484:	0a000004 	beq	1049c <IMFS_memfile_write+0xc0>               
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   10488:	eb00061e 	bl	11d08 <__errno>                                <== NOT EXECUTED
   1048c:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
   10490:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   10494:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
   10498:	ea000056 	b	105f8 <IMFS_memfile_write+0x21c>                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   1049c:	e59f317c 	ldr	r3, [pc, #380]	; 10620 <IMFS_memfile_write+0x244>
   104a0:	e5939000 	ldr	r9, [r3]                                      
   104a4:	e1a0b009 	mov	fp, r9                                        
   104a8:	e1a0cfcb 	asr	ip, fp, #31                                   
   104ac:	e1a0300c 	mov	r3, ip                                        
   104b0:	e1a00008 	mov	r0, r8                                        
   104b4:	e1a0200b 	mov	r2, fp                                        
   104b8:	e1a0100a 	mov	r1, sl                                        
   104bc:	e58dc000 	str	ip, [sp]                                      
   104c0:	eb002f98 	bl	1c328 <__moddi3>                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   104c4:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   104c8:	e1a07000 	mov	r7, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   104cc:	e1a0100a 	mov	r1, sl                                        
   104d0:	e1a00008 	mov	r0, r8                                        
   104d4:	e1a0200b 	mov	r2, fp                                        
   104d8:	e1a0300c 	mov	r3, ip                                        
   104dc:	eb002e67 	bl	1be80 <__divdi3>                               
  if ( start_offset )  {                                              
   104e0:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   104e4:	e1a08000 	mov	r8, r0                                        
  if ( start_offset )  {                                              
   104e8:	0a000013 	beq	1053c <IMFS_memfile_write+0x160>              
    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 );
   104ec:	e1a01008 	mov	r1, r8                                        
   104f0:	e1a00004 	mov	r0, r4                                        
   104f4:	e3a02000 	mov	r2, #0                                        
   104f8:	ebfffdbc 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   104fc:	e3500000 	cmp	r0, #0                                        
   10500:	059f00f8 	ldreq	r0, [pc, #248]	; 10600 <IMFS_memfile_write+0x224>
   10504:	03a01fc7 	moveq	r1, #796	; 0x31c                            
   10508:	0a00002c 	beq	105c0 <IMFS_memfile_write+0x1e4>              
    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 );            
   1050c:	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;            
   10510:	e067a009 	rsb	sl, r7, r9                                    
   10514:	e15a0005 	cmp	sl, r5                                        
   10518:	21a0a005 	movcs	sl, r5                                      
    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 );            
   1051c:	e0800007 	add	r0, r0, r7                                    
   10520:	e1a01006 	mov	r1, r6                                        
   10524:	e1a0200a 	mov	r2, sl                                        
   10528:	eb000804 	bl	12540 <memcpy>                                 
    src += to_copy;                                                   
   1052c:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
   10530:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
   10534:	e06a5005 	rsb	r5, sl, r5                                    
    copied += to_copy;                                                
   10538:	e1a0700a 	mov	r7, sl                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   1053c:	e59f30dc 	ldr	r3, [pc, #220]	; 10620 <IMFS_memfile_write+0x244>
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   10540:	e1a09003 	mov	r9, r3                                        
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   10544:	e593a000 	ldr	sl, [r3]                                      
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   10548:	ea00000f 	b	1058c <IMFS_memfile_write+0x1b0>                
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   1054c:	e1a00004 	mov	r0, r4                                        
   10550:	e1a01008 	mov	r1, r8                                        
   10554:	e3a02000 	mov	r2, #0                                        
   10558:	ebfffda4 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   1055c:	e3500000 	cmp	r0, #0                                        
   10560:	059f0098 	ldreq	r0, [pc, #152]	; 10600 <IMFS_memfile_write+0x224>
   10564:	03a01e33 	moveq	r1, #816	; 0x330                            
   10568:	0a000014 	beq	105c0 <IMFS_memfile_write+0x1e4>              
    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 );                       
   1056c:	e1a01006 	mov	r1, r6                                        
   10570:	e5900000 	ldr	r0, [r0]                                      
   10574:	e1a0200a 	mov	r2, sl                                        
   10578:	eb0007f0 	bl	12540 <memcpy>                                 
    src += to_copy;                                                   
   1057c:	e086600a 	add	r6, r6, sl                                    
    block++;                                                          
   10580:	e2888001 	add	r8, r8, #1                                    
    my_length -= to_copy;                                             
   10584:	e06a5005 	rsb	r5, sl, r5                                    
 *                                                                    
 *  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(                            
   10588:	e087700a 	add	r7, r7, sl                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   1058c:	e5993000 	ldr	r3, [r9]                                      
   10590:	e1550003 	cmp	r5, r3                                        
   10594:	2affffec 	bcs	1054c <IMFS_memfile_write+0x170>              
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
   10598:	e3550000 	cmp	r5, #0                                        
   1059c:	0a00000f 	beq	105e0 <IMFS_memfile_write+0x204>              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   105a0:	e1a01008 	mov	r1, r8                                        
   105a4:	e1a00004 	mov	r0, r4                                        
   105a8:	e3a02000 	mov	r2, #0                                        
   105ac:	ebfffd8f 	bl	fbf0 <IMFS_memfile_get_block_pointer>          
    assert( block_ptr );                                              
   105b0:	e3500000 	cmp	r0, #0                                        
   105b4:	1a000004 	bne	105cc <IMFS_memfile_write+0x1f0>              
   105b8:	e59f0040 	ldr	r0, [pc, #64]	; 10600 <IMFS_memfile_write+0x224><== NOT EXECUTED
   105bc:	e59f1060 	ldr	r1, [pc, #96]	; 10624 <IMFS_memfile_write+0x248><== NOT EXECUTED
   105c0:	e59f2040 	ldr	r2, [pc, #64]	; 10608 <IMFS_memfile_write+0x22c><== NOT EXECUTED
   105c4:	e59f305c 	ldr	r3, [pc, #92]	; 10628 <IMFS_memfile_write+0x24c><== NOT EXECUTED
   105c8:	eaffff95 	b	10424 <IMFS_memfile_write+0x48>                 <== NOT EXECUTED
    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 );                     
   105cc:	e5900000 	ldr	r0, [r0]                                      
   105d0:	e1a01006 	mov	r1, r6                                        
   105d4:	e1a02005 	mov	r2, r5                                        
   105d8:	eb0007d8 	bl	12540 <memcpy>                                 
    my_length = 0;                                                    
    copied += to_copy;                                                
   105dc:	e0877005 	add	r7, r7, r5                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   105e0:	e28d0004 	add	r0, sp, #4                                    
   105e4:	e3a01000 	mov	r1, #0                                        
   105e8:	ebffca00 	bl	2df0 <gettimeofday>                            
   105ec:	e59d3004 	ldr	r3, [sp, #4]                                  
   105f0:	e5843048 	str	r3, [r4, #72]	; 0x48                          
   105f4:	e5843044 	str	r3, [r4, #68]	; 0x44                          
                                                                      
  return copied;                                                      
}                                                                     
   105f8:	e1a00007 	mov	r0, r7                                        
   105fc:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}
   10600:	0001f1c6 	.word	0x0001f1c6                                  
   10604:	000002e3 	.word	0x000002e3                                  
   10608:	0001e9c4 	.word	0x0001e9c4                                  
   1060c:	0001f20c 	.word	0x0001f20c                                  
   10610:	000002e7 	.word	0x000002e7                                  
   10614:	0001f216 	.word	0x0001f216                                  
   10618:	000002ef 	.word	0x000002ef                                  
   1061c:	0001f250 	.word	0x0001f250                                  
   10620:	0001f58c 	.word	0x0001f58c                                  
   10624:	00000346 	.word	0x00000346                                  
   10628:	0001f246 	.word	0x0001f246                                  
                                                                      
00008cc0 <IMFS_mknod>:                                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
    8cc0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    8cc4:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    8cc8:	e1a04001 	mov	r4, r1                                        
    8ccc:	e1a07000 	mov	r7, r0                                        
    8cd0:	e1a06002 	mov	r6, r2                                        
    8cd4:	e1a05003 	mov	r5, r3                                        
  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 );        
    8cd8:	eb0013f5 	bl	dcb4 <strlen>                                  
    8cdc:	e28d303c 	add	r3, sp, #60	; 0x3c                            
    8ce0:	e1a01000 	mov	r1, r0                                        
    8ce4:	e28d2004 	add	r2, sp, #4                                    
    8ce8:	e1a00007 	mov	r0, r7                                        
    8cec:	ebffff8a 	bl	8b1c <IMFS_get_token>                          
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    8cf0:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
    8cf4:	e3530901 	cmp	r3, #16384	; 0x4000                           
    8cf8:	0a00000e 	beq	8d38 <IMFS_mknod+0x78>                        
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    8cfc:	e3530902 	cmp	r3, #32768	; 0x8000                           
    8d00:	03a01005 	moveq	r1, #5                                      
    8d04:	0a00000c 	beq	8d3c <IMFS_mknod+0x7c>                        
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    8d08:	e3530a06 	cmp	r3, #24576	; 0x6000                           
    8d0c:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
    8d10:	058d6028 	streq	r6, [sp, #40]	; 0x28                        
    8d14:	058d502c 	streq	r5, [sp, #44]	; 0x2c                        
    8d18:	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) ) {                        
    8d1c:	0a000006 	beq	8d3c <IMFS_mknod+0x7c>                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
    8d20:	e3530a01 	cmp	r3, #4096	; 0x1000                            
    8d24:	03a01007 	moveq	r1, #7                                      
    8d28:	0a000003 	beq	8d3c <IMFS_mknod+0x7c>                        
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    8d2c:	eb000fef 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8d30:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    8d34:	ea00000b 	b	8d68 <IMFS_mknod+0xa8>                          <== NOT EXECUTED
    8d38:	e3a01001 	mov	r1, #1                                        
   *        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(                                        
    8d3c:	e28dc028 	add	ip, sp, #40	; 0x28                            
    8d40:	e59d0054 	ldr	r0, [sp, #84]	; 0x54                          
    8d44:	e1a03004 	mov	r3, r4                                        
    8d48:	e28d2004 	add	r2, sp, #4                                    
    8d4c:	e58dc000 	str	ip, [sp]                                      
    8d50:	eb000a27 	bl	b5f4 <IMFS_create_node>                        
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    8d54:	e3500000 	cmp	r0, #0                                        
    8d58:	13a00000 	movne	r0, #0                                      
    8d5c:	1a000003 	bne	8d70 <IMFS_mknod+0xb0>                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
    8d60:	eb000fe2 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8d64:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    8d68:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8d6c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    8d70:	e28dd040 	add	sp, sp, #64	; 0x40                            
    8d74:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
000025c0 <IMFS_mount>:                                                
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
    25c0:	e5903008 	ldr	r3, [r0, #8]                                  
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    25c4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
    25c8:	e3520001 	cmp	r2, #1                                        
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
    25cc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    25d0:	0a000004 	beq	25e8 <IMFS_mount+0x28>                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    25d4:	eb003dcb 	bl	11d08 <__errno>                                <== NOT EXECUTED
    25d8:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
    25dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    25e0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    25e4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
    25e8:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
    25ec:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
    25f0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
000031b4 <IMFS_print_jnode>:                                          
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
    31b4:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
    31b8:	e2504000 	subs	r4, r0, #0                                   
    31bc:	059f0130 	ldreq	r0, [pc, #304]	; 32f4 <IMFS_print_jnode+0x140>
    31c0:	03a01038 	moveq	r1, #56	; 0x38                              
    31c4:	059f212c 	ldreq	r2, [pc, #300]	; 32f8 <IMFS_print_jnode+0x144>
    31c8:	059f312c 	ldreq	r3, [pc, #300]	; 32fc <IMFS_print_jnode+0x148>
    31cc:	0a00002f 	beq	3290 <IMFS_print_jnode+0xdc>                  
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
    31d0:	e59f5128 	ldr	r5, [pc, #296]	; 3300 <IMFS_print_jnode+0x14c>
    31d4:	e5953000 	ldr	r3, [r5]                                      
    31d8:	e284000c 	add	r0, r4, #12                                   
    31dc:	e5931008 	ldr	r1, [r3, #8]                                  
    31e0:	eb003976 	bl	117c0 <fputs>                                  
  switch( the_jnode->type ) {                                         
    31e4:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
    31e8:	e2423001 	sub	r3, r2, #1                                    
    31ec:	e3530006 	cmp	r3, #6                                        
    31f0:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
    31f4:	ea000034 	b	32cc <IMFS_print_jnode+0x118>                   <== NOT EXECUTED
    31f8:	00003214 	.word	0x00003214                                  <== NOT EXECUTED
    31fc:	00003228 	.word	0x00003228                                  <== NOT EXECUTED
    3200:	00003270 	.word	0x00003270                                  <== NOT EXECUTED
    3204:	00003294 	.word	0x00003294                                  <== NOT EXECUTED
    3208:	00003258 	.word	0x00003258                                  <== NOT EXECUTED
    320c:	0000323c 	.word	0x0000323c                                  <== NOT EXECUTED
    3210:	000032b0 	.word	0x000032b0                                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
    3214:	e5953000 	ldr	r3, [r5]                                      
    3218:	e3a0002f 	mov	r0, #47	; 0x2f                                
    321c:	e5931008 	ldr	r1, [r3, #8]                                  
    3220:	eb003921 	bl	116ac <fputc>                                  
      break;                                                          
    3224:	ea00002f 	b	32e8 <IMFS_print_jnode+0x134>                   
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
    3228:	e5952000 	ldr	r2, [r5]                                      
    322c:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
    3230:	e5920008 	ldr	r0, [r2, #8]                                  
    3234:	e59f10c8 	ldr	r1, [pc, #200]	; 3304 <IMFS_print_jnode+0x150>
    3238:	ea000003 	b	324c <IMFS_print_jnode+0x98>                    
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
    323c:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
    3240:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
    3244:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
    3248:	e59f10b8 	ldr	r1, [pc, #184]	; 3308 <IMFS_print_jnode+0x154><== NOT EXECUTED
    324c:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
    3250:	eb0038f9 	bl	1163c <fprintf>                                
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
    3254:	ea000023 	b	32e8 <IMFS_print_jnode+0x134>                   
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
    3258:	e5953000 	ldr	r3, [r5]                                      
    325c:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
    3260:	e5930008 	ldr	r0, [r3, #8]                                  
    3264:	e59f10a0 	ldr	r1, [pc, #160]	; 330c <IMFS_print_jnode+0x158>
    3268:	eb0038f3 	bl	1163c <fprintf>                                
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
    326c:	ea00001d 	b	32e8 <IMFS_print_jnode+0x134>                   
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
    3270:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    3274:	e59f0094 	ldr	r0, [pc, #148]	; 3310 <IMFS_print_jnode+0x15c><== NOT EXECUTED
    3278:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
    327c:	eb00394f 	bl	117c0 <fputs>                                  <== NOT EXECUTED
      assert(0);                                                      
    3280:	e59f006c 	ldr	r0, [pc, #108]	; 32f4 <IMFS_print_jnode+0x140><== NOT EXECUTED
    3284:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
    3288:	e59f2068 	ldr	r2, [pc, #104]	; 32f8 <IMFS_print_jnode+0x144><== NOT EXECUTED
    328c:	e59f3080 	ldr	r3, [pc, #128]	; 3314 <IMFS_print_jnode+0x160><== NOT EXECUTED
    3290:	eb00020a 	bl	3ac0 <__assert_func>                           <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
    3294:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    3298:	e59f0070 	ldr	r0, [pc, #112]	; 3310 <IMFS_print_jnode+0x15c><== NOT EXECUTED
    329c:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
    32a0:	eb003946 	bl	117c0 <fputs>                                  <== NOT EXECUTED
      assert(0);                                                      
    32a4:	e59f0048 	ldr	r0, [pc, #72]	; 32f4 <IMFS_print_jnode+0x140> <== NOT EXECUTED
    32a8:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
    32ac:	eafffff5 	b	3288 <IMFS_print_jnode+0xd4>                    <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
    32b0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    32b4:	e59f005c 	ldr	r0, [pc, #92]	; 3318 <IMFS_print_jnode+0x164> <== NOT EXECUTED
    32b8:	e5931008 	ldr	r1, [r3, #8]                                  <== NOT EXECUTED
    32bc:	eb00393f 	bl	117c0 <fputs>                                  <== NOT EXECUTED
      assert(0);                                                      
    32c0:	e59f002c 	ldr	r0, [pc, #44]	; 32f4 <IMFS_print_jnode+0x140> <== NOT EXECUTED
    32c4:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
    32c8:	eaffffee 	b	3288 <IMFS_print_jnode+0xd4>                    <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
    32cc:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
    32d0:	e59f1044 	ldr	r1, [pc, #68]	; 331c <IMFS_print_jnode+0x168> <== NOT EXECUTED
    32d4:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
    32d8:	eb0038d7 	bl	1163c <fprintf>                                <== NOT EXECUTED
      assert(0);                                                      
    32dc:	e59f0010 	ldr	r0, [pc, #16]	; 32f4 <IMFS_print_jnode+0x140> <== NOT EXECUTED
    32e0:	e3a0106c 	mov	r1, #108	; 0x6c                               <== NOT EXECUTED
    32e4:	eaffffe7 	b	3288 <IMFS_print_jnode+0xd4>                    <== NOT EXECUTED
      break;                                                          
  }                                                                   
  puts("");                                                           
    32e8:	e59f0030 	ldr	r0, [pc, #48]	; 3320 <IMFS_print_jnode+0x16c> 
}                                                                     
    32ec:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
    32f0:	ea003ffe 	b	132f0 <puts>                                    
    32f4:	00022cbe 	.word	0x00022cbe                                  
    32f8:	0002186c 	.word	0x0002186c                                  
    32fc:	00022d07 	.word	0x00022d07                                  
    3300:	00021314 	.word	0x00021314                                  
    3304:	00022d11 	.word	0x00022d11                                  
    3308:	00022d24 	.word	0x00022d24                                  
    330c:	00022d33 	.word	0x00022d33                                  
    3310:	00022d3f 	.word	0x00022d3f                                  
    3314:	0002269d 	.word	0x0002269d                                  
    3318:	00022d53 	.word	0x00022d53                                  
    331c:	00022d66 	.word	0x00022d66                                  
    3320:	00022ef7 	.word	0x00022ef7                                  
                                                                      
00002600 <IMFS_readlink>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
    2600:	e5903000 	ldr	r3, [r0]                                      
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    2604:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
    2608:	e3500004 	cmp	r0, #4                                        
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
    260c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    2610:	03a00000 	moveq	r0, #0                                      
    2614:	0a000006 	beq	2634 <IMFS_readlink+0x34>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    2618:	eb003dba 	bl	11d08 <__errno>                                <== NOT EXECUTED
    261c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    2620:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    2624:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    2628:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    buf[i] = node->info.sym_link.name[i];                             
    262c:	e7c1c000 	strb	ip, [r1, r0]                                 
  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++ )
    2630:	e2800001 	add	r0, r0, #1                                    
    2634:	e1500002 	cmp	r0, r2                                        
    2638:	249df004 	popcs	{pc}		; (ldrcs pc, [sp], #4)                
    263c:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
    2640:	e7dcc000 	ldrb	ip, [ip, r0]                                 
    2644:	e35c0000 	cmp	ip, #0                                        
    2648:	1afffff7 	bne	262c <IMFS_readlink+0x2c>                     
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
    264c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
00002650 <IMFS_rename>:                                               
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
    2650:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
    2654:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
    2658:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
    265c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
    2660:	e284000c 	add	r0, r4, #12                                   <== NOT EXECUTED
    2664:	e3a02020 	mov	r2, #32                                       <== NOT EXECUTED
    2668:	eb004197 	bl	12ccc <strncpy>                                <== NOT EXECUTED
                                                                      
  if ( the_jnode->Parent != NULL )                                    
    266c:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
    2670:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
    2674:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    2678:	1b0011a6 	blne	6d18 <_Chain_Extract>                        <== NOT EXECUTED
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
    267c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
    2680:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2684:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
  the_jnode->Parent = new_parent;                                     
    2688:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
    268c:	eb001196 	bl	6cec <_Chain_Append>                           <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
    2690:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    2694:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    2698:	eb0001d4 	bl	2df0 <gettimeofday>                            <== NOT EXECUTED
    269c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    26a0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
    26a4:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    26a8:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
                                                                      
00008e2c <IMFS_stat>:                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
    8e2c:	e5903000 	ldr	r3, [r0]                                      
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
    8e30:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
    8e34:	e2422002 	sub	r2, r2, #2                                    
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
    8e38:	e92d4800 	push	{fp, lr}                                     
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
    8e3c:	e3520005 	cmp	r2, #5                                        
    8e40:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
    8e44:	ea000012 	b	8e94 <IMFS_stat+0x68>                           <== NOT EXECUTED
    8e48:	00008e60 	.word	0x00008e60                                  <== NOT EXECUTED
    8e4c:	00008e94 	.word	0x00008e94                                  <== NOT EXECUTED
    8e50:	00008e80 	.word	0x00008e80                                  <== NOT EXECUTED
    8e54:	00008e74 	.word	0x00008e74                                  <== NOT EXECUTED
    8e58:	00008e74 	.word	0x00008e74                                  <== NOT EXECUTED
    8e5c:	00008e80 	.word	0x00008e80                                  <== NOT EXECUTED
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
    8e60:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
    8e64:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
    8e68:	e581001c 	str	r0, [r1, #28]                                 
    8e6c:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
    8e70:	ea00000c 	b	8ea8 <IMFS_stat+0x7c>                           
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
    8e74:	e283c050 	add	ip, r3, #80	; 0x50                            
    8e78:	e89c1800 	ldm	ip, {fp, ip}                                  
    8e7c:	ea000001 	b	8e88 <IMFS_stat+0x5c>                           
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
    8e80:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
    8e84:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
    8e88:	e581b020 	str	fp, [r1, #32]                                 
    8e8c:	e581c024 	str	ip, [r1, #36]	; 0x24                          
      break;                                                          
    8e90:	ea000004 	b	8ea8 <IMFS_stat+0x7c>                           
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    8e94:	eb000f95 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    8e98:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    8e9c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    8ea0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    8ea4:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
    8ea8:	e5932038 	ldr	r2, [r3, #56]	; 0x38                          
    8eac:	e5812008 	str	r2, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
    8eb0:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
    8eb4:	e5812028 	str	r2, [r1, #40]	; 0x28                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
    8eb8:	e1d3c3b4 	ldrh	ip, [r3, #52]	; 0x34                         
  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;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
    8ebc:	e5932044 	ldr	r2, [r3, #68]	; 0x44                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
    8ec0:	e1c1c1b0 	strh	ip, [r1, #16]                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
    8ec4:	e5812030 	str	r2, [r1, #48]	; 0x30                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
    8ec8:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
    8ecc:	e581200c 	str	r2, [r1, #12]                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
    8ed0:	e1d323bc 	ldrh	r2, [r3, #60]	; 0x3c                         
    8ed4:	e1c121b2 	strh	r2, [r1, #18]                                
  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;                              
    8ed8:	e5930048 	ldr	r0, [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;                                  
    8edc:	e1d333be 	ldrh	r3, [r3, #62]	; 0x3e                         
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
    8ee0:	e5810038 	str	r0, [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;                                  
    8ee4:	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;                              
    8ee8:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
    8eec:	e8bd8800 	pop	{fp, pc}                                      
                                                                      
000026ac <IMFS_symlink>:                                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
    26ac:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
    26b0:	e1a05000 	mov	r5, r0                                        
    26b4:	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 );     
    26b8:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
    26bc:	e1a07002 	mov	r7, r2                                        
    26c0:	e1a06001 	mov	r6, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
    26c4:	eb004168 	bl	12c6c <strlen>                                 
    26c8:	e28d4004 	add	r4, sp, #4                                    
    26cc:	e1a01000 	mov	r1, r0                                        
    26d0:	e1a02004 	mov	r2, r4                                        
    26d4:	e28d303c 	add	r3, sp, #60	; 0x3c                            
    26d8:	e1a00007 	mov	r0, r7                                        
    26dc:	eb002c22 	bl	d76c <IMFS_get_token>                          
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
    26e0:	e1a00006 	mov	r0, r6                                        
    26e4:	eb00414c 	bl	12c1c <strdup>                                 
  if (info.sym_link.name == NULL) {                                   
    26e8:	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);                             
    26ec:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
    26f0:	0a00000b 	beq	2724 <IMFS_symlink+0x78>                      
   *        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(                                        
    26f4:	e28dc028 	add	ip, sp, #40	; 0x28                            
    26f8:	e1a00005 	mov	r0, r5                                        
    26fc:	e1a02004 	mov	r2, r4                                        
    2700:	e3a01004 	mov	r1, #4                                        
    2704:	e59f3030 	ldr	r3, [pc, #48]	; 273c <IMFS_symlink+0x90>      
    2708:	e58dc000 	str	ip, [sp]                                      
    270c:	eb00291c 	bl	cb84 <IMFS_create_node>                        
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    2710:	e3500000 	cmp	r0, #0                                        
    2714:	13a00000 	movne	r0, #0                                      
    2718:	1a000005 	bne	2734 <IMFS_symlink+0x88>                      
    free(info.sym_link.name);                                         
    271c:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
    2720:	eb000189 	bl	2d4c <free>                                    <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
    2724:	eb003d77 	bl	11d08 <__errno>                                <== NOT EXECUTED
    2728:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    272c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    2730:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
    2734:	e28dd040 	add	sp, sp, #64	; 0x40                            
    2738:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    273c:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
00002740 <IMFS_unlink>:                                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
    2740:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
    2744:	e5915000 	ldr	r5, [r1]                                      
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
    2748:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
    274c:	e3530003 	cmp	r3, #3                                        
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
    2750:	e24dd01c 	sub	sp, sp, #28                                   
    2754:	e1a04001 	mov	r4, r1                                        
    2758:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
    275c:	1a000025 	bne	27f8 <IMFS_unlink+0xb8>                       
                                                                      
    if ( !node->info.hard_link.link_node )                            
    2760:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
    2764:	e35e0000 	cmp	lr, #0                                        
    2768:	1a000003 	bne	277c <IMFS_unlink+0x3c>                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    276c:	eb003d65 	bl	11d08 <__errno>                                <== NOT EXECUTED
    2770:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    2774:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    2778:	ea000014 	b	27d0 <IMFS_unlink+0x90>                         <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
    277c:	e1a07001 	mov	r7, r1                                        
    2780:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
    2784:	e1a0c00d 	mov	ip, sp                                        
    2788:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    the_link.node_access = node->info.hard_link.link_node;            
    278c:	e28d801c 	add	r8, sp, #28                                   
    2790:	e528e01c 	str	lr, [r8, #-28]!                               
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    2794:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
    2798:	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;                                                  
    279c:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
    27a0:	eb002946 	bl	ccc0 <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)               
    27a4:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
    27a8:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
    27ac:	e3520001 	cmp	r2, #1                                        
    27b0:	1a000008 	bne	27d8 <IMFS_unlink+0x98>                       
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
    27b4:	e1a0100d 	mov	r1, sp                                        
    27b8:	e1a00006 	mov	r0, r6                                        
    27bc:	e59d3008 	ldr	r3, [sp, #8]                                  
    27c0:	e1a0e00f 	mov	lr, pc                                        
    27c4:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
        if ( result != 0 )                                            
    27c8:	e3500000 	cmp	r0, #0                                        
    27cc:	0a000009 	beq	27f8 <IMFS_unlink+0xb8>                       
    27d0:	e3e00000 	mvn	r0, #0                                        
    27d4:	ea00000c 	b	280c <IMFS_unlink+0xcc>                         
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
    27d8:	e2422001 	sub	r2, r2, #1                                    
    27dc:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
    27e0:	e28d0014 	add	r0, sp, #20                                   
    27e4:	e3a01000 	mov	r1, #0                                        
    27e8:	eb000180 	bl	2df0 <gettimeofday>                            
    27ec:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
    27f0:	e59d2014 	ldr	r2, [sp, #20]                                 
    27f4:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
    27f8:	e1a00006 	mov	r0, r6                                        
    27fc:	e1a01004 	mov	r1, r4                                        
    2800:	e5943008 	ldr	r3, [r4, #8]                                  
    2804:	e1a0e00f 	mov	lr, pc                                        
    2808:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
                                                                      
  return result;                                                      
}                                                                     
    280c:	e28dd01c 	add	sp, sp, #28                                   
    2810:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
00002814 <IMFS_unmount>:                                              
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
    2814:	e5903008 	ldr	r3, [r0, #8]                                  
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    2818:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
    281c:	e3520001 	cmp	r2, #1                                        
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
    2820:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    2824:	0a000002 	beq	2834 <IMFS_unmount+0x20>                      
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
    2828:	eb003d36 	bl	11d08 <__errno>                                <== NOT EXECUTED
    282c:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
    2830:	ea000004 	b	2848 <IMFS_unmount+0x34>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    2834:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
    2838:	e3520000 	cmp	r2, #0                                        
    283c:	1a000004 	bne	2854 <IMFS_unmount+0x40>                      
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
    2840:	eb003d30 	bl	11d08 <__errno>                                <== NOT EXECUTED
    2844:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    2848:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    284c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    2850:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
    2854:	e3a00000 	mov	r0, #0                                        
    2858:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
    285c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
00001b28 <RTEMS_Malloc_Initialize>:                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
    1b28:	e59f30c8 	ldr	r3, [pc, #200]	; 1bf8 <RTEMS_Malloc_Initialize+0xd0>
    1b2c:	e5933000 	ldr	r3, [r3]                                      
    1b30:	e3530000 	cmp	r3, #0                                        
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
    1b34:	e92d4070 	push	{r4, r5, r6, lr}                             
    1b38:	e1a04000 	mov	r4, r0                                        
    1b3c:	e1a05001 	mov	r5, r1                                        
    1b40:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
    (*rtems_malloc_statistics_helpers->initialize)();                 
    1b44:	11a0e00f 	movne	lr, pc                                      
    1b48:	1593f000 	ldrne	pc, [r3]                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
    1b4c:	ebffffe1 	bl	1ad8 <malloc_deferred_frees_initialize>        
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    1b50:	e59f30a4 	ldr	r3, [pc, #164]	; 1bfc <RTEMS_Malloc_Initialize+0xd4>
    1b54:	e5933000 	ldr	r3, [r3]                                      
    1b58:	e3530000 	cmp	r3, #0                                        
    1b5c:	0a000006 	beq	1b7c <RTEMS_Malloc_Initialize+0x54>           
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
    1b60:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1b64:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    1b68:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1b6c:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
    1b70:	e0845005 	add	r5, r4, r5                                    <== NOT EXECUTED
    1b74:	e0605005 	rsb	r5, r0, r5                                    <== NOT EXECUTED
    1b78:	e1a04000 	mov	r4, 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 (                                                                
    1b7c:	e59f307c 	ldr	r3, [pc, #124]	; 1c00 <RTEMS_Malloc_Initialize+0xd8>
    1b80:	e5d31000 	ldrb	r1, [r3]                                     
    1b84:	e3510000 	cmp	r1, #0                                        
    1b88:	1a000005 	bne	1ba4 <RTEMS_Malloc_Initialize+0x7c>           
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
    1b8c:	e59f3070 	ldr	r3, [pc, #112]	; 1c04 <RTEMS_Malloc_Initialize+0xdc>
    1b90:	e5d33028 	ldrb	r3, [r3, #40]	; 0x28                         
    1b94:	e3530000 	cmp	r3, #0                                        
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
    1b98:	11a00004 	movne	r0, r4                                      
    1b9c:	11a02005 	movne	r2, r5                                      
    1ba0:	1b002e9c 	blne	d618 <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 ) {                                   
    1ba4:	e59f3054 	ldr	r3, [pc, #84]	; 1c00 <RTEMS_Malloc_Initialize+0xd8>
    1ba8:	e5d33000 	ldrb	r3, [r3]                                     
    1bac:	e3530000 	cmp	r3, #0                                        
    1bb0:	1a000008 	bne	1bd8 <RTEMS_Malloc_Initialize+0xb0>           
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
    1bb4:	e59f304c 	ldr	r3, [pc, #76]	; 1c08 <RTEMS_Malloc_Initialize+0xe0>
    1bb8:	e1a01004 	mov	r1, r4                                        
    1bbc:	e5930000 	ldr	r0, [r3]                                      
    1bc0:	e1a02005 	mov	r2, r5                                        
    1bc4:	e3a03004 	mov	r3, #4                                        
    1bc8:	eb000f1f 	bl	584c <_Heap_Initialize>                        
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
    1bcc:	e3500000 	cmp	r0, #0                                        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    1bd0:	0280001a 	addeq	r0, r0, #26                                 
    1bd4:	0b000d37 	bleq	50b8 <rtems_fatal_error_occurred>            
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
    1bd8:	e59f3028 	ldr	r3, [pc, #40]	; 1c08 <RTEMS_Malloc_Initialize+0xe0>
    1bdc:	e59f4028 	ldr	r4, [pc, #40]	; 1c0c <RTEMS_Malloc_Initialize+0xe4>
    1be0:	e5930000 	ldr	r0, [r3]                                      
    1be4:	e5945000 	ldr	r5, [r4]                                      
    1be8:	eb0011f8 	bl	63d0 <_Protected_heap_Get_size>                
    1bec:	e0800005 	add	r0, r0, r5                                    
    1bf0:	e5840000 	str	r0, [r4]                                      
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
    1bf4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    1bf8:	00019d48 	.word	0x00019d48                                  
    1bfc:	00019d4c 	.word	0x00019d4c                                  
    1c00:	00019d45 	.word	0x00019d45                                  
    1c04:	000187d4 	.word	0x000187d4                                  
    1c08:	0001872c 	.word	0x0001872c                                  
    1c0c:	0001a0a4 	.word	0x0001a0a4                                  
                                                                      
00002db8 <Stack_check_Dump_threads_usage>:                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
    2db8:	e92d47ff 	push	{r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr}<== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
    2dbc:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
    2dc0:	0a000043 	beq	2ed4 <Stack_check_Dump_threads_usage+0x11c>   <== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
    2dc4:	e59f310c 	ldr	r3, [pc, #268]	; 2ed8 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
    2dc8:	e5937004 	ldr	r7, [r3, #4]                                  <== NOT EXECUTED
    2dcc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    2dd0:	0a00003f 	beq	2ed4 <Stack_check_Dump_threads_usage+0x11c>   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    2dd4:	e37a0001 	cmn	sl, #1                                        <== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
    2dd8:	159a60f4 	ldrne	r6, [sl, #244]	; 0xf4                       <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    2ddc:	128a40c4 	addne	r4, sl, #196	; 0xc4                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    2de0:	1a000005 	bne	2dfc <Stack_check_Dump_threads_usage+0x44>    <== NOT EXECUTED
    if (Stack_check_Interrupt_stack.area) {                           
    2de4:	e59f40f0 	ldr	r4, [pc, #240]	; 2edc <Stack_check_Dump_threads_usage+0x124><== NOT EXECUTED
    2de8:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
    2dec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2df0:	13a06000 	movne	r6, #0                                      <== NOT EXECUTED
    2df4:	11a0a006 	movne	sl, r6                                      <== NOT EXECUTED
    2df8:	0a000035 	beq	2ed4 <Stack_check_Dump_threads_usage+0x11c>   <== NOT EXECUTED
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
    2dfc:	e8940220 	ldm	r4, {r5, r9}                                  <== NOT EXECUTED
    2e00:	e2899010 	add	r9, r9, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
    2e04:	e2455010 	sub	r5, r5, #16                                   <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
    2e08:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
    2e0c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    2e10:	ebffffda 	bl	2d80 <Stack_check_find_high_water_mark>        <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
    2e14:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
    2e18:	10899005 	addne	r9, r9, r5                                  <== NOT EXECUTED
    2e1c:	10688009 	rsbne	r8, r8, r9                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
    2e20:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
    2e24:	e59f30ac 	ldr	r3, [pc, #172]	; 2ed8 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
    2e28:	0a00000c 	beq	2e60 <Stack_check_Dump_threads_usage+0xa8>    <== NOT EXECUTED
    (*print_handler)(                                                 
    2e2c:	e59aa008 	ldr	sl, [sl, #8]                                  <== NOT EXECUTED
    2e30:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
    2e34:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
    2e38:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
    2e3c:	e5939008 	ldr	r9, [r3, #8]                                  <== NOT EXECUTED
    2e40:	eb00152e 	bl	8300 <rtems_object_get_name>                   <== NOT EXECUTED
    2e44:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
    2e48:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
    2e4c:	e59f108c 	ldr	r1, [pc, #140]	; 2ee0 <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
    2e50:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
    2e54:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2e58:	e12fff17 	bx	r7                                             <== NOT EXECUTED
    2e5c:	ea000004 	b	2e74 <Stack_check_Dump_threads_usage+0xbc>      <== 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 );   
    2e60:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
    2e64:	e59f1078 	ldr	r1, [pc, #120]	; 2ee4 <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
    2e68:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
    2e6c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2e70:	e12fff17 	bx	r7                                             <== NOT EXECUTED
  }                                                                   
                                                                      
  (*print_handler)(                                                   
    2e74:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    2e78:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
    2e7c:	e59f4054 	ldr	r4, [pc, #84]	; 2ed8 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
    2e80:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
    2e84:	e58d5004 	str	r5, [sp, #4]                                  <== NOT EXECUTED
    2e88:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    2e8c:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
    2e90:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    2e94:	e59f104c 	ldr	r1, [pc, #76]	; 2ee8 <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
    2e98:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2e9c:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    2ea0:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    2ea4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2ea8:	1a000004 	bne	2ec0 <Stack_check_Dump_threads_usage+0x108>   <== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
    2eac:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    2eb0:	e59f1034 	ldr	r1, [pc, #52]	; 2eec <Stack_check_Dump_threads_usage+0x134><== NOT EXECUTED
    2eb4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2eb8:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
    2ebc:	ea000004 	b	2ed4 <Stack_check_Dump_threads_usage+0x11c>     <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
    2ec0:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
    2ec4:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    2ec8:	e59f1020 	ldr	r1, [pc, #32]	; 2ef0 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
    2ecc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2ed0:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
    2ed4:	e8bd87ff 	pop	{r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, pc}<== NOT EXECUTED
    2ed8:	0005e558 	.word	0x0005e558                                  
    2edc:	000611a4 	.word	0x000611a4                                  
    2ee0:	00057ce8 	.word	0x00057ce8                                  
    2ee4:	00057cf5 	.word	0x00057cf5                                  
    2ee8:	00057d03 	.word	0x00057d03                                  
    2eec:	00057d21 	.word	0x00057d21                                  
    2ef0:	00057d2e 	.word	0x00057d2e                                  
                                                                      
00002d80 <Stack_check_find_high_water_mark>:                          
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    2d80:	e2800010 	add	r0, r0, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
    2d84:	e3c11003 	bic	r1, r1, #3                                    <== NOT EXECUTED
    2d88:	e0801001 	add	r1, r0, r1                                    <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
    2d8c:	e59f3020 	ldr	r3, [pc, #32]	; 2db4 <Stack_check_find_high_water_mark+0x34><== 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++)                 
    2d90:	ea000003 	b	2da4 <Stack_check_find_high_water_mark+0x24>    <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
    2d94:	e5902000 	ldr	r2, [r0]                                      <== NOT EXECUTED
    2d98:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    2d9c:	112fff1e 	bxne	lr                                           <== 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++)                 
    2da0:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
    2da4:	e1500001 	cmp	r0, r1                                        <== NOT EXECUTED
    2da8:	3afffff9 	bcc	2d94 <Stack_check_find_high_water_mark+0x14>  <== NOT EXECUTED
    2dac:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
    2db0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    2db4:	a5a5a5a5 	.word	0xa5a5a5a5                                  
                                                                      
00005aa4 <_POSIX_Condition_variables_Wait_support>:                   
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
    5aa4:	e92d45f1 	push	{r0, r4, r5, r6, r7, r8, sl, lr}             
    5aa8:	e1a04001 	mov	r4, r1                                        
    5aac:	e1a06000 	mov	r6, r0                                        
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
    5ab0:	e1a0100d 	mov	r1, sp                                        
    5ab4:	e1a00004 	mov	r0, r4                                        
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
    5ab8:	e1a08002 	mov	r8, r2                                        
    5abc:	e20370ff 	and	r7, r3, #255	; 0xff                           
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
    5ac0:	eb00006f 	bl	5c84 <_POSIX_Mutex_Get>                        
    5ac4:	e3500000 	cmp	r0, #0                                        
    5ac8:	0a000032 	beq	5b98 <_POSIX_Condition_variables_Wait_support+0xf4>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
    5acc:	e59f30d0 	ldr	r3, [pc, #208]	; 5ba4 <_POSIX_Condition_variables_Wait_support+0x100>
    5ad0:	e5932000 	ldr	r2, [r3]                                      
    5ad4:	e2422001 	sub	r2, r2, #1                                    
    5ad8:	e5832000 	str	r2, [r3]                                      
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
    5adc:	e1a0100d 	mov	r1, sp                                        
    5ae0:	e1a00006 	mov	r0, r6                                        
    5ae4:	ebffff7c 	bl	58dc <_POSIX_Condition_variables_Get>          
  switch ( location ) {                                               
    5ae8:	e59d3000 	ldr	r3, [sp]                                      
    5aec:	e3530000 	cmp	r3, #0                                        
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
    5af0:	e1a0a000 	mov	sl, r0                                        
  switch ( location ) {                                               
    5af4:	1a000027 	bne	5b98 <_POSIX_Condition_variables_Wait_support+0xf4>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
    5af8:	e5903014 	ldr	r3, [r0, #20]                                 
    5afc:	e3530000 	cmp	r3, #0                                        
    5b00:	0a000004 	beq	5b18 <_POSIX_Condition_variables_Wait_support+0x74>
    5b04:	e5942000 	ldr	r2, [r4]                                      
    5b08:	e1530002 	cmp	r3, r2                                        
    5b0c:	0a000001 	beq	5b18 <_POSIX_Condition_variables_Wait_support+0x74>
        _Thread_Enable_dispatch();                                    
    5b10:	eb000bd9 	bl	8a7c <_Thread_Enable_dispatch>                 
    5b14:	ea00001f 	b	5b98 <_POSIX_Condition_variables_Wait_support+0xf4>
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
    5b18:	e1a00004 	mov	r0, r4                                        
    5b1c:	eb0000de 	bl	5e9c <pthread_mutex_unlock>                    
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
    5b20:	e3570000 	cmp	r7, #0                                        
    5b24:	1a000015 	bne	5b80 <_POSIX_Condition_variables_Wait_support+0xdc>
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    5b28:	e59f5078 	ldr	r5, [pc, #120]	; 5ba8 <_POSIX_Condition_variables_Wait_support+0x104>
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
    5b2c:	e5942000 	ldr	r2, [r4]                                      
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    5b30:	e5953000 	ldr	r3, [r5]                                      
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
    5b34:	e58a2014 	str	r2, [sl, #20]                                 
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
    5b38:	e5837034 	str	r7, [r3, #52]	; 0x34                          
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
    5b3c:	e5961000 	ldr	r1, [r6]                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
    5b40:	e28a2018 	add	r2, sl, #24                                   
        _Thread_Executing->Wait.id          = *cond;                  
    5b44:	e5831020 	str	r1, [r3, #32]                                 
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
    5b48:	e3a01001 	mov	r1, #1                                        
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
    5b4c:	e5832044 	str	r2, [r3, #68]	; 0x44                          
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
    5b50:	e1a00002 	mov	r0, r2                                        
    5b54:	e58a1048 	str	r1, [sl, #72]	; 0x48                          
    5b58:	e59f204c 	ldr	r2, [pc, #76]	; 5bac <_POSIX_Condition_variables_Wait_support+0x108>
    5b5c:	e1a01008 	mov	r1, r8                                        
    5b60:	eb000cfe 	bl	8f60 <_Thread_queue_Enqueue_with_handler>      
                                                                      
        _Thread_Enable_dispatch();                                    
    5b64:	eb000bc4 	bl	8a7c <_Thread_Enable_dispatch>                 
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
    5b68:	e5953000 	ldr	r3, [r5]                                      
    5b6c:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
        if ( status && status != ETIMEDOUT )                          
    5b70:	e3550074 	cmp	r5, #116	; 0x74                               
    5b74:	13550000 	cmpne	r5, #0                                      
    5b78:	0a000002 	beq	5b88 <_POSIX_Condition_variables_Wait_support+0xe4>
    5b7c:	ea000006 	b	5b9c <_POSIX_Condition_variables_Wait_support+0xf8><== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
    5b80:	eb000bbd 	bl	8a7c <_Thread_Enable_dispatch>                 
    5b84:	e3a05074 	mov	r5, #116	; 0x74                               
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
    5b88:	e1a00004 	mov	r0, r4                                        
    5b8c:	eb0000a3 	bl	5e20 <pthread_mutex_lock>                      
      if ( mutex_status )                                             
    5b90:	e3500000 	cmp	r0, #0                                        
    5b94:	0a000000 	beq	5b9c <_POSIX_Condition_variables_Wait_support+0xf8>
    5b98:	e3a05016 	mov	r5, #22                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
    5b9c:	e1a00005 	mov	r0, r5                                        
    5ba0:	e8bd85f8 	pop	{r3, r4, r5, r6, r7, r8, sl, pc}              
    5ba4:	0001cbec 	.word	0x0001cbec                                  
    5ba8:	0001cca0 	.word	0x0001cca0                                  
    5bac:	0000930c 	.word	0x0000930c                                  
                                                                      
00006f2c <_Thread_queue_Enqueue_priority>:                            
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
    6f2c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
    6f30:	e5913014 	ldr	r3, [r1, #20]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
    6f34:	e281503c 	add	r5, r1, #60	; 0x3c                            
    6f38:	e5815038 	str	r5, [r1, #56]	; 0x38                          
  the_chain->permanent_null = NULL;                                   
    6f3c:	e3a05000 	mov	r5, #0                                        
  the_chain->last           = _Chain_Head(the_chain);                 
    6f40:	e281c038 	add	ip, r1, #56	; 0x38                            
  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 ) )                  
    6f44:	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 ];  
    6f48:	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;                                   
    6f4c:	e581503c 	str	r5, [r1, #60]	; 0x3c                          
    6f50:	e285500c 	add	r5, r5, #12                                   
  the_chain->last           = _Chain_Head(the_chain);                 
    6f54:	e581c040 	str	ip, [r1, #64]	; 0x40                          
  block_state  = the_thread_queue->state;                             
    6f58:	e5907038 	ldr	r7, [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 ];  
    6f5c:	e02c0495 	mla	ip, r5, r4, r0                                
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
    6f60:	159f8154 	ldrne	r8, [pc, #340]	; 70bc <_Thread_queue_Enqueue_priority+0x190>
  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 ) )                  
    6f64:	1a000023 	bne	6ff8 <_Thread_queue_Enqueue_priority+0xcc>    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    6f68:	e28c8004 	add	r8, ip, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    6f6c:	e10f5000 	mrs	r5, CPSR                                      
    6f70:	e3854080 	orr	r4, r5, #128	; 0x80                           
    6f74:	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;                   
    6f78:	e3e06000 	mvn	r6, #0                                        
    6f7c:	e59c4000 	ldr	r4, [ip]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
    6f80:	ea00000b 	b	6fb4 <_Thread_queue_Enqueue_priority+0x88>      
    search_priority = search_thread->current_priority;                
    6f84:	e5946014 	ldr	r6, [r4, #20]                                 
    if ( priority <= search_priority )                                
    6f88:	e1530006 	cmp	r3, r6                                        
    6f8c:	9a00000a 	bls	6fbc <_Thread_queue_Enqueue_priority+0x90>    
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
    6f90:	e10fa000 	mrs	sl, CPSR                                      
    6f94:	e129f005 	msr	CPSR_fc, r5                                   
    6f98:	e129f00a 	msr	CPSR_fc, sl                                   
    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) ) {
    6f9c:	e594a010 	ldr	sl, [r4, #16]                                 
    6fa0:	e117000a 	tst	r7, sl                                        
    6fa4:	1a000001 	bne	6fb0 <_Thread_queue_Enqueue_priority+0x84>    
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    6fa8:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    6fac:	eaffffee 	b	6f6c <_Thread_queue_Enqueue_priority+0x40>      <== NOT EXECUTED
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
    6fb0:	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 ) ) {  
    6fb4:	e1540008 	cmp	r4, r8                                        
    6fb8:	1afffff1 	bne	6f84 <_Thread_queue_Enqueue_priority+0x58>    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    6fbc:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
    6fc0:	e35c0001 	cmp	ip, #1                                        
                                                                      
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 ) ) {  
    6fc4:	e1a0c005 	mov	ip, r5                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    6fc8:	1a000038 	bne	70b0 <_Thread_queue_Enqueue_priority+0x184>   
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
    6fcc:	e1530006 	cmp	r3, r6                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    6fd0:	e3a03000 	mov	r3, #0                                        
    6fd4:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
    6fd8:	0a00002a 	beq	7088 <_Thread_queue_Enqueue_priority+0x15c>   
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
    6fdc:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
    6fe0:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
    6fe4:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    6fe8:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
    6fec:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
    6ff0:	e5841004 	str	r1, [r4, #4]                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
    6ff4:	ea000021 	b	7080 <_Thread_queue_Enqueue_priority+0x154>     
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
    6ff8:	e5d86000 	ldrb	r6, [r8]                                     
    6ffc:	e2866001 	add	r6, r6, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    7000:	e10f5000 	mrs	r5, CPSR                                      
    7004:	e3854080 	orr	r4, r5, #128	; 0x80                           
    7008:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
    700c:	e59c4008 	ldr	r4, [ip, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
    7010:	ea00000b 	b	7044 <_Thread_queue_Enqueue_priority+0x118>     
    search_priority = search_thread->current_priority;                
    7014:	e5946014 	ldr	r6, [r4, #20]                                 
    if ( priority >= search_priority )                                
    7018:	e1530006 	cmp	r3, r6                                        
    701c:	2a00000a 	bcs	704c <_Thread_queue_Enqueue_priority+0x120>   
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
    7020:	e10fa000 	mrs	sl, CPSR                                      
    7024:	e129f005 	msr	CPSR_fc, r5                                   
    7028:	e129f00a 	msr	CPSR_fc, sl                                   
    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) ) {
    702c:	e594a010 	ldr	sl, [r4, #16]                                 
    7030:	e117000a 	tst	r7, sl                                        
    7034:	1a000001 	bne	7040 <_Thread_queue_Enqueue_priority+0x114>   
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    7038:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
    703c:	eaffffed 	b	6ff8 <_Thread_queue_Enqueue_priority+0xcc>      <== NOT EXECUTED
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
    7040:	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 ) ) {  
    7044:	e154000c 	cmp	r4, ip                                        
    7048:	1afffff1 	bne	7014 <_Thread_queue_Enqueue_priority+0xe8>    
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    704c:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
    7050:	e35c0001 	cmp	ip, #1                                        
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 ) ) {  
    7054:	e1a0c005 	mov	ip, r5                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
    7058:	1a000014 	bne	70b0 <_Thread_queue_Enqueue_priority+0x184>   
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
    705c:	e1530006 	cmp	r3, r6                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
    7060:	e3a03000 	mov	r3, #0                                        
    7064:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
    7068:	0a000006 	beq	7088 <_Thread_queue_Enqueue_priority+0x15c>   
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
    706c:	e5943000 	ldr	r3, [r4]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
    7070:	e8810018 	stm	r1, {r3, r4}                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    7074:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
    7078:	e5841000 	str	r1, [r4]                                      
  next_node->previous    = the_node;                                  
    707c:	e5831004 	str	r1, [r3, #4]                                  
    7080:	e129f005 	msr	CPSR_fc, r5                                   
    7084:	ea000007 	b	70a8 <_Thread_queue_Enqueue_priority+0x17c>     
    7088:	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;                              
    708c:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
    7090:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
    7094:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
    7098:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
    709c:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
    70a0:	e5841004 	str	r1, [r4, #4]                                  
    70a4:	e129f00c 	msr	CPSR_fc, ip                                   
    70a8:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
    70ac:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
   *  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;                                                   
    70b0:	e582c000 	str	ip, [r2]                                      
  return the_thread_queue->sync_state;                                
    70b4:	e5900030 	ldr	r0, [r0, #48]	; 0x30                          
}                                                                     
    70b8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    70bc:	000187d0 	.word	0x000187d0                                  
                                                                      
00014a24 <_Timer_server_Body>:                                        
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
   14a24:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
   14a28:	e24dd020 	sub	sp, sp, #32                                   
   14a2c:	e28d3014 	add	r3, sp, #20                                   
   14a30:	e28d5008 	add	r5, sp, #8                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   14a34:	e3a09000 	mov	r9, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   14a38:	e283a004 	add	sl, r3, #4                                    
   14a3c:	e2858004 	add	r8, r5, #4                                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
   14a40:	e58d301c 	str	r3, [sp, #28]                                 
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   14a44:	e2802008 	add	r2, r0, #8                                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   14a48:	e2803040 	add	r3, r0, #64	; 0x40                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   14a4c:	e58da014 	str	sl, [sp, #20]                                 
  the_chain->permanent_null = NULL;                                   
   14a50:	e58d9018 	str	r9, [sp, #24]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   14a54:	e58d8008 	str	r8, [sp, #8]                                  
  the_chain->permanent_null = NULL;                                   
   14a58:	e58d900c 	str	r9, [sp, #12]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
   14a5c:	e58d5010 	str	r5, [sp, #16]                                 
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   14a60:	e58d2004 	str	r2, [sp, #4]                                  
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   14a64:	e58d3000 	str	r3, [sp]                                      
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
   14a68:	e1a04000 	mov	r4, r0                                        
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   14a6c:	e280b030 	add	fp, r0, #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 );
   14a70:	e2807068 	add	r7, r0, #104	; 0x68                           
{                                                                     
  /*                                                                  
   *  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;                                    
   14a74:	e28d2014 	add	r2, sp, #20                                   
   14a78:	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;            
   14a7c:	e59f2168 	ldr	r2, [pc, #360]	; 14bec <_Timer_server_Body+0x1c8>
   14a80:	e5923000 	ldr	r3, [r2]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
   14a84:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   14a88:	e1a02005 	mov	r2, r5                                        
   14a8c:	e0611003 	rsb	r1, r1, r3                                    
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   14a90:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   14a94:	e1a0000b 	mov	r0, fp                                        
   14a98:	eb00106b 	bl	18c4c <_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();
   14a9c:	e59f314c 	ldr	r3, [pc, #332]	; 14bf0 <_Timer_server_Body+0x1cc>
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
   14aa0:	e5942074 	ldr	r2, [r4, #116]	; 0x74                         
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
   14aa4:	e5936000 	ldr	r6, [r3]                                      
  /*                                                                  
   *  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 ) {                                   
   14aa8:	e1560002 	cmp	r6, r2                                        
   14aac:	9a000004 	bls	14ac4 <_Timer_server_Body+0xa0>               
    /*                                                                
     *  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 );
   14ab0:	e0621006 	rsb	r1, r2, r6                                    
   14ab4:	e1a00007 	mov	r0, r7                                        
   14ab8:	e1a02005 	mov	r2, r5                                        
   14abc:	eb001062 	bl	18c4c <_Watchdog_Adjust_to_chain>              
   14ac0:	ea000003 	b	14ad4 <_Timer_server_Body+0xb0>                 
     /*                                                               
      *  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 ); 
   14ac4:	30662002 	rsbcc	r2, r6, r2                                  
   14ac8:	31a00007 	movcc	r0, r7                                      
   14acc:	33a01001 	movcc	r1, #1                                      
   14ad0:	3b001035 	blcc	18bac <_Watchdog_Adjust>                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   14ad4:	e5846074 	str	r6, [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 );
   14ad8:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
   14adc:	eb00023b 	bl	153d0 <_Chain_Get>                             
                                                                      
    if ( timer == NULL ) {                                            
   14ae0:	e2501000 	subs	r1, r0, #0                                   
   14ae4:	0a00000a 	beq	14b14 <_Timer_server_Body+0xf0>               
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   14ae8:	e5913038 	ldr	r3, [r1, #56]	; 0x38                          
   14aec:	e3530001 	cmp	r3, #1                                        
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   14af0:	02811010 	addeq	r1, r1, #16                                 
   14af4:	01a0000b 	moveq	r0, fp                                      
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   14af8:	0a000003 	beq	14b0c <_Timer_server_Body+0xe8>               
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   14afc:	e3530003 	cmp	r3, #3                                        
   14b00:	1afffff4 	bne	14ad8 <_Timer_server_Body+0xb4>               
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   14b04:	e2811010 	add	r1, r1, #16                                   
   14b08:	e1a00007 	mov	r0, r7                                        
   14b0c:	eb00107b 	bl	18d00 <_Watchdog_Insert>                       
   14b10:	eafffff0 	b	14ad8 <_Timer_server_Body+0xb4>                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
   14b14:	e10f3000 	mrs	r3, CPSR                                      
   14b18:	e3832080 	orr	r2, r3, #128	; 0x80                           
   14b1c:	e129f002 	msr	CPSR_fc, r2                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
   14b20:	e59d2014 	ldr	r2, [sp, #20]                                 
   14b24:	e152000a 	cmp	r2, sl                                        
   14b28:	1a000005 	bne	14b44 <_Timer_server_Body+0x120>              
      ts->insert_chain = NULL;                                        
   14b2c:	e5841078 	str	r1, [r4, #120]	; 0x78                         
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
   14b30:	e129f003 	msr	CPSR_fc, r3                                   
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
   14b34:	e59d3008 	ldr	r3, [sp, #8]                                  
   14b38:	e1530008 	cmp	r3, r8                                        
   14b3c:	1a000002 	bne	14b4c <_Timer_server_Body+0x128>              
   14b40:	ea000015 	b	14b9c <_Timer_server_Body+0x178>                
   14b44:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
   14b48:	eaffffcb 	b	14a7c <_Timer_server_Body+0x58>                 <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
   14b4c:	e10f2000 	mrs	r2, CPSR                                      
   14b50:	e3823080 	orr	r3, r2, #128	; 0x80                           
   14b54:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   14b58:	e59d3008 	ldr	r3, [sp, #8]                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   14b5c:	e1530008 	cmp	r3, r8                                        
   14b60:	0a00000b 	beq	14b94 <_Timer_server_Body+0x170>              
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
   14b64:	e5931000 	ldr	r1, [r3]                                      
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
   14b68:	e3530000 	cmp	r3, #0                                        
  the_chain->first    = new_first;                                    
   14b6c:	e58d1008 	str	r1, [sp, #8]                                  
  new_first->previous = _Chain_Head(the_chain);                       
   14b70:	e5815004 	str	r5, [r1, #4]                                  
   14b74:	0a000006 	beq	14b94 <_Timer_server_Body+0x170>              
          watchdog->state = WATCHDOG_INACTIVE;                        
   14b78:	e5839008 	str	r9, [r3, #8]                                  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
   14b7c:	e129f002 	msr	CPSR_fc, r2                                   
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
   14b80:	e2830020 	add	r0, r3, #32                                   
   14b84:	e8900003 	ldm	r0, {r0, r1}                                  
   14b88:	e1a0e00f 	mov	lr, pc                                        
   14b8c:	e593f01c 	ldr	pc, [r3, #28]                                 
      }                                                               
   14b90:	eaffffed 	b	14b4c <_Timer_server_Body+0x128>                
   14b94:	e129f002 	msr	CPSR_fc, r2                                   
   14b98:	eaffffb5 	b	14a74 <_Timer_server_Body+0x50>                 
    } else {                                                          
      ts->active = false;                                             
   14b9c:	e5c4907c 	strb	r9, [r4, #124]	; 0x7c                        
   14ba0:	e59f304c 	ldr	r3, [pc, #76]	; 14bf4 <_Timer_server_Body+0x1d0>
   14ba4:	e5932000 	ldr	r2, [r3]                                      
   14ba8:	e2822001 	add	r2, r2, #1                                    
   14bac:	e5832000 	str	r2, [r3]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
   14bb0:	e3a01008 	mov	r1, #8                                        
   14bb4:	e5940000 	ldr	r0, [r4]                                      
   14bb8:	eb000d9f 	bl	1823c <_Thread_Set_state>                      
        _Timer_server_Reset_interval_system_watchdog( ts );           
   14bbc:	e1a00004 	mov	r0, r4                                        
   14bc0:	ebffff6b 	bl	14974 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
   14bc4:	e1a00004 	mov	r0, r4                                        
   14bc8:	ebffff7f 	bl	149cc <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
   14bcc:	eb000b01 	bl	177d8 <_Thread_Enable_dispatch>                
                                                                      
      ts->active = true;                                              
   14bd0:	e3a03001 	mov	r3, #1                                        
   14bd4:	e5c4307c 	strb	r3, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   14bd8:	e59d0004 	ldr	r0, [sp, #4]                                  
   14bdc:	eb0010a0 	bl	18e64 <_Watchdog_Remove>                       
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   14be0:	e59d0000 	ldr	r0, [sp]                                      
   14be4:	eb00109e 	bl	18e64 <_Watchdog_Remove>                       
   14be8:	eaffffa1 	b	14a74 <_Timer_server_Body+0x50>                 
   14bec:	00039da4 	.word	0x00039da4                                  
   14bf0:	00039cd4 	.word	0x00039cd4                                  
   14bf4:	00039c4c 	.word	0x00039c4c                                  
                                                                      
00017e40 <_exit>:                                                     
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
   17e40:	e1a04000 	mov	r4, r0                                        
   17e44:	eb000229 	bl	186f0 <___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();                                                      
   17e48:	ebffffe0 	bl	17dd0 <libc_wrapup>                            
  rtems_shutdown_executive(status);                                   
   17e4c:	e1a00004 	mov	r0, r4                                        
   17e50:	eb00003b 	bl	17f44 <rtems_shutdown_executive>               
   17e54:	eafffffe 	b	17e54 <_exit+0x14>                              <== NOT EXECUTED
                                                                      
00033bd0 <_fcntl_r>:                                                  
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
   33bd0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
   33bd4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
   33bd8:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
   33bdc:	eaffff8b 	b	33a10 <fcntl>                                   <== NOT EXECUTED
                                                                      
0000b870 <_getpid_r>:                                                 
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
  return getpid();                                                    
}                                                                     
    b870:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    b874:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
0000918c <_gettimeofday>:                                             
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
    918c:	eaffffe8 	b	9134 <gettimeofday>                             <== NOT EXECUTED
                                                                      
00022e64 <_link_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
   22e64:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
   22e68:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
   22e6c:	eaffff68 	b	22c14 <link>                                    <== NOT EXECUTED
                                                                      
00023060 <_lstat_r>:                                                  
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
   23060:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
   23064:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
   23068:	eaffffc4 	b	22f80 <lstat>                                   <== NOT EXECUTED
                                                                      
00017f28 <_realloc_r>:                                                
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
   17f28:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
   17f2c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
   17f30:	ea00000e 	b	17f70 <realloc>                                 <== NOT EXECUTED
                                                                      
0005303c <_rename_r>:                                                 
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
   5303c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   53040:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
   53044:	e24dd044 	sub	sp, sp, #68	; 0x44                            <== NOT EXECUTED
   53048:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
   5304c:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   53050:	ebfec57c 	bl	4648 <rtems_filesystem_dirname>                <== NOT EXECUTED
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   53054:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
   53058:	1a000019 	bne	530c4 <_rename_r+0x88>                        <== NOT EXECUTED
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   5305c:	e5d53000 	ldrb	r3, [r5]                                     <== NOT EXECUTED
   53060:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
   53064:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
   53068:	0a000001 	beq	53074 <_rename_r+0x38>                        <== NOT EXECUTED
   5306c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53070:	1a000009 	bne	5309c <_rename_r+0x60>                        <== NOT EXECUTED
   53074:	e59f33ac 	ldr	r3, [pc, #940]	; 53428 <_rename_r+0x3ec>      <== NOT EXECUTED
   53078:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
   5307c:	e28ee018 	add	lr, lr, #24                                   <== NOT EXECUTED
   53080:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   53084:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
   53088:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   5308c:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
   53090:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
   53094:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   53098:	ea000013 	b	530ec <_rename_r+0xb0>                          <== NOT EXECUTED
   5309c:	e59f3384 	ldr	r3, [pc, #900]	; 53428 <_rename_r+0x3ec>      <== NOT EXECUTED
   530a0:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
   530a4:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
   530a8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   530ac:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
   530b0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   530b4:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
   530b8:	e1a04007 	mov	r4, r7                                        <== NOT EXECUTED
   530bc:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   530c0:	ea000009 	b	530ec <_rename_r+0xb0>                          <== NOT EXECUTED
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
   530c4:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
   530c8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   530cc:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
   530d0:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
   530d4:	e28d3018 	add	r3, sp, #24                                   <== NOT EXECUTED
   530d8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   530dc:	ebfec5a1 	bl	4768 <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
   530e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   530e4:	03a04001 	moveq	r4, #1                                      <== NOT EXECUTED
   530e8:	1a000025 	bne	53184 <_rename_r+0x148>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   530ec:	e28de018 	add	lr, sp, #24                                   <== NOT EXECUTED
   530f0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   530f4:	e28dc02c 	add	ip, sp, #44	; 0x2c                            <== NOT EXECUTED
   530f8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   530fc:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
   53100:	e0855007 	add	r5, r5, r7                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   53104:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   53108:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
   5310c:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   53110:	ebffb361 	bl	3fe9c <strlen>                                 <== NOT EXECUTED
   53114:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   53118:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   5311c:	ebfec53d 	bl	4618 <rtems_filesystem_prefix_separators>      <== NOT EXECUTED
   53120:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   53124:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   53128:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   5312c:	ebffb35a 	bl	3fe9c <strlen>                                 <== NOT EXECUTED
   53130:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
   53134:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   53138:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
   5313c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   53140:	e28d302c 	add	r3, sp, #44	; 0x2c                            <== NOT EXECUTED
   53144:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   53148:	ebfec54e 	bl	4688 <rtems_filesystem_evaluate_relative_path> <== NOT EXECUTED
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
   5314c:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
   53150:	0a00000d 	beq	5318c <_rename_r+0x150>                       <== NOT EXECUTED
    if ( free_old_parentloc )                                         
   53154:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   53158:	0a000007 	beq	5317c <_rename_r+0x140>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
   5315c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   53160:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53164:	0a000004 	beq	5317c <_rename_r+0x140>                       <== NOT EXECUTED
   53168:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   5316c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53170:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   53174:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53178:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
   5317c:	ebff98bb 	bl	39470 <__errno>                                <== NOT EXECUTED
   53180:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
   53184:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
   53188:	ea0000a3 	b	5341c <_rename_r+0x3e0>                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
   5318c:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
   53190:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
   53194:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
   53198:	13a05000 	movne	r5, #0                                      <== NOT EXECUTED
   5319c:	03a05001 	moveq	r5, #1                                      <== NOT EXECUTED
   531a0:	0a000001 	beq	531ac <_rename_r+0x170>                       <== NOT EXECUTED
   531a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   531a8:	1a000009 	bne	531d4 <_rename_r+0x198>                       <== NOT EXECUTED
   531ac:	e59f3274 	ldr	r3, [pc, #628]	; 53428 <_rename_r+0x3ec>      <== NOT EXECUTED
   531b0:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
   531b4:	e28ee018 	add	lr, lr, #24                                   <== NOT EXECUTED
   531b8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   531bc:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
   531c0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   531c4:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
   531c8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
   531cc:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   531d0:	ea000008 	b	531f8 <_rename_r+0x1bc>                         <== NOT EXECUTED
   531d4:	e59f324c 	ldr	r3, [pc, #588]	; 53428 <_rename_r+0x3ec>      <== NOT EXECUTED
   531d8:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
   531dc:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
   531e0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   531e4:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
   531e8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   531ec:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
   531f0:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   531f4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
   531f8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   531fc:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
   53200:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53204:	0a00004d 	beq	53340 <_rename_r+0x304>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
   53208:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
   5320c:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
   53210:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   53214:	e28d2040 	add	r2, sp, #64	; 0x40                            <== NOT EXECUTED
   53218:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   5321c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
  if ( result != 0 ) {                                                
   53220:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
   53224:	0a00001c 	beq	5329c <_rename_r+0x260>                       <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
   53228:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   5322c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53230:	0a000004 	beq	53248 <_rename_r+0x20c>                       <== NOT EXECUTED
   53234:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53238:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   5323c:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
   53240:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53244:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
   53248:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   5324c:	0a000007 	beq	53270 <_rename_r+0x234>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
   53250:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   53254:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53258:	0a000004 	beq	53270 <_rename_r+0x234>                       <== NOT EXECUTED
   5325c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53260:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53264:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   53268:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   5326c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
   53270:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
   53274:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53278:	0a000004 	beq	53290 <_rename_r+0x254>                       <== NOT EXECUTED
   5327c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53280:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53284:	128d002c 	addne	r0, sp, #44	; 0x2c                          <== NOT EXECUTED
   53288:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   5328c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
   53290:	ebff9876 	bl	39470 <__errno>                                <== NOT EXECUTED
   53294:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
   53298:	eaffffb9 	b	53184 <_rename_r+0x148>                         <== NOT EXECUTED
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
   5329c:	e59d3014 	ldr	r3, [sp, #20]                                 <== NOT EXECUTED
   532a0:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          <== NOT EXECUTED
   532a4:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
   532a8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   532ac:	0a00001b 	beq	53320 <_rename_r+0x2e4>                       <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
   532b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   532b4:	0a000004 	beq	532cc <_rename_r+0x290>                       <== NOT EXECUTED
   532b8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   532bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   532c0:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
   532c4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   532c8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
   532cc:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   532d0:	0a000007 	beq	532f4 <_rename_r+0x2b8>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
   532d4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   532d8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   532dc:	0a000004 	beq	532f4 <_rename_r+0x2b8>                       <== NOT EXECUTED
   532e0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   532e4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   532e8:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   532ec:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   532f0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
   532f4:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
   532f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   532fc:	0a000004 	beq	53314 <_rename_r+0x2d8>                       <== NOT EXECUTED
   53300:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53304:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53308:	128d002c 	addne	r0, sp, #44	; 0x2c                          <== NOT EXECUTED
   5330c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53310:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   53314:	ebff9855 	bl	39470 <__errno>                                <== NOT EXECUTED
   53318:	e3a03012 	mov	r3, #18                                       <== NOT EXECUTED
   5331c:	ea00001b 	b	53390 <_rename_r+0x354>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
   53320:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          <== NOT EXECUTED
   53324:	e35c0000 	cmp	ip, #0                                        <== NOT EXECUTED
   53328:	1a00001a 	bne	53398 <_rename_r+0x35c>                       <== NOT EXECUTED
    rtems_filesystem_freenode( &new_parent_loc );                     
   5332c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53330:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53334:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
   53338:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   5333c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
   53340:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   53344:	0a000007 	beq	53368 <_rename_r+0x32c>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
   53348:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   5334c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53350:	0a000004 	beq	53368 <_rename_r+0x32c>                       <== NOT EXECUTED
   53354:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53358:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   5335c:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   53360:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53364:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
   53368:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
   5336c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53370:	0a000004 	beq	53388 <_rename_r+0x34c>                       <== NOT EXECUTED
   53374:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   53378:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   5337c:	128d002c 	addne	r0, sp, #44	; 0x2c                          <== NOT EXECUTED
   53380:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53384:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   53388:	ebff9838 	bl	39470 <__errno>                                <== NOT EXECUTED
   5338c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   53390:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   53394:	eaffff7a 	b	53184 <_rename_r+0x148>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   53398:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          <== NOT EXECUTED
   5339c:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
   533a0:	e28d102c 	add	r1, sp, #44	; 0x2c                            <== NOT EXECUTED
   533a4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
   533a8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   533ac:	e12fff1c 	bx	ip                                             <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   533b0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   533b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   533b8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   533bc:	0a000004 	beq	533d4 <_rename_r+0x398>                       <== NOT EXECUTED
   533c0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   533c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   533c8:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
   533cc:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   533d0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
  if ( free_old_parentloc )                                           
   533d4:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   533d8:	0a000007 	beq	533fc <_rename_r+0x3c0>                       <== NOT EXECUTED
    rtems_filesystem_freenode( &old_parent_loc );                     
   533dc:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   533e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   533e4:	0a000004 	beq	533fc <_rename_r+0x3c0>                       <== NOT EXECUTED
   533e8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   533ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   533f0:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   533f4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   533f8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
  rtems_filesystem_freenode( &old_loc );                              
   533fc:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
   53400:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53404:	0a000004 	beq	5341c <_rename_r+0x3e0>                       <== NOT EXECUTED
   53408:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   5340c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   53410:	128d002c 	addne	r0, sp, #44	; 0x2c                          <== NOT EXECUTED
   53414:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   53418:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   5341c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
   53420:	e28dd044 	add	sp, sp, #68	; 0x44                            <== NOT EXECUTED
   53424:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
   53428:	00053858 	.word	0x00053858                                  
                                                                      
00005c34 <_stat_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
    5c34:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    5c38:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
    5c3c:	eaffffc4 	b	5b54 <stat>                                     <== NOT EXECUTED
                                                                      
0000c720 <_unlink_r>:                                                 
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
    c720:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
    c724:	eaffff5c 	b	c49c <unlink>                                   <== NOT EXECUTED
                                                                      
000219c0 <chdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
   219c0:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
   219c4:	e2505000 	subs	r5, r0, #0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
   219c8:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
   219cc:	1a000002 	bne	219dc <chdir+0x1c>                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   219d0:	eb005ea6 	bl	39470 <__errno>                                
   219d4:	e3a0300e 	mov	r3, #14                                       
   219d8:	ea000025 	b	21a74 <chdir+0xb4>                              
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
   219dc:	eb00792e 	bl	3fe9c <strlen>                                 
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
   219e0:	e28d4004 	add	r4, sp, #4                                    
   219e4:	e3a0c001 	mov	ip, #1                                        
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
   219e8:	e1a01000 	mov	r1, r0                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
   219ec:	e1a0200c 	mov	r2, ip                                        
   219f0:	e1a00005 	mov	r0, r5                                        
   219f4:	e1a03004 	mov	r3, r4                                        
   219f8:	e58dc000 	str	ip, [sp]                                      
   219fc:	ebff8b59 	bl	4768 <rtems_filesystem_evaluate_path>          
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
   21a00:	e3500000 	cmp	r0, #0                                        
   21a04:	1a00001b 	bne	21a78 <chdir+0xb8>                            
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
   21a08:	e59d2010 	ldr	r2, [sp, #16]                                 
   21a0c:	e5923010 	ldr	r3, [r2, #16]                                 
   21a10:	e3530000 	cmp	r3, #0                                        
   21a14:	1a000007 	bne	21a38 <chdir+0x78>                            
    rtems_filesystem_freenode( &loc );                                
   21a18:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
   21a1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   21a20:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   21a24:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   21a28:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   21a2c:	eb005e8f 	bl	39470 <__errno>                                <== NOT EXECUTED
   21a30:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   21a34:	ea00000e 	b	21a74 <chdir+0xb4>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   21a38:	e1a00004 	mov	r0, r4                                        
   21a3c:	e1a0e00f 	mov	lr, pc                                        
   21a40:	e12fff13 	bx	r3                                             
   21a44:	e3500001 	cmp	r0, #1                                        
   21a48:	0a00000c 	beq	21a80 <chdir+0xc0>                            
    rtems_filesystem_freenode( &loc );                                
   21a4c:	e59d3010 	ldr	r3, [sp, #16]                                 
   21a50:	e3530000 	cmp	r3, #0                                        
   21a54:	0a000004 	beq	21a6c <chdir+0xac>                            
   21a58:	e593301c 	ldr	r3, [r3, #28]                                 
   21a5c:	e3530000 	cmp	r3, #0                                        
   21a60:	11a00004 	movne	r0, r4                                      
   21a64:	11a0e00f 	movne	lr, pc                                      
   21a68:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   21a6c:	eb005e7f 	bl	39470 <__errno>                                
   21a70:	e3a03014 	mov	r3, #20                                       
   21a74:	e5803000 	str	r3, [r0]                                      
   21a78:	e3e00000 	mvn	r0, #0                                        
   21a7c:	ea000012 	b	21acc <chdir+0x10c>                             
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
   21a80:	e59f304c 	ldr	r3, [pc, #76]	; 21ad4 <chdir+0x114>           
   21a84:	e5930000 	ldr	r0, [r3]                                      
   21a88:	e5903010 	ldr	r3, [r0, #16]                                 
   21a8c:	e3530000 	cmp	r3, #0                                        
   21a90:	0a000004 	beq	21aa8 <chdir+0xe8>                            
   21a94:	e593301c 	ldr	r3, [r3, #28]                                 
   21a98:	e3530000 	cmp	r3, #0                                        
   21a9c:	12800004 	addne	r0, r0, #4                                  
   21aa0:	11a0e00f 	movne	lr, pc                                      
   21aa4:	112fff13 	bxne	r3                                           
                                                                      
  rtems_filesystem_current = loc;                                     
   21aa8:	e59f3024 	ldr	r3, [pc, #36]	; 21ad4 <chdir+0x114>           
   21aac:	e28d4004 	add	r4, sp, #4                                    
   21ab0:	e593c000 	ldr	ip, [r3]                                      
   21ab4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
   21ab8:	e28cc004 	add	ip, ip, #4                                    
   21abc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   21ac0:	e5943000 	ldr	r3, [r4]                                      
   21ac4:	e58c3000 	str	r3, [ip]                                      
   21ac8:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
   21acc:	e28dd018 	add	sp, sp, #24                                   
   21ad0:	e8bd8030 	pop	{r4, r5, pc}                                  
   21ad4:	00053858 	.word	0x00053858                                  
                                                                      
00004480 <chmod>:                                                     
                                                                      
int chmod(                                                            
  const char *path,                                                   
  mode_t      mode                                                    
)                                                                     
{                                                                     
    4480:	e92d4070 	push	{r4, r5, r6, lr}                             
    4484:	e24dd018 	sub	sp, sp, #24                                   
    4488:	e1a05001 	mov	r5, r1                                        
    448c:	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 );
    4490:	eb00ee81 	bl	3fe9c <strlen>                                 
    4494:	e28d4004 	add	r4, sp, #4                                    
    4498:	e1a01000 	mov	r1, r0                                        
    449c:	e3a0c001 	mov	ip, #1                                        
    44a0:	e1a00006 	mov	r0, r6                                        
    44a4:	e3a02000 	mov	r2, #0                                        
    44a8:	e1a03004 	mov	r3, r4                                        
    44ac:	e58dc000 	str	ip, [sp]                                      
    44b0:	eb0000ac 	bl	4768 <rtems_filesystem_evaluate_path>          
  if ( status != 0 )                                                  
    44b4:	e3500000 	cmp	r0, #0                                        
    44b8:	1a00000d 	bne	44f4 <chmod+0x74>                             
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
    44bc:	e59d300c 	ldr	r3, [sp, #12]                                 
    44c0:	e3530000 	cmp	r3, #0                                        
    44c4:	1a00000c 	bne	44fc <chmod+0x7c>                             
    rtems_filesystem_freenode( &loc );                                
    44c8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    44cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    44d0:	0a000004 	beq	44e8 <chmod+0x68>                             <== NOT EXECUTED
    44d4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    44d8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    44dc:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    44e0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    44e4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
    44e8:	eb00d3e0 	bl	39470 <__errno>                                <== NOT EXECUTED
    44ec:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
    44f0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    44f4:	e3e05000 	mvn	r5, #0                                        
    44f8:	ea00001a 	b	4568 <chmod+0xe8>                               
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    44fc:	e593301c 	ldr	r3, [r3, #28]                                 
    4500:	e3530000 	cmp	r3, #0                                        
    4504:	1a00000a 	bne	4534 <chmod+0xb4>                             
    rtems_filesystem_freenode( &loc );                                
    4508:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    450c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    4510:	0a000004 	beq	4528 <chmod+0xa8>                             <== NOT EXECUTED
    4514:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    4518:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    451c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    4520:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    4524:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    4528:	eb00d3d0 	bl	39470 <__errno>                                <== NOT EXECUTED
    452c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    4530:	eaffffee 	b	44f0 <chmod+0x70>                               <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
    4534:	e1a01005 	mov	r1, r5                                        
    4538:	e1a00004 	mov	r0, r4                                        
    453c:	e1a0e00f 	mov	lr, pc                                        
    4540:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    4544:	e59d3010 	ldr	r3, [sp, #16]                                 
    4548:	e3530000 	cmp	r3, #0                                        
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
    454c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    4550:	0a000004 	beq	4568 <chmod+0xe8>                             
    4554:	e593301c 	ldr	r3, [r3, #28]                                 
    4558:	e3530000 	cmp	r3, #0                                        
    455c:	11a00004 	movne	r0, r4                                      
    4560:	11a0e00f 	movne	lr, pc                                      
    4564:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    4568:	e1a00005 	mov	r0, r5                                        
    456c:	e28dd018 	add	sp, sp, #24                                   
    4570:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
00021ad8 <chown>:                                                     
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
   21ad8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
   21adc:	e1a01801 	lsl	r1, r1, #16                                   
   21ae0:	e24dd018 	sub	sp, sp, #24                                   
   21ae4:	e1a02802 	lsl	r2, r2, #16                                   
   21ae8:	e1a06821 	lsr	r6, r1, #16                                   
   21aec:	e1a05822 	lsr	r5, r2, #16                                   
   21af0:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
   21af4:	eb0078e8 	bl	3fe9c <strlen>                                 
   21af8:	e28d4004 	add	r4, sp, #4                                    
   21afc:	e1a01000 	mov	r1, r0                                        
   21b00:	e3a0c001 	mov	ip, #1                                        
   21b04:	e1a00007 	mov	r0, r7                                        
   21b08:	e3a02000 	mov	r2, #0                                        
   21b0c:	e1a03004 	mov	r3, r4                                        
   21b10:	e58dc000 	str	ip, [sp]                                      
   21b14:	ebff8b13 	bl	4768 <rtems_filesystem_evaluate_path>          
   21b18:	e3500000 	cmp	r0, #0                                        
   21b1c:	1a00000b 	bne	21b50 <chown+0x78>                            
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
   21b20:	e59d2010 	ldr	r2, [sp, #16]                                 
   21b24:	e5923018 	ldr	r3, [r2, #24]                                 
   21b28:	e3530000 	cmp	r3, #0                                        
   21b2c:	1a000009 	bne	21b58 <chown+0x80>                            
    rtems_filesystem_freenode( &loc );                                
   21b30:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
   21b34:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   21b38:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   21b3c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   21b40:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   21b44:	eb005e49 	bl	39470 <__errno>                                <== NOT EXECUTED
   21b48:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   21b4c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   21b50:	e3e05000 	mvn	r5, #0                                        
   21b54:	ea00000d 	b	21b90 <chown+0xb8>                              
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
   21b58:	e1a02005 	mov	r2, r5                                        
   21b5c:	e1a01006 	mov	r1, r6                                        
   21b60:	e1a00004 	mov	r0, r4                                        
   21b64:	e1a0e00f 	mov	lr, pc                                        
   21b68:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   21b6c:	e59d3010 	ldr	r3, [sp, #16]                                 
   21b70:	e3530000 	cmp	r3, #0                                        
  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 );                 
   21b74:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   21b78:	0a000004 	beq	21b90 <chown+0xb8>                            
   21b7c:	e593301c 	ldr	r3, [r3, #28]                                 
   21b80:	e3530000 	cmp	r3, #0                                        
   21b84:	11a00004 	movne	r0, r4                                      
   21b88:	11a0e00f 	movne	lr, pc                                      
   21b8c:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
   21b90:	e1a00005 	mov	r0, r5                                        
   21b94:	e28dd018 	add	sp, sp, #24                                   
   21b98:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
00021b9c <chroot>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
   21b9c:	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) {             
   21ba0:	e59f50d4 	ldr	r5, [pc, #212]	; 21c7c <chroot+0xe0>          
   21ba4:	e59f30d4 	ldr	r3, [pc, #212]	; 21c80 <chroot+0xe4>          
   21ba8:	e5954000 	ldr	r4, [r5]                                      
   21bac:	e1540003 	cmp	r4, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
   21bb0:	e24dd018 	sub	sp, sp, #24                                   
   21bb4:	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) {             
   21bb8:	1a000007 	bne	21bdc <chroot+0x40>                           
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   21bbc:	eb0005dc 	bl	23334 <rtems_libio_set_private_env>            
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
   21bc0:	e5953000 	ldr	r3, [r5]                                      
   21bc4:	e1530004 	cmp	r3, r4                                        
   21bc8:	1a000003 	bne	21bdc <chroot+0x40>                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   21bcc:	eb005e27 	bl	39470 <__errno>                                <== NOT EXECUTED
   21bd0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   21bd4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   21bd8:	ea000008 	b	21c00 <chroot+0x64>                             <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
   21bdc:	e1a00006 	mov	r0, r6                                        
   21be0:	ebffff76 	bl	219c0 <chdir>                                  
  if (result) {                                                       
   21be4:	e250c000 	subs	ip, r0, #0                                   
   21be8:	0a000006 	beq	21c08 <chroot+0x6c>                           
    rtems_set_errno_and_return_minus_one( errno );                    
   21bec:	eb005e1f 	bl	39470 <__errno>                                <== NOT EXECUTED
   21bf0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
   21bf4:	eb005e1d 	bl	39470 <__errno>                                <== NOT EXECUTED
   21bf8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
   21bfc:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
   21c00:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   21c04:	ea00001a 	b	21c74 <chroot+0xd8>                             <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   21c08:	e1a0200c 	mov	r2, ip                                        
   21c0c:	e59f0070 	ldr	r0, [pc, #112]	; 21c84 <chroot+0xe8>          
   21c10:	e3a01001 	mov	r1, #1                                        
   21c14:	e28d3004 	add	r3, sp, #4                                    
   21c18:	e58dc000 	str	ip, [sp]                                      
   21c1c:	ebff8ad1 	bl	4768 <rtems_filesystem_evaluate_path>          
   21c20:	e3500000 	cmp	r0, #0                                        
   21c24:	1afffff0 	bne	21bec <chroot+0x50>                           
    /* 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);                  
   21c28:	e59f304c 	ldr	r3, [pc, #76]	; 21c7c <chroot+0xe0>           
   21c2c:	e5930000 	ldr	r0, [r3]                                      
   21c30:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
   21c34:	e3530000 	cmp	r3, #0                                        
   21c38:	0a000004 	beq	21c50 <chroot+0xb4>                           
   21c3c:	e593301c 	ldr	r3, [r3, #28]                                 
   21c40:	e3530000 	cmp	r3, #0                                        
   21c44:	12800018 	addne	r0, r0, #24                                 
   21c48:	11a0e00f 	movne	lr, pc                                      
   21c4c:	112fff13 	bxne	r3                                           
  rtems_filesystem_root = loc;                                        
   21c50:	e59f3024 	ldr	r3, [pc, #36]	; 21c7c <chroot+0xe0>           
   21c54:	e28d4004 	add	r4, sp, #4                                    
   21c58:	e593c000 	ldr	ip, [r3]                                      
   21c5c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
   21c60:	e28cc018 	add	ip, ip, #24                                   
   21c64:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   21c68:	e5943000 	ldr	r3, [r4]                                      
   21c6c:	e58c3000 	str	r3, [ip]                                      
   21c70:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
   21c74:	e28dd018 	add	sp, sp, #24                                   
   21c78:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   21c7c:	00053858 	.word	0x00053858                                  
   21c80:	00061208 	.word	0x00061208                                  
   21c84:	00058eac 	.word	0x00058eac                                  
                                                                      
0000804c <devFS_evaluate_path>:                                       
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
    804c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
    8050:	e5935000 	ldr	r5, [r3]                                      
  if (!device_name_table)                                             
    8054:	e3550000 	cmp	r5, #0                                        
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
    8058:	e1a04003 	mov	r4, r3                                        
    805c:	e1a09000 	mov	r9, r0                                        
    8060:	e1a08001 	mov	r8, r1                                        
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    8064:	13a06000 	movne	r6, #0                                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    8068:	159fa090 	ldrne	sl, [pc, #144]	; 8100 <devFS_evaluate_path+0xb4>
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    806c:	1a000019 	bne	80d8 <devFS_evaluate_path+0x8c>               
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    8070:	eb0008d9 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    8074:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    8078:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    807c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    8080:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
    8084:	e5957000 	ldr	r7, [r5]                                      
    8088:	e2571000 	subs	r1, r7, #0                                   
    808c:	0a00000f 	beq	80d0 <devFS_evaluate_path+0x84>               
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
    8090:	eb000c87 	bl	b2b4 <strncmp>                                 
    8094:	e3500000 	cmp	r0, #0                                        
    8098:	1a00000c 	bne	80d0 <devFS_evaluate_path+0x84>               
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
    809c:	e7d70008 	ldrb	r0, [r7, r8]                                 
    80a0:	e3500000 	cmp	r0, #0                                        
    80a4:	1a000009 	bne	80d0 <devFS_evaluate_path+0x84>               
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    80a8:	e59f3054 	ldr	r3, [pc, #84]	; 8104 <devFS_evaluate_path+0xb8>
    80ac:	e5933000 	ldr	r3, [r3]                                      
    80b0:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
    80b4:	e5843010 	str	r3, [r4, #16]                                 
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    80b8:	e59f3048 	ldr	r3, [pc, #72]	; 8108 <devFS_evaluate_path+0xbc>
    80bc:	e5843008 	str	r3, [r4, #8]                                  
    pathloc->ops = &devFS_ops;                                        
    80c0:	e59f3044 	ldr	r3, [pc, #68]	; 810c <devFS_evaluate_path+0xc0>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    80c4:	e5845000 	str	r5, [r4]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    80c8:	e584300c 	str	r3, [r4, #12]                                 
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
    80cc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    80d0:	e2866001 	add	r6, r6, #1                                    
    80d4:	e2855014 	add	r5, r5, #20                                   
    80d8:	e59a3000 	ldr	r3, [sl]                                      
    80dc:	e1560003 	cmp	r6, r3                                        
    if (!device_name_table[i].device_name)                            
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
    80e0:	e1a00009 	mov	r0, r9                                        
    80e4:	e1a02008 	mov	r2, r8                                        
  /* 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++) {                     
    80e8:	3affffe5 	bcc	8084 <devFS_evaluate_path+0x38>               
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
    80ec:	eb0008ba 	bl	a3dc <__errno>                                 
    80f0:	e3a03002 	mov	r3, #2                                        
    80f4:	e5803000 	str	r3, [r0]                                      
    80f8:	e3e00000 	mvn	r0, #0                                        
}                                                                     
    80fc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
    8100:	0000cf14 	.word	0x0000cf14                                  
    8104:	0000d0fc 	.word	0x0000d0fc                                  
    8108:	0000d068 	.word	0x0000d068                                  
    810c:	0000d0a0 	.word	0x0000d0a0                                  
                                                                      
00001234 <devFS_initialize>:                                          
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
    1234:	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(     
    1238:	e59f7058 	ldr	r7, [pc, #88]	; 1298 <devFS_initialize+0x64>  
    123c:	e5973000 	ldr	r3, [r7]                                      
    1240:	e3a06014 	mov	r6, #20                                       
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
    1244:	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(     
    1248:	e0000396 	mul	r0, r6, r3                                    
    124c:	eb001a52 	bl	7b9c <_Workspace_Allocate>                     
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
    1250:	e2505000 	subs	r5, r0, #0                                   
    1254:	1a000004 	bne	126c <devFS_initialize+0x38>                  
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
    1258:	eb00245f 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    125c:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    1260:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1264:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    1268:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
  memset(                                                             
    126c:	e5972000 	ldr	r2, [r7]                                      
    1270:	e3a01000 	mov	r1, #0                                        
    1274:	e0020296 	mul	r2, r6, r2                                    
    1278:	eb002685 	bl	ac94 <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;      
    127c:	e59f3018 	ldr	r3, [pc, #24]	; 129c <devFS_initialize+0x68>  
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
    1280:	e2832038 	add	r2, r3, #56	; 0x38                            
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
    1284:	e584501c 	str	r5, [r4, #28]                                 
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
    1288:	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;      
    128c:	e5843024 	str	r3, [r4, #36]	; 0x24                          
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
    1290:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
    1294:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    1298:	0000cf14 	.word	0x0000cf14                                  
    129c:	0000d068 	.word	0x0000d068                                  
                                                                      
000012a0 <devFS_mknod>:                                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
    12a0:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     
    12a4:	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') &&                         
    12a8:	e5d00000 	ldrb	r0, [r0]                                     
    12ac:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
    12b0:	e1a05001 	mov	r5, r1                                        
    12b4:	e58d2000 	str	r2, [sp]                                      
    12b8:	e1a09003 	mov	r9, 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') &&                         
    12bc:	1a000008 	bne	12e4 <devFS_mknod+0x44>                       
    12c0:	e5d43001 	ldrb	r3, [r4, #1]                                 
    12c4:	e3530065 	cmp	r3, #101	; 0x65                               
    12c8:	1a000005 	bne	12e4 <devFS_mknod+0x44>                       
      (path[2] == 'v') && (path[3] == '\0'))                          
    12cc:	e5d43002 	ldrb	r3, [r4, #2]                                 
    12d0:	e3530076 	cmp	r3, #118	; 0x76                               
    12d4:	1a000002 	bne	12e4 <devFS_mknod+0x44>                       
    12d8:	e5d40003 	ldrb	r0, [r4, #3]                                 
    12dc:	e3500000 	cmp	r0, #0                                        
    12e0:	0a000039 	beq	13cc <devFS_mknod+0x12c>                      
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    12e4:	e205aa0f 	and	sl, r5, #61440	; 0xf000                       
    12e8:	e35a0a02 	cmp	sl, #8192	; 0x2000                            
    12ec:	135a0a06 	cmpne	sl, #24576	; 0x6000                         
    12f0:	03a0a000 	moveq	sl, #0                                      
    12f4:	13a0a001 	movne	sl, #1                                      
    12f8:	0a000002 	beq	1308 <devFS_mknod+0x68>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    12fc:	eb002436 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    1300:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    1304:	ea000008 	b	132c <devFS_mknod+0x8c>                         <== NOT EXECUTED
  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;    
    1308:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
    130c:	e5936000 	ldr	r6, [r3]                                      
  if (!device_name_table)                                             
    1310:	e3560000 	cmp	r6, #0                                        
    1314:	13e07000 	mvnne	r7, #0                                      
    1318:	11a0800a 	movne	r8, sl                                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
    131c:	159fb0ac 	ldrne	fp, [pc, #172]	; 13d0 <devFS_mknod+0x130>   
    1320:	1a000010 	bne	1368 <devFS_mknod+0xc8>                       
    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 );                   
    1324:	eb00242c 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    1328:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    132c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1330:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    1334:	ea000024 	b	13cc <devFS_mknod+0x12c>                        <== NOT EXECUTED
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
    1338:	e796300a 	ldr	r3, [r6, sl]                                  
    133c:	e2531000 	subs	r1, r3, #0                                   
    1340:	0a000005 	beq	135c <devFS_mknod+0xbc>                       
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
    1344:	eb0026fa 	bl	af34 <strcmp>                                  <== NOT EXECUTED
    1348:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    134c:	1a000003 	bne	1360 <devFS_mknod+0xc0>                       <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one( EEXIST );         
    1350:	eb002421 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    1354:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
    1358:	eafffff3 	b	132c <devFS_mknod+0x8c>                         <== NOT EXECUTED
    135c:	e1a07008 	mov	r7, r8                                        
  /* 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++){           
    1360:	e2888001 	add	r8, r8, #1                                    
    1364:	e28aa014 	add	sl, sl, #20                                   
    1368:	e59b3000 	ldr	r3, [fp]                                      
    136c:	e1580003 	cmp	r8, r3                                        
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
    1370:	e1a00004 	mov	r0, r4                                        
  /* 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++){           
    1374:	3affffef 	bcc	1338 <devFS_mknod+0x98>                       
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
    1378:	e3770001 	cmn	r7, #1                                        
    137c:	1a000004 	bne	1394 <devFS_mknod+0xf4>                       
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
    1380:	eb002415 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    1384:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    1388:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    138c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    1390:	ea00000d 	b	13cc <devFS_mknod+0x12c>                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    1394:	e10f8000 	mrs	r8, CPSR                                      
    1398:	e3883080 	orr	r3, r8, #128	; 0x80                           
    139c:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
    13a0:	e3a02014 	mov	r2, #20                                       
    13a4:	e0030792 	mul	r3, r2, r7                                    
  device_name_table[slot].device_name_length = strlen(path);          
    13a8:	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;                
    13ac:	e7864003 	str	r4, [r6, r3]                                  
    13b0:	e0866003 	add	r6, r6, r3                                    
  device_name_table[slot].device_name_length = strlen(path);          
    13b4:	eb0027a6 	bl	b254 <strlen>                                  
  device_name_table[slot].major = major;                              
    13b8:	e59d3000 	ldr	r3, [sp]                                      
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
    13bc:	e5865010 	str	r5, [r6, #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);          
    13c0:	e9860209 	stmib	r6, {r0, r3, r9}                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    13c4:	e129f008 	msr	CPSR_fc, r8                                   
    13c8:	e3a00000 	mov	r0, #0                                        
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
    13cc:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      
    13d0:	0000cf14 	.word	0x0000cf14                                  
                                                                      
00001450 <devFS_read>:                                                
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    1450:	e92d487f 	push	{r0, r1, r2, r3, r4, r5, r6, fp, lr}         <== NOT EXECUTED
    1454:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    1458:	e5900014 	ldr	r0, [r0, #20]                                 <== NOT EXECUTED
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
    145c:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
    1460:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    1464:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    1468:	e58d0014 	str	r0, [sp, #20]                                 <== 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;           
    146c:	e5932038 	ldr	r2, [r3, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    1470:	e283c00c 	add	ip, r3, #12                                   <== NOT EXECUTED
    1474:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
    1478:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
    147c:	e2820008 	add	r0, r2, #8                                    <== NOT EXECUTED
    1480:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    1484:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    1488:	e98d1800 	stmib	sp, {fp, ip}                                <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
    148c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
    1490:	eb000f5b 	bl	5204 <rtems_io_read>                           <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    1494:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
    1498:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
    149c:	1b001b1b 	blne	8110 <rtems_deviceio_errno>                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
    14a0:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
    14a4:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
                                                                      
000014a8 <devFS_stat>:                                                
  struct stat                      *buf                               
)                                                                     
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
    14a8:	e5903000 	ldr	r3, [r0]                                      
  if (!the_dev)                                                       
    14ac:	e3530000 	cmp	r3, #0                                        
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
    14b0:	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)                                                       
    14b4:	1a000004 	bne	14cc <devFS_stat+0x24>                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    14b8:	eb0023c7 	bl	a3dc <__errno>                                 <== NOT EXECUTED
    14bc:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    14c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    14c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    14c8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
                                                                      
  buf->st_mode = the_dev->mode;                                       
    14cc:	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 );
    14d0:	e593200c 	ldr	r2, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
    14d4:	e5933008 	ldr	r3, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
    14d8:	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 );
    14dc:	e5813018 	str	r3, [r1, #24]                                 
    14e0:	e581201c 	str	r2, [r1, #28]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
    14e4:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
    14e8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
0000abf0 <device_read>:                                               
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
    abf0:	e92d487f 	push	{r0, r1, r2, r3, r4, r5, r6, fp, lr}         <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    abf4:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    abf8:	e280c00c 	add	ip, r0, #12                                   <== NOT EXECUTED
    abfc:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
    ac00:	e58d3014 	str	r3, [sp, #20]                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
    ac04:	e98d1800 	stmib	sp, {fp, ip}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
    ac08:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
    ac0c:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
    ac10:	e58d3018 	str	r3, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
    ac14:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
    ac18:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
    ac1c:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
    ac20:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    ac24:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
    ac28:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    ac2c:	eb0004e8 	bl	bfd4 <rtems_io_read>                           <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    ac30:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
    ac34:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
    ac38:	1b000603 	blne	c44c <rtems_deviceio_errno>                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
    ac3c:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
    ac40:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
                                                                      
00003368 <drainOutput>:                                               
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
    3368:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
    336c:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
    3370:	e92d4030 	push	{r4, r5, lr}                                 
    3374:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
    3378:	08bd8030 	popeq	{r4, r5, pc}                                
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    337c:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    3380:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    3384:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
			tty->rawOutBufState = rob_wait;                                    
    3388:	e3a05002 	mov	r5, #2                                        <== 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) {                
    338c:	ea00000a 	b	33bc <drainOutput+0x54>                         <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
    3390:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    3394:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
    3398:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    339c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
    33a0:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    33a4:	eb0005af 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
    33a8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    33ac:	1b000741 	blne	50b8 <rtems_fatal_error_occurred>            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    33b0:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    33b4:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    33b8:	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) {                
    33bc:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
    33c0:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
    33c4:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
    33c8:	1afffff0 	bne	3390 <drainOutput+0x28>                       <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    33cc:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    33d0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
00002530 <dup2>:                                                      
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
    2530:	e92d4070 	push	{r4, r5, r6, lr}                             
    2534:	e24dd048 	sub	sp, sp, #72	; 0x48                            
    2538:	e1a04001 	mov	r4, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    253c:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
    2540:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    2544:	eb00019b 	bl	2bb8 <fstat>                                   
  if ( status == -1 )                                                 
    2548:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
    254c:	e1a0500d 	mov	r5, sp                                        
  if ( status == -1 )                                                 
    2550:	0a000009 	beq	257c <dup2+0x4c>                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
    2554:	e1a0100d 	mov	r1, sp                                        
    2558:	e1a00004 	mov	r0, r4                                        
    255c:	eb000195 	bl	2bb8 <fstat>                                   
  if ( status == -1 )                                                 
    2560:	e3700001 	cmn	r0, #1                                        
    2564:	0a000004 	beq	257c <dup2+0x4c>                              
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
    2568:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    256c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    2570:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    2574:	eb00008d 	bl	27b0 <fcntl>                                   <== NOT EXECUTED
    2578:	ea000000 	b	2580 <dup2+0x50>                                <== NOT EXECUTED
    257c:	e3e00000 	mvn	r0, #0                                        
}                                                                     
    2580:	e28dd048 	add	sp, sp, #72	; 0x48                            
    2584:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
00002e68 <echo>:                                                      
 * 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')) {
    2e68:	e591303c 	ldr	r3, [r1, #60]	; 0x3c                          <== NOT EXECUTED
    2e6c:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
    2e70:	e92d4011 	push	{r0, r4, lr}                                 <== NOT EXECUTED
    2e74:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
    2e78:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
    2e7c:	0a000015 	beq	2ed8 <echo+0x70>                              <== NOT EXECUTED
    2e80:	e59f305c 	ldr	r3, [pc, #92]	; 2ee4 <echo+0x7c>              <== NOT EXECUTED
    2e84:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    2e88:	e0833000 	add	r3, r3, r0                                    <== NOT EXECUTED
    2e8c:	e5d32001 	ldrb	r2, [r3, #1]                                 <== NOT EXECUTED
    2e90:	e2503009 	subs	r3, r0, #9                                   <== NOT EXECUTED
    2e94:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
    2e98:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
    2e9c:	0a00000d 	beq	2ed8 <echo+0x70>                              <== NOT EXECUTED
    2ea0:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
    2ea4:	0a00000b 	beq	2ed8 <echo+0x70>                              <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
    2ea8:	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] = '^';                                                   
    2eac:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
    2eb0:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
    2eb4:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
    2eb8:	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;                                              
    2ebc:	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] = '^';                                                   
    2ec0:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
    2ec4:	ebffff4d 	bl	2c00 <rtems_termios_puts>                      <== NOT EXECUTED
		tty->column += 2;                                                   
    2ec8:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    2ecc:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
    2ed0:	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')) {
    2ed4:	ea000001 	b	2ee0 <echo+0x78>                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
    2ed8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2edc:	ebffff8b 	bl	2d10 <oproc>                                   <== NOT EXECUTED
	}                                                                    
}                                                                     
    2ee0:	e8bd8018 	pop	{r3, r4, pc}                                  <== NOT EXECUTED
    2ee4:	00018960 	.word	0x00018960                                  
                                                                      
00022240 <endgrent>:                                                  
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
  if (group_fp != NULL)                                               
   22240:	e59f300c 	ldr	r3, [pc, #12]	; 22254 <endgrent+0x14>         <== NOT EXECUTED
   22244:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
   22248:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   2224c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
   22250:	ea005cd3 	b	395a4 <fclose>                                  <== NOT EXECUTED
   22254:	00060d60 	.word	0x00060d60                                  
                                                                      
00022258 <endpwent>:                                                  
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
  if (passwd_fp != NULL)                                              
   22258:	e59f300c 	ldr	r3, [pc, #12]	; 2226c <endpwent+0x14>         <== NOT EXECUTED
   2225c:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
   22260:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   22264:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
   22268:	ea005ccd 	b	395a4 <fclose>                                  <== NOT EXECUTED
   2226c:	00060d60 	.word	0x00060d60                                  
                                                                      
00002ee8 <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)                                                
    2ee8:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
    2eec:	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)                   
{                                                                     
    2ef0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
    2ef4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    2ef8:	e1a07001 	mov	r7, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
    2efc:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
    2f00:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
    2f04:	0a000062 	beq	3094 <erase+0x1ac>                            <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
    2f08:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          <== NOT EXECUTED
    2f0c:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
			tty->ccount = 0;                                                   
    2f10:	05802020 	streq	r2, [r0, #32]                               <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
    2f14:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    <== NOT EXECUTED
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
    2f18:	e2133010 	ands	r3, r3, #16                                  <== NOT EXECUTED
    2f1c:	1a00005c 	bne	3094 <erase+0x1ac>                            <== NOT EXECUTED
			tty->ccount = 0;                                                   
    2f20:	e5803020 	str	r3, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
    2f24:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    2f28:	e5d00044 	ldrb	r0, [r0, #68]	; 0x44                         <== NOT EXECUTED
    2f2c:	ebffffcd 	bl	2e68 <echo>                                    <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
    2f30:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    2f34:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
				echo ('\n', tty);                                                 
    2f38:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
    2f3c:	13a0000a 	movne	r0, #10                                     <== NOT EXECUTED
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
			if (tty->termios.c_lflag & ECHOK)                                  
    2f40:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    <== NOT EXECUTED
    2f44:	ea00000c 	b	2f7c <erase+0x94>                               <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2f48:	e2411001 	sub	r1, r1, #1                                    <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2f4c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2f50:	e5841020 	str	r1, [r4, #32]                                 <== NOT EXECUTED
    2f54:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2f58:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
    2f5c:	e7d25001 	ldrb	r5, [r2, r1]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
    2f60:	0a000048 	beq	3088 <erase+0x1a0>                            <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
    2f64:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    2f68:	1a000005 	bne	2f84 <erase+0x9c>                             <== NOT EXECUTED
    2f6c:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
    2f70:	1a000003 	bne	2f84 <erase+0x9c>                             <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
    2f74:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
    2f78:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
    2f7c:	e8bd41f0 	pop	{r4, r5, r6, r7, r8, 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);                            
    2f80:	eaffffb8 	b	2e68 <echo>                                     <== NOT EXECUTED
			}                                                                  
			else if (c == '\t') {                                              
    2f84:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
    2f88:	1a000020 	bne	3010 <erase+0x128>                            <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
						if (tty->termios.c_lflag & ECHOCTL)                             
    2f8c:	e2033c02 	and	r3, r3, #512	; 0x200                          <== 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;                                 
    2f90:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    2f94:	e596c000 	ldr	ip, [r6]                                      <== NOT EXECUTED
    2f98:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
    2f9c:	ea00000d 	b	2fd8 <erase+0xf0>                               <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
    2fa0:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
    2fa4:	e7d00002 	ldrb	r0, [r0, r2]                                 <== NOT EXECUTED
					if (c == '\t') {                                                 
    2fa8:	e3500009 	cmp	r0, #9                                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    2fac:	e08c8000 	add	r8, ip, r0                                    <== NOT EXECUTED
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
    2fb0:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
    2fb4:	0a000005 	beq	2fd0 <erase+0xe8>                             <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
    2fb8:	e5d80001 	ldrb	r0, [r8, #1]                                 <== NOT EXECUTED
    2fbc:	e3100020 	tst	r0, #32                                       <== NOT EXECUTED
    2fc0:	0a000002 	beq	2fd0 <erase+0xe8>                             <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
    2fc4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
							col += 2;                                                      
    2fc8:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
    2fcc:	ea000000 	b	2fd4 <erase+0xec>                               <== NOT EXECUTED
					}                                                                
					else {                                                           
						col++;                                                          
    2fd0:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
    2fd4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
    2fd8:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
    2fdc:	1affffef 	bne	2fa0 <erase+0xb8>                             <== NOT EXECUTED
    2fe0:	ea000006 	b	3000 <erase+0x118>                              <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
					rtems_termios_puts ("\b", 1, tty);                               
    2fe4:	e59f00bc 	ldr	r0, [pc, #188]	; 30a8 <erase+0x1c0>           <== NOT EXECUTED
    2fe8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    2fec:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    2ff0:	ebffff02 	bl	2c00 <rtems_termios_puts>                      <== NOT EXECUTED
					tty->column--;                                                   
    2ff4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    2ff8:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    2ffc:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
    3000:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    3004:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
    3008:	cafffff5 	bgt	2fe4 <erase+0xfc>                             <== NOT EXECUTED
    300c:	ea00001d 	b	3088 <erase+0x1a0>                              <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
    3010:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
    3014:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
    3018:	e7d22005 	ldrb	r2, [r2, r5]                                 <== NOT EXECUTED
    301c:	e3120020 	tst	r2, #32                                       <== NOT EXECUTED
    3020:	0a000009 	beq	304c <erase+0x164>                            <== NOT EXECUTED
    3024:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
    3028:	0a000007 	beq	304c <erase+0x164>                            <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
    302c:	e59f0078 	ldr	r0, [pc, #120]	; 30ac <erase+0x1c4>           <== NOT EXECUTED
    3030:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
    3034:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    3038:	ebfffef0 	bl	2c00 <rtems_termios_puts>                      <== NOT EXECUTED
					if (tty->column)                                                 
    303c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    3040:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
    3044:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
    3048:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
    304c:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
    3050:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
    3054:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
    3058:	0a000002 	beq	3068 <erase+0x180>                            <== NOT EXECUTED
    305c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    3060:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
    3064:	0a000007 	beq	3088 <erase+0x1a0>                            <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
    3068:	e59f003c 	ldr	r0, [pc, #60]	; 30ac <erase+0x1c4>            <== NOT EXECUTED
    306c:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
    3070:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    3074:	ebfffee1 	bl	2c00 <rtems_termios_puts>                      <== NOT EXECUTED
					if (tty->column)                                                 
    3078:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    307c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
    3080:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
    3084:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
    3088:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    308c:	1a000001 	bne	3098 <erase+0x1b0>                            <== NOT EXECUTED
    3090:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
    3094:	e59f6014 	ldr	r6, [pc, #20]	; 30b0 <erase+0x1c8>            <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
    3098:	e5941020 	ldr	r1, [r4, #32]                                 <== NOT EXECUTED
    309c:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
    30a0:	1affffa8 	bne	2f48 <erase+0x60>                             <== NOT EXECUTED
    30a4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
    30a8:	000198a7 	.word	0x000198a7                                  
    30ac:	000198a5 	.word	0x000198a5                                  
    30b0:	00018960 	.word	0x00018960                                  
                                                                      
00033898 <fchdir>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
   33898:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
   3389c:	e59f315c 	ldr	r3, [pc, #348]	; 33a00 <fchdir+0x168>         <== NOT EXECUTED
   338a0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
   338a4:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
   338a8:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
   338ac:	2a000005 	bcs	338c8 <fchdir+0x30>                           <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
   338b0:	e59f314c 	ldr	r3, [pc, #332]	; 33a04 <fchdir+0x16c>         <== NOT EXECUTED
   338b4:	e5934000 	ldr	r4, [r3]                                      <== NOT EXECUTED
   338b8:	e0844300 	add	r4, r4, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
   338bc:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
   338c0:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
   338c4:	1a000002 	bne	338d4 <fchdir+0x3c>                           <== NOT EXECUTED
   338c8:	eb0016e8 	bl	39470 <__errno>                                <== NOT EXECUTED
   338cc:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   338d0:	ea000016 	b	33930 <fchdir+0x98>                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   338d4:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
   338d8:	1a000002 	bne	338e8 <fchdir+0x50>                           <== NOT EXECUTED
   338dc:	eb0016e3 	bl	39470 <__errno>                                <== NOT EXECUTED
   338e0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   338e4:	ea000011 	b	33930 <fchdir+0x98>                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if ( !iop->pathinfo.ops ) {                                         
   338e8:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
   338ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   338f0:	0a000002 	beq	33900 <fchdir+0x68>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if ( !iop->pathinfo.ops->node_type_h ) {                            
   338f4:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
   338f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   338fc:	1a000002 	bne	3390c <fchdir+0x74>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   33900:	eb0016da 	bl	39470 <__errno>                                <== NOT EXECUTED
   33904:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   33908:	ea000008 	b	33930 <fchdir+0x98>                             <== NOT EXECUTED
  }                                                                   
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
   3390c:	e2844018 	add	r4, r4, #24                                   <== NOT EXECUTED
   33910:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   33914:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   33918:	e12fff13 	bx	r3                                             <== NOT EXECUTED
   3391c:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
   33920:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
   33924:	0a000003 	beq	33938 <fchdir+0xa0>                           <== NOT EXECUTED
                                          RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   33928:	eb0016d0 	bl	39470 <__errno>                                <== NOT EXECUTED
   3392c:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
   33930:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   33934:	ea00001c 	b	339ac <fchdir+0x114>                            <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
   33938:	e59f50c8 	ldr	r5, [pc, #200]	; 33a08 <fchdir+0x170>         <== NOT EXECUTED
   3393c:	e5957000 	ldr	r7, [r5]                                      <== NOT EXECUTED
   33940:	e287c004 	add	ip, r7, #4                                    <== NOT EXECUTED
   33944:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   33948:	e28de004 	add	lr, sp, #4                                    <== NOT EXECUTED
   3394c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   33950:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
   33954:	e58e3000 	str	r3, [lr]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
   33958:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   3395c:	e287e004 	add	lr, r7, #4                                    <== NOT EXECUTED
   33960:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   33964:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   33968:	e3a0e000 	mov	lr, #0                                        <== NOT EXECUTED
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
  rtems_filesystem_current = iop->pathinfo;                           
   3396c:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   33970:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
   33974:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
   33978:	e59f008c 	ldr	r0, [pc, #140]	; 33a0c <fchdir+0x174>         <== NOT EXECUTED
   3397c:	e28d3018 	add	r3, sp, #24                                   <== NOT EXECUTED
   33980:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
   33984:	ebff4377 	bl	4768 <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
   33988:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   3398c:	0a000008 	beq	339b4 <fchdir+0x11c>                          <== NOT EXECUTED
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
   33990:	e595c000 	ldr	ip, [r5]                                      <== NOT EXECUTED
   33994:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
   33998:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   3399c:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
   339a0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   339a4:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
   339a8:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   339ac:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
	return -1;                                                           
   339b0:	ea000010 	b	339f8 <fchdir+0x160>                            <== NOT EXECUTED
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
   339b4:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   339b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   339bc:	0a000004 	beq	339d4 <fchdir+0x13c>                          <== NOT EXECUTED
   339c0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   339c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   339c8:	128d0004 	addne	r0, sp, #4                                  <== NOT EXECUTED
   339cc:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   339d0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  rtems_filesystem_current = loc;                                     
   339d4:	e59f302c 	ldr	r3, [pc, #44]	; 33a08 <fchdir+0x170>          <== NOT EXECUTED
   339d8:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
   339dc:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
   339e0:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   339e4:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
   339e8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   339ec:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
   339f0:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   339f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
   339f8:	e28dd02c 	add	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
   339fc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
   33a00:	00053580 	.word	0x00053580                                  
   33a04:	000611ac 	.word	0x000611ac                                  
   33a08:	00053858 	.word	0x00053858                                  
   33a0c:	00058eac 	.word	0x00058eac                                  
                                                                      
00021e90 <fchmod>:                                                    
  mode_t    mode                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   21e90:	e59f307c 	ldr	r3, [pc, #124]	; 21f14 <fchmod+0x84>          <== NOT EXECUTED
   21e94:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
   21e98:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
   21e9c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   21ea0:	2a000005 	bcs	21ebc <fchmod+0x2c>                           <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
   21ea4:	e59f306c 	ldr	r3, [pc, #108]	; 21f18 <fchmod+0x88>          <== NOT EXECUTED
   21ea8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
   21eac:	e0833300 	add	r3, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
   21eb0:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
   21eb4:	e3120c01 	tst	r2, #256	; 0x100                              <== NOT EXECUTED
   21eb8:	1a000002 	bne	21ec8 <fchmod+0x38>                           <== NOT EXECUTED
   21ebc:	eb005d6b 	bl	39470 <__errno>                                <== NOT EXECUTED
   21ec0:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   21ec4:	ea00000a 	b	21ef4 <fchmod+0x64>                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   21ec8:	e3120004 	tst	r2, #4                                        <== NOT EXECUTED
   21ecc:	1a000002 	bne	21edc <fchmod+0x4c>                           <== NOT EXECUTED
   21ed0:	eb005d66 	bl	39470 <__errno>                                <== NOT EXECUTED
   21ed4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   21ed8:	ea000005 	b	21ef4 <fchmod+0x64>                             <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
   21edc:	e593203c 	ldr	r2, [r3, #60]	; 0x3c                          <== NOT EXECUTED
   21ee0:	e592201c 	ldr	r2, [r2, #28]                                 <== NOT EXECUTED
   21ee4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
   21ee8:	1a000004 	bne	21f00 <fchmod+0x70>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   21eec:	eb005d5f 	bl	39470 <__errno>                                <== NOT EXECUTED
   21ef0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   21ef4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   21ef8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   21efc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
   21f00:	e2830018 	add	r0, r3, #24                                   <== NOT EXECUTED
   21f04:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
   21f08:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   21f0c:	e593f01c 	ldr	pc, [r3, #28]                                 <== NOT EXECUTED
}                                                                     
   21f10:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
   21f14:	00053580 	.word	0x00053580                                  
   21f18:	000611ac 	.word	0x000611ac                                  
                                                                      
00021f1c <fchown>:                                                    
  gid_t group                                                         
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   21f1c:	e59f3088 	ldr	r3, [pc, #136]	; 21fac <fchown+0x90>          <== NOT EXECUTED
   21f20:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
   21f24:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
   21f28:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   21f2c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
   21f30:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
   21f34:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
   21f38:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   21f3c:	2a000005 	bcs	21f58 <fchown+0x3c>                           <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
   21f40:	e59f3068 	ldr	r3, [pc, #104]	; 21fb0 <fchown+0x94>          <== NOT EXECUTED
   21f44:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
   21f48:	e0830300 	add	r0, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
   21f4c:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
   21f50:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
   21f54:	1a000002 	bne	21f64 <fchown+0x48>                           <== NOT EXECUTED
   21f58:	eb005d44 	bl	39470 <__errno>                                <== NOT EXECUTED
   21f5c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   21f60:	ea00000a 	b	21f90 <fchown+0x74>                             <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   21f64:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
   21f68:	1a000002 	bne	21f78 <fchown+0x5c>                           <== NOT EXECUTED
   21f6c:	eb005d3f 	bl	39470 <__errno>                                <== NOT EXECUTED
   21f70:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   21f74:	ea000005 	b	21f90 <fchown+0x74>                             <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
   21f78:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          <== NOT EXECUTED
   21f7c:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
   21f80:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   21f84:	1a000004 	bne	21f9c <fchown+0x80>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   21f88:	eb005d38 	bl	39470 <__errno>                                <== NOT EXECUTED
   21f8c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   21f90:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   21f94:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   21f98:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group );
   21f9c:	e2800018 	add	r0, r0, #24                                   <== NOT EXECUTED
   21fa0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   21fa4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
}                                                                     
   21fa8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
   21fac:	00053580 	.word	0x00053580                                  
   21fb0:	000611ac 	.word	0x000611ac                                  
                                                                      
00033a10 <fcntl>:                                                     
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
   33a10:	e92d000e 	push	{r1, r2, r3}                                 
   33a14:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   33a18:	e59f31a4 	ldr	r3, [pc, #420]	; 33bc4 <fcntl+0x1b4>          
   33a1c:	e5933000 	ldr	r3, [r3]                                      
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
   33a20:	e28d201c 	add	r2, sp, #28                                   
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   33a24:	e1500003 	cmp	r0, r3                                        
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
   33a28:	e58d2000 	str	r2, [sp]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
   33a2c:	e59d7018 	ldr	r7, [sp, #24]                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   33a30:	2a000005 	bcs	33a4c <fcntl+0x3c>                            
  iop = rtems_libio_iop( fd );                                        
   33a34:	e59f118c 	ldr	r1, [pc, #396]	; 33bc8 <fcntl+0x1b8>          
   33a38:	e591c000 	ldr	ip, [r1]                                      
   33a3c:	e08c4300 	add	r4, ip, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
   33a40:	e5940014 	ldr	r0, [r4, #20]                                 
   33a44:	e3100c01 	tst	r0, #256	; 0x100                              
   33a48:	1a000002 	bne	33a58 <fcntl+0x48>                            
   33a4c:	eb001687 	bl	39470 <__errno>                                <== NOT EXECUTED
   33a50:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   33a54:	ea000045 	b	33b70 <fcntl+0x160>                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
   33a58:	e3570009 	cmp	r7, #9                                        
   33a5c:	979ff107 	ldrls	pc, [pc, r7, lsl #2]                        
   33a60:	ea000040 	b	33b68 <fcntl+0x158>                             
   33a64:	00033a8c 	.word	0x00033a8c                                  <== NOT EXECUTED
   33a68:	00033af8 	.word	0x00033af8                                  <== NOT EXECUTED
   33a6c:	00033b04 	.word	0x00033b04                                  <== NOT EXECUTED
   33a70:	00033b24 	.word	0x00033b24                                  <== NOT EXECUTED
   33a74:	00033b30 	.word	0x00033b30                                  <== NOT EXECUTED
   33a78:	00033b5c 	.word	0x00033b5c                                  <== NOT EXECUTED
   33a7c:	00033b5c 	.word	0x00033b5c                                  <== NOT EXECUTED
   33a80:	00033b5c 	.word	0x00033b5c                                  <== NOT EXECUTED
   33a84:	00033b5c 	.word	0x00033b5c                                  <== NOT EXECUTED
   33a88:	00033b5c 	.word	0x00033b5c                                  <== NOT EXECUTED
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
   33a8c:	e5922000 	ldr	r2, [r2]                                      
      if ( fd2 )                                                      
   33a90:	e3520000 	cmp	r2, #0                                        
   33a94:	0a000003 	beq	33aa8 <fcntl+0x98>                            
        diop = rtems_libio_iop( fd2 );                                
   33a98:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
   33a9c:	23a0c000 	movcs	ip, #0                                      <== NOT EXECUTED
   33aa0:	308cc302 	addcc	ip, ip, r2, lsl #6                          <== NOT EXECUTED
   33aa4:	ea000002 	b	33ab4 <fcntl+0xa4>                              <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
   33aa8:	ebff443c 	bl	4ba0 <rtems_libio_allocate>                    
        if ( diop == 0 ) {                                            
   33aac:	e250c000 	subs	ip, r0, #0                                   
   33ab0:	0a00003e 	beq	33bb0 <fcntl+0x1a0>                           
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   33ab4:	e2846018 	add	r6, r4, #24                                   
   33ab8:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
   33abc:	e28c5018 	add	r5, ip, #24                                   
   33ac0:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       
      ret = (int) (diop - rtems_libio_iops);                          
   33ac4:	e59f30fc 	ldr	r3, [pc, #252]	; 33bc8 <fcntl+0x1b8>          
   33ac8:	e5933000 	ldr	r3, [r3]                                      
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   33acc:	e5966000 	ldr	r6, [r6]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
   33ad0:	e594003c 	ldr	r0, [r4, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
   33ad4:	e5941038 	ldr	r1, [r4, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
   33ad8:	e5942014 	ldr	r2, [r4, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   33adc:	e063300c 	rsb	r3, r3, ip                                    
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   33ae0:	e5856000 	str	r6, [r5]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
   33ae4:	e58c003c 	str	r0, [ip, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
   33ae8:	e58c1038 	str	r1, [ip, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
   33aec:	e58c2014 	str	r2, [ip, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   33af0:	e1a05343 	asr	r5, r3, #6                                    
   33af4:	ea00001f 	b	33b78 <fcntl+0x168>                             
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
   33af8:	e1a055a0 	lsr	r5, r0, #11                                   
   33afc:	e2055001 	and	r5, r5, #1                                    
   33b00:	ea00001e 	b	33b80 <fcntl+0x170>                             
       *  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 ) )                                        
   33b04:	e5925000 	ldr	r5, [r2]                                      
   33b08:	e3550000 	cmp	r5, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
   33b0c:	13800b02 	orrne	r0, r0, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
   33b10:	03c00b02 	biceq	r0, r0, #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;                      
   33b14:	15840014 	strne	r0, [r4, #20]                               
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
   33b18:	05840014 	streq	r0, [r4, #20]                               
       *  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 ) )                                        
   33b1c:	0a000017 	beq	33b80 <fcntl+0x170>                           
   33b20:	ea00000b 	b	33b54 <fcntl+0x144>                             
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
   33b24:	ebff43bf 	bl	4a28 <rtems_libio_to_fcntl_flags>              
   33b28:	e1a05000 	mov	r5, r0                                        
   33b2c:	ea000011 	b	33b78 <fcntl+0x168>                             
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   33b30:	e5920000 	ldr	r0, [r2]                                      
   33b34:	ebff443f 	bl	4c38 <rtems_libio_fcntl_flags>                 
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
   33b38:	e5943014 	ldr	r3, [r4, #20]                                 
   33b3c:	e59f2088 	ldr	r2, [pc, #136]	; 33bcc <fcntl+0x1bc>          
   33b40:	e3c33c02 	bic	r3, r3, #512	; 0x200                          
   33b44:	e0002002 	and	r2, r0, r2                                    
   33b48:	e3c33001 	bic	r3, r3, #1                                    
   33b4c:	e1823003 	orr	r3, r2, r3                                    
   33b50:	e5843014 	str	r3, [r4, #20]                                 
   33b54:	e3a05000 	mov	r5, #0                                        
   33b58:	ea000008 	b	33b80 <fcntl+0x170>                             
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
   33b5c:	eb001643 	bl	39470 <__errno>                                
   33b60:	e3a03086 	mov	r3, #134	; 0x86                               
   33b64:	ea000001 	b	33b70 <fcntl+0x160>                             
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
   33b68:	eb001640 	bl	39470 <__errno>                                
   33b6c:	e3a03016 	mov	r3, #22                                       
   33b70:	e5803000 	str	r3, [r0]                                      
   33b74:	ea00000d 	b	33bb0 <fcntl+0x1a0>                             
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
   33b78:	e3550000 	cmp	r5, #0                                        
   33b7c:	ba00000c 	blt	33bb4 <fcntl+0x1a4>                           
    if (iop->handlers->fcntl_h) {                                     
   33b80:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   33b84:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
   33b88:	e3530000 	cmp	r3, #0                                        
   33b8c:	0a000008 	beq	33bb4 <fcntl+0x1a4>                           
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
   33b90:	e1a01004 	mov	r1, r4                                        
   33b94:	e1a00007 	mov	r0, r7                                        
   33b98:	e1a0e00f 	mov	lr, pc                                        
   33b9c:	e12fff13 	bx	r3                                             
      if (err) {                                                      
   33ba0:	e2504000 	subs	r4, r0, #0                                   
   33ba4:	0a000002 	beq	33bb4 <fcntl+0x1a4>                           
        errno = err;                                                  
   33ba8:	eb001630 	bl	39470 <__errno>                                <== NOT EXECUTED
   33bac:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
   33bb0:	e3e05000 	mvn	r5, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   33bb4:	e1a00005 	mov	r0, r5                                        
   33bb8:	e8bd40f8 	pop	{r3, r4, r5, r6, r7, lr}                      
   33bbc:	e28dd00c 	add	sp, sp, #12                                   
   33bc0:	e12fff1e 	bx	lr                                             
   33bc4:	00053580 	.word	0x00053580                                  
   33bc8:	000611ac 	.word	0x000611ac                                  
   33bcc:	00000201 	.word	0x00000201                                  
                                                                      
0000b1b4 <fifo_open>:                                                 
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
    b1b4:	e59f3368 	ldr	r3, [pc, #872]	; b524 <fifo_open+0x370>       
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    b1b8:	e92d45f7 	push	{r0, r1, r2, r4, r5, r6, r7, r8, sl, lr}     
    b1bc:	e1a08001 	mov	r8, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
    b1c0:	e3a01000 	mov	r1, #0                                        
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    b1c4:	e1a07000 	mov	r7, r0                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
    b1c8:	e1a02001 	mov	r2, r1                                        
    b1cc:	e5930000 	ldr	r0, [r3]                                      
    b1d0:	ebffe624 	bl	4a68 <rtems_semaphore_obtain>                  
    b1d4:	e250a000 	subs	sl, r0, #0                                   
    b1d8:	13e06003 	mvnne	r6, #3                                      
    b1dc:	1a0000ce 	bne	b51c <fifo_open+0x368>                        
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
    b1e0:	e5974000 	ldr	r4, [r7]                                      <== NOT EXECUTED
  if (pipe == NULL) {                                                 
    b1e4:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
    b1e8:	1a00004f 	bne	b32c <fifo_open+0x178>                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
    b1ec:	e3a00034 	mov	r0, #52	; 0x34                                <== NOT EXECUTED
    b1f0:	ebffda86 	bl	1c10 <malloc>                                  <== NOT EXECUTED
  if (pipe == NULL)                                                   
    b1f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
    b1f8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
    b1fc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
    b200:	03e0600b 	mvneq	r6, #11                                     <== NOT EXECUTED
    b204:	0a000056 	beq	b364 <fifo_open+0x1b0>                        <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
    b208:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
    b20c:	e3a02034 	mov	r2, #52	; 0x34                                <== NOT EXECUTED
    b210:	eb000900 	bl	d618 <memset>                                  <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
    b214:	e3a03c02 	mov	r3, #512	; 0x200                              <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
    b218:	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;                                              
    b21c:	e5853004 	str	r3, [r5, #4]                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
    b220:	ebffda7a 	bl	1c10 <malloc>                                  <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
    b224:	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);                                  
    b228:	e5850000 	str	r0, [r5]                                      <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
    b22c:	03e0600b 	mvneq	r6, #11                                     <== NOT EXECUTED
    b230:	0a00003a 	beq	b320 <fifo_open+0x16c>                        <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -EINTR;                                                       
  if (rtems_barrier_create(                                           
    b234:	e59f62ec 	ldr	r6, [pc, #748]	; b528 <fifo_open+0x374>       <== NOT EXECUTED
    b238:	e59f02ec 	ldr	r0, [pc, #748]	; b52c <fifo_open+0x378>       <== NOT EXECUTED
    b23c:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
    b240:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
    b244:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    b248:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
    b24c:	e285302c 	add	r3, r5, #44	; 0x2c                            <== NOT EXECUTED
    b250:	eb00025c 	bl	bbc8 <rtems_barrier_create>                    <== NOT EXECUTED
    b254:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
    b258:	1a00002d 	bne	b314 <fifo_open+0x160>                        <== 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(                                           
    b25c:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
    b260:	e59f02c8 	ldr	r0, [pc, #712]	; b530 <fifo_open+0x37c>       <== NOT EXECUTED
    b264:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    b268:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    b26c:	e2853030 	add	r3, r5, #48	; 0x30                            <== NOT EXECUTED
    b270:	eb000254 	bl	bbc8 <rtems_barrier_create>                    <== NOT EXECUTED
    b274:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    b278:	1a000023 	bne	b30c <fifo_open+0x158>                        <== 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(                                         
    b27c:	e5d62000 	ldrb	r2, [r6]                                     <== NOT EXECUTED
    b280:	e59f02ac 	ldr	r0, [pc, #684]	; b534 <fifo_open+0x380>       <== NOT EXECUTED
    b284:	e285c028 	add	ip, r5, #40	; 0x28                            <== NOT EXECUTED
    b288:	e1820000 	orr	r0, r2, r0                                    <== NOT EXECUTED
    b28c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    b290:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
    b294:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
    b298:	ebffe560 	bl	4820 <rtems_semaphore_create>                  <== NOT EXECUTED
    b29c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b2a0:	1a000017 	bne	b304 <fifo_open+0x150>                        <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get (                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    b2a4:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
    b2a8:	e594102c 	ldr	r1, [r4, #44]	; 0x2c                          <== NOT EXECUTED
    b2ac:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    b2b0:	e59f0280 	ldr	r0, [pc, #640]	; b538 <fifo_open+0x384>       <== NOT EXECUTED
    b2b4:	ebffeb7d 	bl	60b0 <_Objects_Get>                            <== NOT EXECUTED
/* Set barriers to be interruptible by signals. */                    
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
    b2b8:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    b2bc:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               <== NOT EXECUTED
    b2c0:	e580304c 	str	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
    b2c4:	ebffedb7 	bl	69a8 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
    b2c8:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    b2cc:	e5941030 	ldr	r1, [r4, #48]	; 0x30                          <== NOT EXECUTED
    b2d0:	e59f0260 	ldr	r0, [pc, #608]	; b538 <fifo_open+0x384>       <== NOT EXECUTED
    b2d4:	ebffeb75 	bl	60b0 <_Objects_Get>                            <== NOT EXECUTED
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    b2d8:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    b2dc:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               <== NOT EXECUTED
    b2e0:	e580304c 	str	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
    b2e4:	ebffedaf 	bl	69a8 <_Thread_Enable_dispatch>                 <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
    b2e8:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
    b2ec:	e353007a 	cmp	r3, #122	; 0x7a                               <== NOT EXECUTED
    b2f0:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    b2f4:	e5c63000 	strb	r3, [r6]                                     <== NOT EXECUTED
    c = 'a';                                                          
    b2f8:	03a03061 	moveq	r3, #97	; 0x61                              <== NOT EXECUTED
    b2fc:	05c63000 	strbeq	r3, [r6]                                   <== NOT EXECUTED
    b300:	ea000009 	b	b32c <fifo_open+0x178>                          <== NOT EXECUTED
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
    b304:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
    b308:	eb00025c 	bl	bc80 <rtems_barrier_delete>                    <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
    b30c:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
    b310:	eb00025a 	bl	bc80 <rtems_barrier_delete>                    <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
    b314:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
    b318:	ebffd98a 	bl	1948 <free>                                    <== NOT EXECUTED
    b31c:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
    b320:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    b324:	ebffd987 	bl	1948 <free>                                    <== NOT EXECUTED
    b328:	ea00000d 	b	b364 <fifo_open+0x1b0>                          <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    b32c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    b330:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b334:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    b338:	ebffe5ca 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    b33c:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    b340:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b344:	01a06000 	moveq	r6, r0                                      <== NOT EXECUTED
    b348:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    b34c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b350:	1a000003 	bne	b364 <fifo_open+0x1b0>                        <== NOT EXECUTED
    if (err)                                                          
    b354:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
    b358:	05874000 	streq	r4, [r7]                                    <== NOT EXECUTED
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
      pipe_free(pipe);                                                
    b35c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    b360:	1bffff47 	blne	b084 <pipe_free>                             <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
    b364:	e59f31b8 	ldr	r3, [pc, #440]	; b524 <fifo_open+0x370>       <== NOT EXECUTED
    b368:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    b36c:	ebffe603 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  uint prevCounter;                                                   
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    b370:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    b374:	1a000068 	bne	b51c <fifo_open+0x368>                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    b378:	e5982014 	ldr	r2, [r8, #20]                                 <== NOT EXECUTED
    b37c:	e2023006 	and	r3, r2, #6                                    <== NOT EXECUTED
    b380:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
    b384:	e5974000 	ldr	r4, [r7]                                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    b388:	0a000024 	beq	b420 <fifo_open+0x26c>                        <== NOT EXECUTED
    b38c:	e3530006 	cmp	r3, #6                                        <== NOT EXECUTED
    b390:	0a000046 	beq	b4b0 <fifo_open+0x2fc>                        <== NOT EXECUTED
    b394:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
    b398:	1a000058 	bne	b500 <fifo_open+0x34c>                        <== NOT EXECUTED
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
    b39c:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
    b3a0:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b3a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
    b3a8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b3ac:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
    b3b0:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b3b4:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
    b3b8:	05940030 	ldreq	r0, [r4, #48]	; 0x30                        <== NOT EXECUTED
    b3bc:	028d1008 	addeq	r1, sp, #8                                  <== NOT EXECUTED
    b3c0:	0b000246 	bleq	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
                                                                      
      if (pipe->Writers == 0) {                                       
    b3c4:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
    b3c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b3cc:	1a00004b 	bne	b500 <fifo_open+0x34c>                        <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
    b3d0:	e5983014 	ldr	r3, [r8, #20]                                 <== NOT EXECUTED
    b3d4:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
    b3d8:	1a000048 	bne	b500 <fifo_open+0x34c>                        <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
    b3dc:	e5945024 	ldr	r5, [r4, #36]	; 0x24                          <== NOT EXECUTED
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
    b3e0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b3e4:	ebffe5e5 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
    b3e8:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    b3ec:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
    b3f0:	eb000250 	bl	bd38 <rtems_barrier_wait>                      <== NOT EXECUTED
    b3f4:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
    b3f8:	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))                                  
    b3fc:	1a000042 	bne	b50c <fifo_open+0x358>                        <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
    b400:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b404:	ebffe597 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    b408:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b40c:	1a00003e 	bne	b50c <fifo_open+0x358>                        <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
    b410:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
    b414:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
    b418:	0afffff0 	beq	b3e0 <fifo_open+0x22c>                        <== NOT EXECUTED
    b41c:	ea000037 	b	b500 <fifo_open+0x34c>                          <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
    b420:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    b424:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b428:	1a000002 	bne	b438 <fifo_open+0x284>                        <== NOT EXECUTED
    b42c:	e3120001 	tst	r2, #1                                        <== NOT EXECUTED
    b430:	13e06005 	mvnne	r6, #5                                      <== NOT EXECUTED
    b434:	1a000035 	bne	b510 <fifo_open+0x35c>                        <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
    b438:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
    b43c:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b440:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
    b444:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b448:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
    b44c:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b450:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
    b454:	0594002c 	ldreq	r0, [r4, #44]	; 0x2c                        <== NOT EXECUTED
    b458:	028d1008 	addeq	r1, sp, #8                                  <== NOT EXECUTED
    b45c:	0b00021f 	bleq	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
    b460:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    b464:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b468:	1a000024 	bne	b500 <fifo_open+0x34c>                        <== NOT EXECUTED
        prevCounter = pipe->readerCounter;                            
    b46c:	e5945020 	ldr	r5, [r4, #32]                                 <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
    b470:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b474:	ebffe5c1 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
    b478:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    b47c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
    b480:	eb00022c 	bl	bd38 <rtems_barrier_wait>                      <== NOT EXECUTED
    b484:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
    b488:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
    b48c:	1a00001e 	bne	b50c <fifo_open+0x358>                        <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
    b490:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b494:	ebffe573 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    b498:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b49c:	1a00001a 	bne	b50c <fifo_open+0x358>                        <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
    b4a0:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    b4a4:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
    b4a8:	0afffff0 	beq	b470 <fifo_open+0x2bc>                        <== NOT EXECUTED
    b4ac:	ea000013 	b	b500 <fifo_open+0x34c>                          <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
    b4b0:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
    b4b4:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b4b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
    b4bc:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b4c0:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
    b4c4:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
    b4c8:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
    b4cc:	05940030 	ldreq	r0, [r4, #48]	; 0x30                        <== NOT EXECUTED
    b4d0:	028d1008 	addeq	r1, sp, #8                                  <== NOT EXECUTED
    b4d4:	0b000201 	bleq	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
    b4d8:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
    b4dc:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b4e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
    b4e4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b4e8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
    b4ec:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
    b4f0:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
    b4f4:	0594002c 	ldreq	r0, [r4, #44]	; 0x2c                        <== NOT EXECUTED
    b4f8:	028d1008 	addeq	r1, sp, #8                                  <== NOT EXECUTED
    b4fc:	0b0001f7 	bleq	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
    b500:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b504:	ebffe59d 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
  return 0;                                                           
    b508:	ea000003 	b	b51c <fifo_open+0x368>                          <== NOT EXECUTED
    b50c:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
    b510:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    b514:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
    b518:	ebfffee6 	bl	b0b8 <pipe_release>                            <== NOT EXECUTED
  return err;                                                         
}                                                                     
    b51c:	e1a00006 	mov	r0, r6                                        
    b520:	e8bd85fe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, sl, pc}      
    b524:	00019ea8 	.word	0x00019ea8                                  
    b528:	0001894c 	.word	0x0001894c                                  
    b52c:	50497200 	.word	0x50497200                                  
    b530:	50497700 	.word	0x50497700                                  
    b534:	50497300 	.word	0x50497300                                  
    b538:	0001aaf8 	.word	0x0001aaf8                                  
                                                                      
00023b44 <file_systems_below_this_mountpoint>:                        
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
   23b44:	e59f3030 	ldr	r3, [pc, #48]	; 23b7c <file_systems_below_this_mountpoint+0x38><== NOT EXECUTED
   23b48:	e4932004 	ldr	r2, [r3], #4                                  <== NOT EXECUTED
   23b4c:	ea000006 	b	23b6c <file_systems_below_this_mountpoint+0x28> <== NOT EXECUTED
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
   23b50:	e592c018 	ldr	ip, [r2, #24]                                 <== NOT EXECUTED
   23b54:	e5910010 	ldr	r0, [r1, #16]                                 <== NOT EXECUTED
   23b58:	e15c0000 	cmp	ip, r0                                        <== NOT EXECUTED
   23b5c:	1a000001 	bne	23b68 <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
   23b60:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
   23b64:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
   23b68:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
   23b6c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
   23b70:	1afffff6 	bne	23b50 <file_systems_below_this_mountpoint+0xc><== NOT EXECUTED
   23b74:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   23b78:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   23b7c:	000611f0 	.word	0x000611f0                                  
                                                                      
00002a04 <fpathconf>:                                                 
{                                                                     
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
    2a04:	e59f3100 	ldr	r3, [pc, #256]	; 2b0c <fpathconf+0x108>       
    2a08:	e5933000 	ldr	r3, [r3]                                      
    2a0c:	e1500003 	cmp	r0, r3                                        
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
    2a10:	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);                                           
    2a14:	2a000005 	bcs	2a30 <fpathconf+0x2c>                         
  iop = rtems_libio_iop(fd);                                          
    2a18:	e59f30f0 	ldr	r3, [pc, #240]	; 2b10 <fpathconf+0x10c>       
    2a1c:	e5933000 	ldr	r3, [r3]                                      
    2a20:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
    2a24:	e5903014 	ldr	r3, [r0, #20]                                 
    2a28:	e3130c01 	tst	r3, #256	; 0x100                              
    2a2c:	1a000002 	bne	2a3c <fpathconf+0x38>                         
    2a30:	eb003241 	bl	f33c <__errno>                                 
    2a34:	e3a03009 	mov	r3, #9                                        
    2a38:	ea000003 	b	2a4c <fpathconf+0x48>                           
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
    2a3c:	e3130002 	tst	r3, #2                                        
    2a40:	1a000004 	bne	2a58 <fpathconf+0x54>                         
    2a44:	eb00323c 	bl	f33c <__errno>                                 <== NOT EXECUTED
    2a48:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    2a4c:	e5803000 	str	r3, [r0]                                      
    2a50:	e3e00000 	mvn	r0, #0                                        
    2a54:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
    2a58:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
    2a5c:	e351000b 	cmp	r1, #11                                       
    2a60:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
    2a64:	ea000023 	b	2af8 <fpathconf+0xf4>                           
    2a68:	00002a98 	.word	0x00002a98                                  <== NOT EXECUTED
    2a6c:	00002aa0 	.word	0x00002aa0                                  <== NOT EXECUTED
    2a70:	00002aa8 	.word	0x00002aa8                                  <== NOT EXECUTED
    2a74:	00002ab0 	.word	0x00002ab0                                  <== NOT EXECUTED
    2a78:	00002ab8 	.word	0x00002ab8                                  <== NOT EXECUTED
    2a7c:	00002ac0 	.word	0x00002ac0                                  <== NOT EXECUTED
    2a80:	00002ac8 	.word	0x00002ac8                                  <== NOT EXECUTED
    2a84:	00002ad0 	.word	0x00002ad0                                  <== NOT EXECUTED
    2a88:	00002ad8 	.word	0x00002ad8                                  <== NOT EXECUTED
    2a8c:	00002ae0 	.word	0x00002ae0                                  <== NOT EXECUTED
    2a90:	00002ae8 	.word	0x00002ae8                                  <== NOT EXECUTED
    2a94:	00002af0 	.word	0x00002af0                                  <== NOT EXECUTED
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
    2a98:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
    2a9c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
    2aa0:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
    2aa4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
    2aa8:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
    2aac:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
    2ab0:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
    2ab4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
    2ab8:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
    2abc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
    2ac0:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
    2ac4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
    2ac8:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
    2acc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
    2ad0:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
    2ad4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
    2ad8:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
    2adc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
    2ae0:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
    2ae4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
    2ae8:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
    2aec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
    2af0:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
    2af4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    2af8:	eb00320f 	bl	f33c <__errno>                                 
    2afc:	e3a03016 	mov	r3, #22                                       
    2b00:	e5803000 	str	r3, [r0]                                      
    2b04:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
    2b08:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    2b0c:	0001c120 	.word	0x0001c120                                  
    2b10:	0001ddf4 	.word	0x0001ddf4                                  
                                                                      
00001948 <free>:                                                      
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
    1948:	e59f3088 	ldr	r3, [pc, #136]	; 19d8 <free+0x90>             
    194c:	e593200c 	ldr	r2, [r3, #12]                                 
    1950:	e92d4030 	push	{r4, r5, lr}                                 
    1954:	e2822001 	add	r2, r2, #1                                    
                                                                      
  if ( !ptr )                                                         
    1958:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
    195c:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
    1960:	08bd8030 	popeq	{r4, r5, pc}                                
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
    1964:	e59f3070 	ldr	r3, [pc, #112]	; 19dc <free+0x94>             
    1968:	e5933000 	ldr	r3, [r3]                                      
    196c:	e3530003 	cmp	r3, #3                                        
    1970:	1a000005 	bne	198c <free+0x44>                              
    1974:	eb00004b 	bl	1aa8 <malloc_is_system_state_OK>               
    1978:	e3500000 	cmp	r0, #0                                        
    197c:	1a000002 	bne	198c <free+0x44>                              
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
    1980:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
    1984:	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);                                      
    1988:	ea000059 	b	1af4 <malloc_deferred_free>                     <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    198c:	e59f304c 	ldr	r3, [pc, #76]	; 19e0 <free+0x98>              
    1990:	e5933000 	ldr	r3, [r3]                                      
    1994:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
    1998:	11a00004 	movne	r0, r4                                      
    199c:	11a0e00f 	movne	lr, pc                                      
    19a0:	1593f008 	ldrne	pc, [r3, #8]                                
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    19a4:	e59f5038 	ldr	r5, [pc, #56]	; 19e4 <free+0x9c>              
    19a8:	e1a01004 	mov	r1, r4                                        
    19ac:	e5950000 	ldr	r0, [r5]                                      
    19b0:	eb001277 	bl	6394 <_Protected_heap_Free>                    
    19b4:	e3500000 	cmp	r0, #0                                        
    19b8:	18bd8030 	popne	{r4, r5, pc}                                
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
    19bc:	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",
    19c0:	e59f0020 	ldr	r0, [pc, #32]	; 19e8 <free+0xa0>              <== NOT EXECUTED
    19c4:	e2822018 	add	r2, r2, #24                                   <== NOT EXECUTED
    19c8:	e892000c 	ldm	r2, {r2, r3}                                  <== NOT EXECUTED
    19cc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
    19d0:	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",
    19d4:	ea000320 	b	265c <printk>                                   <== NOT EXECUTED
    19d8:	0001a0a4 	.word	0x0001a0a4                                  
    19dc:	0001a3b0 	.word	0x0001a3b0                                  
    19e0:	00019d48 	.word	0x00019d48                                  
    19e4:	0001872c 	.word	0x0001872c                                  
    19e8:	00019862 	.word	0x00019862                                  
                                                                      
0002322c <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                                    
   2322c:	e59f3058 	ldr	r3, [pc, #88]	; 2328c <free_user_env+0x60>    <== NOT EXECUTED
   23230:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
   23234:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
   23238:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
   2323c:	08bd8010 	popeq	{r4, pc}                                    <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
   23240:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
   23244:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23248:	0a000004 	beq	23260 <free_user_env+0x34>                    <== NOT EXECUTED
   2324c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   23250:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23254:	12800004 	addne	r0, r0, #4                                  <== NOT EXECUTED
   23258:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   2325c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
   23260:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
   23264:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23268:	0a000004 	beq	23280 <free_user_env+0x54>                    <== NOT EXECUTED
   2326c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   23270:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23274:	12840018 	addne	r0, r4, #24                                 <== NOT EXECUTED
   23278:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   2327c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		free(env);                                                          
   23280:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
   23284:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
   23288:	eaff8569 	b	4834 <free>                                     <== NOT EXECUTED
   2328c:	00061208 	.word	0x00061208                                  
                                                                      
00017bfc <fstat>:                                                     
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
   17bfc:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
   17c00:	e2515000 	subs	r5, r1, #0                                   
   17c04:	1a000002 	bne	17c14 <fstat+0x18>                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   17c08:	ebffd438 	bl	ccf0 <__errno>                                 
   17c0c:	e3a0300e 	mov	r3, #14                                       
   17c10:	ea000014 	b	17c68 <fstat+0x6c>                              
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
   17c14:	e59f3080 	ldr	r3, [pc, #128]	; 17c9c <fstat+0xa0>           
   17c18:	e5933000 	ldr	r3, [r3]                                      
   17c1c:	e1500003 	cmp	r0, r3                                        
   17c20:	2a000008 	bcs	17c48 <fstat+0x4c>                            
   17c24:	e59f3074 	ldr	r3, [pc, #116]	; 17ca0 <fstat+0xa4>           
   17c28:	e5934000 	ldr	r4, [r3]                                      
   17c2c:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   17c30:	e5943014 	ldr	r3, [r4, #20]                                 
   17c34:	e3130c01 	tst	r3, #256	; 0x100                              
   17c38:	0a000002 	beq	17c48 <fstat+0x4c>                            
                                                                      
  if ( !iop->handlers )                                               
   17c3c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   17c40:	e3530000 	cmp	r3, #0                                        
   17c44:	1a000002 	bne	17c54 <fstat+0x58>                            
    rtems_set_errno_and_return_minus_one( EBADF );                    
   17c48:	ebffd428 	bl	ccf0 <__errno>                                 
   17c4c:	e3a03009 	mov	r3, #9                                        
   17c50:	ea000004 	b	17c68 <fstat+0x6c>                              
                                                                      
  if ( !iop->handlers->fstat_h )                                      
   17c54:	e5933018 	ldr	r3, [r3, #24]                                 
   17c58:	e3530000 	cmp	r3, #0                                        
   17c5c:	1a000004 	bne	17c74 <fstat+0x78>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   17c60:	ebffd422 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   17c64:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   17c68:	e5803000 	str	r3, [r0]                                      
   17c6c:	e3e00000 	mvn	r0, #0                                        
   17c70:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
   17c74:	e3a01000 	mov	r1, #0                                        
   17c78:	e3a02048 	mov	r2, #72	; 0x48                                
   17c7c:	e1a00005 	mov	r0, r5                                        
   17c80:	ebffd664 	bl	d618 <memset>                                  
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
   17c84:	e2840018 	add	r0, r4, #24                                   
   17c88:	e1a01005 	mov	r1, r5                                        
   17c8c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   17c90:	e1a0e00f 	mov	lr, pc                                        
   17c94:	e593f018 	ldr	pc, [r3, #24]                                 
}                                                                     
   17c98:	e8bd8030 	pop	{r4, r5, pc}                                  
   17c9c:	00018720 	.word	0x00018720                                  
   17ca0:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00022068 <fsync>:                                                     
  int     fd                                                          
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   22068:	e59f307c 	ldr	r3, [pc, #124]	; 220ec <fsync+0x84>           
   2206c:	e5933000 	ldr	r3, [r3]                                      
   22070:	e1500003 	cmp	r0, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
   22074:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   22078:	2a00000d 	bcs	220b4 <fsync+0x4c>                            
  iop = rtems_libio_iop( fd );                                        
   2207c:	e59f306c 	ldr	r3, [pc, #108]	; 220f0 <fsync+0x88>           
   22080:	e5933000 	ldr	r3, [r3]                                      
   22084:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
   22088:	e5903014 	ldr	r3, [r0, #20]                                 
   2208c:	e3130c01 	tst	r3, #256	; 0x100                              
   22090:	0a000007 	beq	220b4 <fsync+0x4c>                            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   22094:	e3130004 	tst	r3, #4                                        
   22098:	1a000002 	bne	220a8 <fsync+0x40>                            
   2209c:	eb005cf3 	bl	39470 <__errno>                                
   220a0:	e3a03016 	mov	r3, #22                                       
   220a4:	ea00000a 	b	220d4 <fsync+0x6c>                              
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
   220a8:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
   220ac:	e3530000 	cmp	r3, #0                                        
   220b0:	1a000002 	bne	220c0 <fsync+0x58>                            
    rtems_set_errno_and_return_minus_one( EBADF );                    
   220b4:	eb005ced 	bl	39470 <__errno>                                <== NOT EXECUTED
   220b8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   220bc:	ea000004 	b	220d4 <fsync+0x6c>                              <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fsync_h )                                      
   220c0:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
   220c4:	e3530000 	cmp	r3, #0                                        
   220c8:	1a000004 	bne	220e0 <fsync+0x78>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   220cc:	eb005ce7 	bl	39470 <__errno>                                
   220d0:	e3a03086 	mov	r3, #134	; 0x86                               
   220d4:	e5803000 	str	r3, [r0]                                      
   220d8:	e3e00000 	mvn	r0, #0                                        
   220dc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
   220e0:	e1a0e00f 	mov	lr, pc                                        
   220e4:	e12fff13 	bx	r3                                             
}                                                                     
   220e8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
   220ec:	00053580 	.word	0x00053580                                  
   220f0:	000611ac 	.word	0x000611ac                                  
                                                                      
00009024 <ftruncate>:                                                 
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
    9024:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
    9028:	e59f30d4 	ldr	r3, [pc, #212]	; 9104 <ftruncate+0xe0>        
    902c:	e5933000 	ldr	r3, [r3]                                      
    9030:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
    9034:	e24dd014 	sub	sp, sp, #20                                   
    9038:	e1a05001 	mov	r5, r1                                        
    903c:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
    9040:	2a000005 	bcs	905c <ftruncate+0x38>                         
  iop = rtems_libio_iop( fd );                                        
    9044:	e59f30bc 	ldr	r3, [pc, #188]	; 9108 <ftruncate+0xe4>        
    9048:	e5934000 	ldr	r4, [r3]                                      
    904c:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
    9050:	e5943014 	ldr	r3, [r4, #20]                                 
    9054:	e3130c01 	tst	r3, #256	; 0x100                              
    9058:	1a000002 	bne	9068 <ftruncate+0x44>                         
    905c:	eb000f23 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    9060:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
    9064:	ea00001c 	b	90dc <ftruncate+0xb8>                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
    9068:	e284e018 	add	lr, r4, #24                                   
    906c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    9070:	e1a0c00d 	mov	ip, sp                                        
    9074:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
    9078:	e5933010 	ldr	r3, [r3, #16]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
    907c:	e59e2000 	ldr	r2, [lr]                                      
  if ( !loc.ops->node_type_h )                                        
    9080:	e3530000 	cmp	r3, #0                                        
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
    9084:	e58c2000 	str	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
    9088:	0a000011 	beq	90d4 <ftruncate+0xb0>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    908c:	e1a0000d 	mov	r0, sp                                        
    9090:	e1a0e00f 	mov	lr, pc                                        
    9094:	e12fff13 	bx	r3                                             
    9098:	e3500001 	cmp	r0, #1                                        
    909c:	1a000002 	bne	90ac <ftruncate+0x88>                         
    rtems_set_errno_and_return_minus_one( EISDIR );                   
    90a0:	eb000f12 	bl	ccf0 <__errno>                                 
    90a4:	e3a03015 	mov	r3, #21                                       
    90a8:	ea00000b 	b	90dc <ftruncate+0xb8>                           
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
    90ac:	e5943014 	ldr	r3, [r4, #20]                                 
    90b0:	e3130004 	tst	r3, #4                                        
    90b4:	1a000002 	bne	90c4 <ftruncate+0xa0>                         
    90b8:	eb000f0c 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    90bc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    90c0:	ea000005 	b	90dc <ftruncate+0xb8>                           <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    90c4:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
    90c8:	e5933020 	ldr	r3, [r3, #32]                                 
    90cc:	e3530000 	cmp	r3, #0                                        
    90d0:	1a000004 	bne	90e8 <ftruncate+0xc4>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    90d4:	eb000f05 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    90d8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    90dc:	e5803000 	str	r3, [r0]                                      
    90e0:	e3e00000 	mvn	r0, #0                                        
    90e4:	ea000004 	b	90fc <ftruncate+0xd8>                           
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
    90e8:	e1a00004 	mov	r0, r4                                        
    90ec:	e1a01005 	mov	r1, r5                                        
    90f0:	e1a02006 	mov	r2, r6                                        
    90f4:	e1a0e00f 	mov	lr, pc                                        
    90f8:	e12fff13 	bx	r3                                             
}                                                                     
    90fc:	e28dd014 	add	sp, sp, #20                                   
    9100:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    9104:	00018720 	.word	0x00018720                                  
    9108:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00052f68 <getdents>:                                                  
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
   52f68:	e59f30a8 	ldr	r3, [pc, #168]	; 53018 <getdents+0xb0>        
   52f6c:	e5933000 	ldr	r3, [r3]                                      
   52f70:	e1500003 	cmp	r0, r3                                        
   52f74:	359f30a0 	ldrcc	r3, [pc, #160]	; 5301c <getdents+0xb4>      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
   52f78:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
   52f7c:	35934000 	ldrcc	r4, [r3]                                    
   52f80:	23a04000 	movcs	r4, #0                                      
   52f84:	30844300 	addcc	r4, r4, r0, lsl #6                          
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   52f88:	e284e018 	add	lr, r4, #24                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
   52f8c:	e24dd014 	sub	sp, sp, #20                                   
   52f90:	e1a06001 	mov	r6, r1                                        
   52f94:	e1a05002 	mov	r5, r2                                        
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   52f98:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   52f9c:	e1a0c00d 	mov	ip, sp                                        
   52fa0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
   52fa4:	e5933010 	ldr	r3, [r3, #16]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   52fa8:	e59e2000 	ldr	r2, [lr]                                      
  if ( !loc.ops->node_type_h )                                        
   52fac:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   52fb0:	e58c2000 	str	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
   52fb4:	0a00000d 	beq	52ff0 <getdents+0x88>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
   52fb8:	e1a0000d 	mov	r0, sp                                        
   52fbc:	e1a0e00f 	mov	lr, pc                                        
   52fc0:	e12fff13 	bx	r3                                             
   52fc4:	e3500001 	cmp	r0, #1                                        
   52fc8:	0a000004 	beq	52fe0 <getdents+0x78>                         
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   52fcc:	ebff9927 	bl	39470 <__errno>                                
   52fd0:	e3a03014 	mov	r3, #20                                       
   52fd4:	e5803000 	str	r3, [r0]                                      
   52fd8:	e3e00000 	mvn	r0, #0                                        
   52fdc:	ea00000b 	b	53010 <getdents+0xa8>                           
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
   52fe0:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   52fe4:	e5933008 	ldr	r3, [r3, #8]                                  
   52fe8:	e3530000 	cmp	r3, #0                                        
   52fec:	1a000002 	bne	52ffc <getdents+0x94>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   52ff0:	ebff991e 	bl	39470 <__errno>                                <== NOT EXECUTED
   52ff4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   52ff8:	eafffff5 	b	52fd4 <getdents+0x6c>                           <== NOT EXECUTED
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
   52ffc:	e1a00004 	mov	r0, r4                                        
   53000:	e1a01006 	mov	r1, r6                                        
   53004:	e1a02005 	mov	r2, r5                                        
   53008:	e1a0e00f 	mov	lr, pc                                        
   5300c:	e12fff13 	bx	r3                                             
}                                                                     
   53010:	e28dd014 	add	sp, sp, #20                                   
   53014:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   53018:	00053580 	.word	0x00053580                                  
   5301c:	000611ac 	.word	0x000611ac                                  
                                                                      
00022204 <getgid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
gid_t getgid( void )                                                  
{                                                                     
   22204:	e59f3008 	ldr	r3, [pc, #8]	; 22214 <getgid+0x10>            <== NOT EXECUTED
   22208:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Gid;                                            
}                                                                     
   2220c:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
   22210:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   22214:	00053858 	.word	0x00053858                                  
                                                                      
0002281c <getgr_r>:                                                   
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
   2281c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
   22820:	e59da01c 	ldr	sl, [sp, #28]                                 
   22824:	e1a06000 	mov	r6, r0                                        
   22828:	e1a07001 	mov	r7, r1                                        
   2282c:	e1a04002 	mov	r4, r2                                        
   22830:	e1a08003 	mov	r8, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
   22834:	ebffffb7 	bl	22718 <init_etc_passwd_group>                  
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
   22838:	e59f00a4 	ldr	r0, [pc, #164]	; 228e4 <getgr_r+0xc8>         
   2283c:	e59f10a4 	ldr	r1, [pc, #164]	; 228e8 <getgr_r+0xcc>         
   22840:	eb005d7a 	bl	39e30 <fopen>                                  
   22844:	e2505000 	subs	r5, r0, #0                                   
   22848:	1a000003 	bne	2285c <getgr_r+0x40>                          
    errno = EINVAL;                                                   
   2284c:	eb005b07 	bl	39470 <__errno>                                <== NOT EXECUTED
   22850:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   22854:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   22858:	ea00000c 	b	22890 <getgr_r+0x74>                            <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
   2285c:	e1a01004 	mov	r1, r4                                        
   22860:	e1a02008 	mov	r2, r8                                        
   22864:	e1a0300a 	mov	r3, sl                                        
   22868:	e1a00005 	mov	r0, r5                                        
   2286c:	ebfffef2 	bl	2243c <scangr>                                 
   22870:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
   22874:	e1a01006 	mov	r1, r6                                        
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
   22878:	1a000006 	bne	22898 <getgr_r+0x7c>                          
      errno = EINVAL;                                                 
   2287c:	eb005afb 	bl	39470 <__errno>                                <== NOT EXECUTED
   22880:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   22884:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
   22888:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   2288c:	eb005b44 	bl	395a4 <fclose>                                 <== NOT EXECUTED
   22890:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
   22894:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
   22898:	e3560000 	cmp	r6, #0                                        
   2289c:	0a000004 	beq	228b4 <getgr_r+0x98>                          
      match = (strcmp(grp->gr_name, name) == 0);                      
   228a0:	e5940000 	ldr	r0, [r4]                                      
   228a4:	eb007314 	bl	3f4fc <strcmp>                                 
   228a8:	e2700001 	rsbs	r0, r0, #1                                   
   228ac:	33a00000 	movcc	r0, #0                                      
   228b0:	ea000003 	b	228c4 <getgr_r+0xa8>                            
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
   228b4:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
   228b8:	e1500007 	cmp	r0, r7                                        <== NOT EXECUTED
   228bc:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
   228c0:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
   228c4:	e3500000 	cmp	r0, #0                                        
   228c8:	0affffe3 	beq	2285c <getgr_r+0x40>                          
      fclose(fp);                                                     
   228cc:	e1a00005 	mov	r0, r5                                        
   228d0:	eb005b33 	bl	395a4 <fclose>                                 
      *result = grp;                                                  
   228d4:	e59d3020 	ldr	r3, [sp, #32]                                 
   228d8:	e3a00000 	mov	r0, #0                                        
   228dc:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
   228e0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
   228e4:	00057a34 	.word	0x00057a34                                  
   228e8:	00058627 	.word	0x00058627                                  
                                                                      
00022574 <getgrent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct group *getgrent(void)                                          
{                                                                     
   22574:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (group_fp == NULL)                                               
   22578:	e59f402c 	ldr	r4, [pc, #44]	; 225ac <getgrent+0x38>         <== NOT EXECUTED
   2257c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
   22580:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   22584:	0a000006 	beq	225a4 <getgrent+0x30>                         <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
   22588:	e2841008 	add	r1, r4, #8                                    <== NOT EXECUTED
   2258c:	e2842018 	add	r2, r4, #24                                   <== NOT EXECUTED
   22590:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
   22594:	ebffffa8 	bl	2243c <scangr>                                 <== NOT EXECUTED
   22598:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   2259c:	12840008 	addne	r0, r4, #8                                  <== NOT EXECUTED
   225a0:	18bd8010 	popne	{r4, pc}                                    <== NOT EXECUTED
   225a4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
   225a8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
   225ac:	00060d60 	.word	0x00060d60                                  
                                                                      
00022920 <getgrgid>:                                                  
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
   22920:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
   22924:	e59f1028 	ldr	r1, [pc, #40]	; 22954 <getgrgid+0x34>         <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
   22928:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
   2292c:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
   22930:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
   22934:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
   22938:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
   2293c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   22940:	ebffffe9 	bl	228ec <getgrgid_r>                             <== NOT EXECUTED
   22944:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   22948:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   2294c:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
   22950:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
   22954:	00060d68 	.word	0x00060d68                                  
                                                                      
000228ec <getgrgid_r>:                                                
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
   228ec:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
   228f0:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
   228f4:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
   228f8:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
   228fc:	e1a01800 	lsl	r1, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
   22900:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
   22904:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
   22908:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
   2290c:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
   22910:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   22914:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
   22918:	ebffffbf 	bl	2281c <getgr_r>                                <== NOT EXECUTED
}                                                                     
   2291c:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
                                                                      
000229ec <getpw_r>:                                                   
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
   229ec:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
   229f0:	e59da01c 	ldr	sl, [sp, #28]                                 
   229f4:	e1a06000 	mov	r6, r0                                        
   229f8:	e1a07001 	mov	r7, r1                                        
   229fc:	e1a04002 	mov	r4, r2                                        
   22a00:	e1a08003 	mov	r8, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
   22a04:	ebffff43 	bl	22718 <init_etc_passwd_group>                  
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
   22a08:	e59f00a4 	ldr	r0, [pc, #164]	; 22ab4 <getpw_r+0xc8>         
   22a0c:	e59f10a4 	ldr	r1, [pc, #164]	; 22ab8 <getpw_r+0xcc>         
   22a10:	eb005d06 	bl	39e30 <fopen>                                  
   22a14:	e2505000 	subs	r5, r0, #0                                   
   22a18:	1a000003 	bne	22a2c <getpw_r+0x40>                          
    errno = EINVAL;                                                   
   22a1c:	eb005a93 	bl	39470 <__errno>                                <== NOT EXECUTED
   22a20:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   22a24:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   22a28:	ea00000c 	b	22a60 <getpw_r+0x74>                            <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
   22a2c:	e1a01004 	mov	r1, r4                                        
   22a30:	e1a02008 	mov	r2, r8                                        
   22a34:	e1a0300a 	mov	r3, sl                                        
   22a38:	e1a00005 	mov	r0, r5                                        
   22a3c:	ebfffedb 	bl	225b0 <scanpw>                                 
   22a40:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
   22a44:	e1a01006 	mov	r1, r6                                        
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
   22a48:	1a000006 	bne	22a68 <getpw_r+0x7c>                          
      errno = EINVAL;                                                 
   22a4c:	eb005a87 	bl	39470 <__errno>                                <== NOT EXECUTED
   22a50:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   22a54:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
   22a58:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   22a5c:	eb005ad0 	bl	395a4 <fclose>                                 <== NOT EXECUTED
   22a60:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
   22a64:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
   22a68:	e3560000 	cmp	r6, #0                                        
   22a6c:	0a000004 	beq	22a84 <getpw_r+0x98>                          
      match = (strcmp(pwd->pw_name, name) == 0);                      
   22a70:	e5940000 	ldr	r0, [r4]                                      
   22a74:	eb0072a0 	bl	3f4fc <strcmp>                                 
   22a78:	e2700001 	rsbs	r0, r0, #1                                   
   22a7c:	33a00000 	movcc	r0, #0                                      
   22a80:	ea000003 	b	22a94 <getpw_r+0xa8>                            
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
   22a84:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
   22a88:	e1500007 	cmp	r0, r7                                        <== NOT EXECUTED
   22a8c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
   22a90:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
   22a94:	e3500000 	cmp	r0, #0                                        
   22a98:	0affffe3 	beq	22a2c <getpw_r+0x40>                          
      fclose(fp);                                                     
   22a9c:	e1a00005 	mov	r0, r5                                        
   22aa0:	eb005abf 	bl	395a4 <fclose>                                 
      *result = pwd;                                                  
   22aa4:	e59d3020 	ldr	r3, [sp, #32]                                 
   22aa8:	e3a00000 	mov	r0, #0                                        
   22aac:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
   22ab0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
   22ab4:	00057986 	.word	0x00057986                                  
   22ab8:	00058627 	.word	0x00058627                                  
                                                                      
000226dc <getpwent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
   226dc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
   226e0:	e59f402c 	ldr	r4, [pc, #44]	; 22714 <getpwent+0x38>         <== NOT EXECUTED
   226e4:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
   226e8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   226ec:	0a000006 	beq	2270c <getpwent+0x30>                         <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
   226f0:	e28410e0 	add	r1, r4, #224	; 0xe0                           <== NOT EXECUTED
   226f4:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
   226f8:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
   226fc:	ebffffab 	bl	225b0 <scanpw>                                 <== NOT EXECUTED
   22700:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   22704:	128400e0 	addne	r0, r4, #224	; 0xe0                         <== NOT EXECUTED
   22708:	18bd8010 	popne	{r4, pc}                                    <== NOT EXECUTED
   2270c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
   22710:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
   22714:	00060d60 	.word	0x00060d60                                  
                                                                      
00022af0 <getpwuid>:                                                  
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
   22af0:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
   22af4:	e59f1028 	ldr	r1, [pc, #40]	; 22b24 <getpwuid+0x34>         <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
   22af8:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
   22afc:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
   22b00:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
   22b04:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
   22b08:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
   22b0c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   22b10:	ebffffe9 	bl	22abc <getpwuid_r>                             <== NOT EXECUTED
   22b14:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   22b18:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   22b1c:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
   22b20:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
   22b24:	00060e40 	.word	0x00060e40                                  
                                                                      
00022abc <getpwuid_r>:                                                
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
   22abc:	e92d4003 	push	{r0, r1, lr}                                 <== NOT EXECUTED
   22ac0:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
   22ac4:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
   22ac8:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
   22acc:	e1a01800 	lsl	r1, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
   22ad0:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
   22ad4:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
   22ad8:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
   22adc:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
   22ae0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   22ae4:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
   22ae8:	ebffffbf 	bl	229ec <getpw_r>                                <== NOT EXECUTED
}                                                                     
   22aec:	e8bd800c 	pop	{r2, r3, pc}                                  <== NOT EXECUTED
                                                                      
00009134 <gettimeofday>:                                              
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
    9134:	e92d4033 	push	{r0, r1, r4, r5, lr}                         
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    9138:	e2504000 	subs	r4, r0, #0                                   
    913c:	1a000004 	bne	9154 <gettimeofday+0x20>                      
    errno = EFAULT;                                                   
    9140:	eb000eea 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    9144:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    9148:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    914c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
    9150:	ea00000c 	b	9188 <gettimeofday+0x54>                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    9154:	e10f5000 	mrs	r5, CPSR                                      
    9158:	e3853080 	orr	r3, r5, #128	; 0x80                           
    915c:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
    9160:	e1a0000d 	mov	r0, sp                                        
    9164:	eb000419 	bl	a1d0 <_TOD_Get>                                
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    9168:	e129f005 	msr	CPSR_fc, r5                                   
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
    916c:	e59d3000 	ldr	r3, [sp]                                      
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
    9170:	e59d0004 	ldr	r0, [sp, #4]                                  
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
    9174:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
    9178:	e5843000 	str	r3, [r4]                                      
  time->tv_usec = useconds;                                           
    917c:	eb003492 	bl	163cc <__aeabi_idiv>                           
    9180:	e5840004 	str	r0, [r4, #4]                                  
    9184:	e3a00000 	mov	r0, #0                                        
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
    9188:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          
                                                                      
00004940 <getuid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
uid_t getuid( void )                                                  
{                                                                     
    4940:	e59f3008 	ldr	r3, [pc, #8]	; 4950 <getuid+0x10>             <== NOT EXECUTED
    4944:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Uid;                                            
}                                                                     
    4948:	e1d303b2 	ldrh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
    494c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    4950:	00053858 	.word	0x00053858                                  
                                                                      
0000518c <ioctl>:                                                     
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
    518c:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
    5190:	e59f3080 	ldr	r3, [pc, #128]	; 5218 <ioctl+0x8c>            
    5194:	e5933000 	ldr	r3, [r3]                                      
    5198:	e1500003 	cmp	r0, r3                                        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
    519c:	e92d4001 	push	{r0, lr}                                     
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
    51a0:	2a00000b 	bcs	51d4 <ioctl+0x48>                             
  iop = rtems_libio_iop( fd );                                        
    51a4:	e59f3070 	ldr	r3, [pc, #112]	; 521c <ioctl+0x90>            
    51a8:	e5933000 	ldr	r3, [r3]                                      
    51ac:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
    51b0:	e5903014 	ldr	r3, [r0, #20]                                 
    51b4:	e3130c01 	tst	r3, #256	; 0x100                              
    51b8:	0a000005 	beq	51d4 <ioctl+0x48>                             
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    51bc:	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 *);                                        
    51c0:	e28d2010 	add	r2, sp, #16                                   
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    51c4:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
    51c8:	e58d2000 	str	r2, [sp]                                      
    51cc:	e59d200c 	ldr	r2, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    51d0:	1a000002 	bne	51e0 <ioctl+0x54>                             
    rtems_set_errno_and_return_minus_one( EBADF );                    
    51d4:	eb0033c4 	bl	120ec <__errno>                                
    51d8:	e3a03009 	mov	r3, #9                                        
    51dc:	ea000004 	b	51f4 <ioctl+0x68>                               
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    51e0:	e5933010 	ldr	r3, [r3, #16]                                 
    51e4:	e3530000 	cmp	r3, #0                                        
    51e8:	1a000004 	bne	5200 <ioctl+0x74>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    51ec:	eb0033be 	bl	120ec <__errno>                                <== NOT EXECUTED
    51f0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    51f4:	e5803000 	str	r3, [r0]                                      
    51f8:	e3e00000 	mvn	r0, #0                                        
    51fc:	ea000002 	b	520c <ioctl+0x80>                               
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
    5200:	e59d1008 	ldr	r1, [sp, #8]                                  
    5204:	e1a0e00f 	mov	lr, pc                                        
    5208:	e12fff13 	bx	r3                                             
                                                                      
  return rc;                                                          
}                                                                     
    520c:	e8bd4008 	pop	{r3, lr}                                      
    5210:	e28dd00c 	add	sp, sp, #12                                   
    5214:	e12fff1e 	bx	lr                                             
    5218:	0001dfe0 	.word	0x0001dfe0                                  
    521c:	0001fd5c 	.word	0x0001fd5c                                  
                                                                      
000030b4 <iproc>:                                                     
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	if (tty->termios.c_iflag & ISTRIP)                                   
    30b4:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
    30b8:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    30bc:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    30c0:	e20050ff 	and	r5, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
    30c4:	1200507f 	andne	r5, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
    30c8:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    30cc:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
    30d0:	0a000007 	beq	30f4 <iproc+0x40>                             <== NOT EXECUTED
		c = tolower (c);                                                    
    30d4:	e59f2164 	ldr	r2, [pc, #356]	; 3240 <iproc+0x18c>           <== NOT EXECUTED
    30d8:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
    30dc:	e0822005 	add	r2, r2, r5                                    <== NOT EXECUTED
    30e0:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
    30e4:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
    30e8:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
    30ec:	02855020 	addeq	r5, r5, #32                                 <== NOT EXECUTED
    30f0:	e20550ff 	and	r5, r5, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
    30f4:	e355000d 	cmp	r5, #13                                       <== NOT EXECUTED
    30f8:	1a000005 	bne	3114 <iproc+0x60>                             <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
    30fc:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
    3100:	1a00004c 	bne	3238 <iproc+0x184>                            <== NOT EXECUTED
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
    3104:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
    3108:	03a0500d 	moveq	r5, #13                                     <== NOT EXECUTED
    310c:	13a0500a 	movne	r5, #10                                     <== NOT EXECUTED
    3110:	ea000007 	b	3134 <iproc+0x80>                               <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
    3114:	e355000a 	cmp	r5, #10                                       <== NOT EXECUTED
    3118:	1a000003 	bne	312c <iproc+0x78>                             <== NOT EXECUTED
    311c:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
    3120:	03a0500a 	moveq	r5, #10                                     <== NOT EXECUTED
    3124:	13a0500d 	movne	r5, #13                                     <== NOT EXECUTED
    3128:	ea000001 	b	3134 <iproc+0x80>                               <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
    312c:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
    3130:	0a00002e 	beq	31f0 <iproc+0x13c>                            <== NOT EXECUTED
    3134:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    3138:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
    313c:	0a00002b 	beq	31f0 <iproc+0x13c>                            <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
    3140:	e5d42043 	ldrb	r2, [r4, #67]	; 0x43                         <== NOT EXECUTED
    3144:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
			erase (tty, 0);                                                    
    3148:	01a00004 	moveq	r0, r4                                      <== NOT EXECUTED
    314c:	03a01000 	moveq	r1, #0                                      <== 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]) {                               
    3150:	0a000004 	beq	3168 <iproc+0xb4>                             <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
    3154:	e5d42044 	ldrb	r2, [r4, #68]	; 0x44                         <== NOT EXECUTED
    3158:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
    315c:	1a000003 	bne	3170 <iproc+0xbc>                             <== NOT EXECUTED
			erase (tty, 1);                                                    
    3160:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3164:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    3168:	ebffff5e 	bl	2ee8 <erase>                                   <== NOT EXECUTED
    316c:	ea00002f 	b	3230 <iproc+0x17c>                              <== NOT EXECUTED
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
    3170:	e5d42045 	ldrb	r2, [r4, #69]	; 0x45                         <== NOT EXECUTED
    3174:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
    3178:	0a00001a 	beq	31e8 <iproc+0x134>                            <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
    317c:	e355000a 	cmp	r5, #10                                       <== NOT EXECUTED
    3180:	1a000009 	bne	31ac <iproc+0xf8>                             <== NOT EXECUTED
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
    3184:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
				echo (c, tty);                                                    
    3188:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
    318c:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
    3190:	1bffff34 	blne	2e68 <echo>                                  <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
    3194:	e284101c 	add	r1, r4, #28                                   <== NOT EXECUTED
    3198:	e891000a 	ldm	r1, {r1, r3}                                  <== NOT EXECUTED
    319c:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
    31a0:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
    31a4:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
    31a8:	ea00000d 	b	31e4 <iproc+0x130>                              <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
    31ac:	e5d4204c 	ldrb	r2, [r4, #76]	; 0x4c                         <== NOT EXECUTED
    31b0:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
    31b4:	0a000002 	beq	31c4 <iproc+0x110>                            <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
    31b8:	e5d42051 	ldrb	r2, [r4, #81]	; 0x51                         <== NOT EXECUTED
    31bc:	e1520005 	cmp	r2, r5                                        <== NOT EXECUTED
    31c0:	1a00000a 	bne	31f0 <iproc+0x13c>                            <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
    31c4:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
				echo (c, tty);                                                    
    31c8:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
    31cc:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
    31d0:	1bffff24 	blne	2e68 <echo>                                  <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
    31d4:	e284101c 	add	r1, r4, #28                                   <== NOT EXECUTED
    31d8:	e891000a 	ldm	r1, {r1, r3}                                  <== NOT EXECUTED
    31dc:	e7c15003 	strb	r5, [r1, r3]                                 <== NOT EXECUTED
    31e0:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
    31e4:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
    31e8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
			return 1;                                                          
    31ec:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
    31f0:	e59f304c 	ldr	r3, [pc, #76]	; 3244 <iproc+0x190>            <== NOT EXECUTED
    31f4:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    31f8:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
    31fc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    3200:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    3204:	aa00000b 	bge	3238 <iproc+0x184>                            <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
    3208:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    320c:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
			echo (c, tty);                                                     
    3210:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
    3214:	11a01004 	movne	r1, r4                                      <== NOT EXECUTED
    3218:	1bffff12 	blne	2e68 <echo>                                  <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
    321c:	e284101c 	add	r1, r4, #28                                   <== NOT EXECUTED
    3220:	e891000a 	ldm	r1, {r1, r3}                                  <== NOT EXECUTED
    3224:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
    3228:	e7c15003 	strb	r5, [r1, r3]                                 <== NOT EXECUTED
    322c:	e5842020 	str	r2, [r4, #32]                                 <== NOT EXECUTED
    3230:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    3234:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    3238:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
    323c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    3240:	00018960 	.word	0x00018960                                  
    3244:	000188a4 	.word	0x000188a4                                  
                                                                      
00022c14 <link>:                                                      
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
   22c14:	e92d4030 	push	{r4, r5, lr}                                 
   22c18:	e24dd030 	sub	sp, sp, #48	; 0x30                            
   22c1c:	e1a04001 	mov	r4, r1                                        
   22c20:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
   22c24:	eb00749c 	bl	3fe9c <strlen>                                 
   22c28:	e3a0c001 	mov	ip, #1                                        
   22c2c:	e1a01000 	mov	r1, r0                                        
   22c30:	e3a02000 	mov	r2, #0                                        
   22c34:	e1a00005 	mov	r0, r5                                        
   22c38:	e28d3018 	add	r3, sp, #24                                   
   22c3c:	e58dc000 	str	ip, [sp]                                      
   22c40:	ebff86c8 	bl	4768 <rtems_filesystem_evaluate_path>          
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
   22c44:	e3500000 	cmp	r0, #0                                        
   22c48:	1a00002a 	bne	22cf8 <link+0xe4>                             
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
   22c4c:	e5d43000 	ldrb	r3, [r4]                                     
   22c50:	e353002f 	cmp	r3, #47	; 0x2f                                
   22c54:	1353005c 	cmpne	r3, #92	; 0x5c                              
   22c58:	13a05000 	movne	r5, #0                                      
   22c5c:	03a05001 	moveq	r5, #1                                      
   22c60:	0a000001 	beq	22c6c <link+0x58>                             
   22c64:	e3530000 	cmp	r3, #0                                        
   22c68:	1a000009 	bne	22c94 <link+0x80>                             
   22c6c:	e59f31ec 	ldr	r3, [pc, #492]	; 22e60 <link+0x24c>           
   22c70:	e593e000 	ldr	lr, [r3]                                      
   22c74:	e28ee018 	add	lr, lr, #24                                   
   22c78:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   22c7c:	e28dc004 	add	ip, sp, #4                                    
   22c80:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   22c84:	e59e3000 	ldr	r3, [lr]                                      
   22c88:	e3a00001 	mov	r0, #1                                        
   22c8c:	e58c3000 	str	r3, [ip]                                      
   22c90:	ea000008 	b	22cb8 <link+0xa4>                               
   22c94:	e59f31c4 	ldr	r3, [pc, #452]	; 22e60 <link+0x24c>           
   22c98:	e593e000 	ldr	lr, [r3]                                      
   22c9c:	e28ee004 	add	lr, lr, #4                                    
   22ca0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   22ca4:	e28dc004 	add	ip, sp, #4                                    
   22ca8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   22cac:	e59e3000 	ldr	r3, [lr]                                      
   22cb0:	e58c3000 	str	r3, [ip]                                      
   22cb4:	e1a00005 	mov	r0, r5                                        
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
   22cb8:	e59d3010 	ldr	r3, [sp, #16]                                 
   22cbc:	e5933004 	ldr	r3, [r3, #4]                                  
   22cc0:	e3530000 	cmp	r3, #0                                        
   22cc4:	1a00000d 	bne	22d00 <link+0xec>                             
    rtems_filesystem_freenode( &existing_loc );                       
   22cc8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   22ccc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22cd0:	0a000005 	beq	22cec <link+0xd8>                             <== NOT EXECUTED
   22cd4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   22cd8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22cdc:	0a000002 	beq	22cec <link+0xd8>                             <== NOT EXECUTED
   22ce0:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
   22ce4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   22ce8:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   22cec:	eb0059df 	bl	39470 <__errno>                                <== NOT EXECUTED
   22cf0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   22cf4:	e5803000 	str	r3, [r0]                                      
   22cf8:	e3e05000 	mvn	r5, #0                                        
   22cfc:	ea000054 	b	22e54 <link+0x240>                              
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
   22d00:	e28d5004 	add	r5, sp, #4                                    
   22d04:	e0840000 	add	r0, r4, r0                                    
   22d08:	e1a01005 	mov	r1, r5                                        
   22d0c:	e28d202c 	add	r2, sp, #44	; 0x2c                            
   22d10:	e1a0e00f 	mov	lr, pc                                        
   22d14:	e12fff13 	bx	r3                                             
  if ( result != 0 ) {                                                
   22d18:	e2504000 	subs	r4, r0, #0                                   
   22d1c:	0a00000a 	beq	22d4c <link+0x138>                            
    rtems_filesystem_freenode( &existing_loc );                       
   22d20:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
   22d24:	e3530000 	cmp	r3, #0                                        
   22d28:	0a000004 	beq	22d40 <link+0x12c>                            
   22d2c:	e593301c 	ldr	r3, [r3, #28]                                 
   22d30:	e3530000 	cmp	r3, #0                                        
   22d34:	128d0018 	addne	r0, sp, #24                                 
   22d38:	11a0e00f 	movne	lr, pc                                      
   22d3c:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( result );                   
   22d40:	eb0059ca 	bl	39470 <__errno>                                
   22d44:	e5804000 	str	r4, [r0]                                      
   22d48:	eaffffea 	b	22cf8 <link+0xe4>                               
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
   22d4c:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
   22d50:	e59d2014 	ldr	r2, [sp, #20]                                 
   22d54:	e1520003 	cmp	r2, r3                                        
   22d58:	0a000012 	beq	22da8 <link+0x194>                            
    rtems_filesystem_freenode( &existing_loc );                       
   22d5c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
   22d60:	e3530000 	cmp	r3, #0                                        
   22d64:	0a000004 	beq	22d7c <link+0x168>                            
   22d68:	e593301c 	ldr	r3, [r3, #28]                                 
   22d6c:	e3530000 	cmp	r3, #0                                        
   22d70:	128d0018 	addne	r0, sp, #24                                 
   22d74:	11a0e00f 	movne	lr, pc                                      
   22d78:	112fff13 	bxne	r3                                           
    rtems_filesystem_freenode( &parent_loc );                         
   22d7c:	e59d3010 	ldr	r3, [sp, #16]                                 
   22d80:	e3530000 	cmp	r3, #0                                        
   22d84:	0a000004 	beq	22d9c <link+0x188>                            
   22d88:	e593301c 	ldr	r3, [r3, #28]                                 
   22d8c:	e3530000 	cmp	r3, #0                                        
   22d90:	128d0004 	addne	r0, sp, #4                                  
   22d94:	11a0e00f 	movne	lr, pc                                      
   22d98:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   22d9c:	eb0059b3 	bl	39470 <__errno>                                
   22da0:	e3a03012 	mov	r3, #18                                       
   22da4:	eaffffd2 	b	22cf4 <link+0xe0>                               
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
   22da8:	e59d3010 	ldr	r3, [sp, #16]                                 
   22dac:	e5933008 	ldr	r3, [r3, #8]                                  
   22db0:	e3530000 	cmp	r3, #0                                        
   22db4:	1a00000f 	bne	22df8 <link+0x1e4>                            
    rtems_filesystem_freenode( &existing_loc );                       
   22db8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   22dbc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22dc0:	0a000004 	beq	22dd8 <link+0x1c4>                            <== NOT EXECUTED
   22dc4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   22dc8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22dcc:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   22dd0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   22dd4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
   22dd8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   22ddc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22de0:	0affffc1 	beq	22cec <link+0xd8>                             <== NOT EXECUTED
   22de4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   22de8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22dec:	128d0004 	addne	r0, sp, #4                                  <== NOT EXECUTED
   22df0:	1affffbb 	bne	22ce4 <link+0xd0>                             <== NOT EXECUTED
   22df4:	eaffffbc 	b	22cec <link+0xd8>                               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
   22df8:	e28d4018 	add	r4, sp, #24                                   
   22dfc:	e1a01005 	mov	r1, r5                                        
   22e00:	e1a00004 	mov	r0, r4                                        
   22e04:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
   22e08:	e1a0e00f 	mov	lr, pc                                        
   22e0c:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
   22e10:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
   22e14:	e3530000 	cmp	r3, #0                                        
    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 );
   22e18:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
   22e1c:	0a000004 	beq	22e34 <link+0x220>                            
   22e20:	e593301c 	ldr	r3, [r3, #28]                                 
   22e24:	e3530000 	cmp	r3, #0                                        
   22e28:	11a00004 	movne	r0, r4                                      
   22e2c:	11a0e00f 	movne	lr, pc                                      
   22e30:	112fff13 	bxne	r3                                           
  rtems_filesystem_freenode( &parent_loc );                           
   22e34:	e59d3010 	ldr	r3, [sp, #16]                                 
   22e38:	e3530000 	cmp	r3, #0                                        
   22e3c:	0a000004 	beq	22e54 <link+0x240>                            
   22e40:	e593301c 	ldr	r3, [r3, #28]                                 
   22e44:	e3530000 	cmp	r3, #0                                        
   22e48:	128d0004 	addne	r0, sp, #4                                  
   22e4c:	11a0e00f 	movne	lr, pc                                      
   22e50:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
   22e54:	e1a00005 	mov	r0, r5                                        
   22e58:	e28dd030 	add	sp, sp, #48	; 0x30                            
   22e5c:	e8bd8030 	pop	{r4, r5, pc}                                  
   22e60:	00053858 	.word	0x00053858                                  
                                                                      
00017cb8 <lseek>:                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   17cb8:	e59fc0ec 	ldr	ip, [pc, #236]	; 17dac <lseek+0xf4>           
   17cbc:	e59cc000 	ldr	ip, [ip]                                      
   17cc0:	e150000c 	cmp	r0, ip                                        
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
   17cc4:	e92d4870 	push	{r4, r5, r6, fp, lr}                         
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   17cc8:	2a000005 	bcs	17ce4 <lseek+0x2c>                            
  iop = rtems_libio_iop( fd );                                        
   17ccc:	e59fc0dc 	ldr	ip, [pc, #220]	; 17db0 <lseek+0xf8>           
   17cd0:	e59c4000 	ldr	r4, [ip]                                      
   17cd4:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
   17cd8:	e5940014 	ldr	r0, [r4, #20]                                 
   17cdc:	e3100c01 	tst	r0, #256	; 0x100                              
   17ce0:	1a000002 	bne	17cf0 <lseek+0x38>                            
   17ce4:	ebffd401 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   17ce8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   17cec:	ea00001c 	b	17d64 <lseek+0xac>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
   17cf0:	e594003c 	ldr	r0, [r4, #60]	; 0x3c                          
   17cf4:	e5900014 	ldr	r0, [r0, #20]                                 
   17cf8:	e3500000 	cmp	r0, #0                                        
   17cfc:	1a000002 	bne	17d0c <lseek+0x54>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   17d00:	ebffd3fa 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   17d04:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   17d08:	ea000015 	b	17d64 <lseek+0xac>                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
   17d0c:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
   17d10:	e284600c 	add	r6, r4, #12                                   
   17d14:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
   17d18:	0a000006 	beq	17d38 <lseek+0x80>                            
   17d1c:	e3530002 	cmp	r3, #2                                        
   17d20:	0a000007 	beq	17d44 <lseek+0x8c>                            
   17d24:	e3530000 	cmp	r3, #0                                        
   17d28:	1a00000b 	bne	17d5c <lseek+0xa4>                            
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
   17d2c:	e584100c 	str	r1, [r4, #12]                                 
   17d30:	e5842010 	str	r2, [r4, #16]                                 
      break;                                                          
   17d34:	ea00000e 	b	17d74 <lseek+0xbc>                              
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
   17d38:	e091b005 	adds	fp, r1, r5                                   
   17d3c:	e0a2c006 	adc	ip, r2, r6                                    
   17d40:	ea000002 	b	17d50 <lseek+0x98>                              
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
   17d44:	e9941800 	ldmib	r4, {fp, ip}                                
   17d48:	e09bb001 	adds	fp, fp, r1                                   
   17d4c:	e0acc002 	adc	ip, ip, r2                                    
   17d50:	e584b00c 	str	fp, [r4, #12]                                 
   17d54:	e584c010 	str	ip, [r4, #16]                                 
      break;                                                          
   17d58:	ea000005 	b	17d74 <lseek+0xbc>                              
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   17d5c:	ebffd3e3 	bl	ccf0 <__errno>                                 
   17d60:	e3a03016 	mov	r3, #22                                       
   17d64:	e5803000 	str	r3, [r0]                                      
   17d68:	e3e02000 	mvn	r2, #0                                        
   17d6c:	e3e03000 	mvn	r3, #0                                        
   17d70:	ea00000a 	b	17da0 <lseek+0xe8>                              
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
   17d74:	e594c03c 	ldr	ip, [r4, #60]	; 0x3c                          
   17d78:	e1a00004 	mov	r0, r4                                        
   17d7c:	e1a0e00f 	mov	lr, pc                                        
   17d80:	e59cf014 	ldr	pc, [ip, #20]                                 
  if ( status == (off_t) -1 )                                         
   17d84:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
   17d88:	e1a02000 	mov	r2, r0                                        
   17d8c:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
   17d90:	1a000002 	bne	17da0 <lseek+0xe8>                            
   17d94:	e3710001 	cmn	r1, #1                                        
    iop->offset = old_offset;                                         
   17d98:	0584500c 	streq	r5, [r4, #12]                               
   17d9c:	05846010 	streq	r6, [r4, #16]                               
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
   17da0:	e1a01003 	mov	r1, r3                                        
   17da4:	e1a00002 	mov	r0, r2                                        
   17da8:	e8bd8870 	pop	{r4, r5, r6, fp, pc}                          
   17dac:	00018720 	.word	0x00018720                                  
   17db0:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00022f80 <lstat>:                                                     
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
   22f80:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
   22f84:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
   22f88:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
   22f8c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
   22f90:	1a000002 	bne	22fa0 <lstat+0x20>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   22f94:	eb005935 	bl	39470 <__errno>                                <== NOT EXECUTED
   22f98:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
   22f9c:	ea000018 	b	23004 <lstat+0x84>                              <== NOT EXECUTED
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
   22fa0:	eb0073bd 	bl	3fe9c <strlen>                                 <== NOT EXECUTED
   22fa4:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
   22fa8:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
   22fac:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   22fb0:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
   22fb4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
   22fb8:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
   22fbc:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   22fc0:	ebff85e8 	bl	4768 <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
   22fc4:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
   22fc8:	1a00000e 	bne	23008 <lstat+0x88>                            <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
   22fcc:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
   22fd0:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
   22fd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22fd8:	1a00000c 	bne	23010 <lstat+0x90>                            <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
   22fdc:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   22fe0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22fe4:	0a000004 	beq	22ffc <lstat+0x7c>                            <== NOT EXECUTED
   22fe8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   22fec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   22ff0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   22ff4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   22ff8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   22ffc:	eb00591b 	bl	39470 <__errno>                                <== NOT EXECUTED
   23000:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   23004:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   23008:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
   2300c:	ea000010 	b	23054 <lstat+0xd4>                              <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
   23010:	e3a02048 	mov	r2, #72	; 0x48                                <== NOT EXECUTED
   23014:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   23018:	eb0065cc 	bl	3c750 <memset>                                 <== NOT EXECUTED
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
   2301c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   23020:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
   23024:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   23028:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   2302c:	e593f018 	ldr	pc, [r3, #24]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23030:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   23034:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
   23038:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   2303c:	0a000004 	beq	23054 <lstat+0xd4>                            <== NOT EXECUTED
   23040:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   23044:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23048:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   2304c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23050:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
   23054:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   23058:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
   2305c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
00001c10 <malloc>:                                                    
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
    1c10:	e59f30d8 	ldr	r3, [pc, #216]	; 1cf0 <malloc+0xe0>           
    1c14:	e5932004 	ldr	r2, [r3, #4]                                  
    1c18:	e2822001 	add	r2, r2, #1                                    
    1c1c:	e92d4070 	push	{r4, r5, r6, lr}                             
    1c20:	e5832004 	str	r2, [r3, #4]                                  
    1c24:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
    1c28:	ebffffb5 	bl	1b04 <malloc_deferred_frees_process>           
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    1c2c:	e3540000 	cmp	r4, #0                                        
    1c30:	0a00002b 	beq	1ce4 <malloc+0xd4>                            
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
    1c34:	e59f30b8 	ldr	r3, [pc, #184]	; 1cf4 <malloc+0xe4>           
    1c38:	e5933000 	ldr	r3, [r3]                                      
    1c3c:	e3530003 	cmp	r3, #3                                        
    1c40:	1a000002 	bne	1c50 <malloc+0x40>                            
    1c44:	ebffff97 	bl	1aa8 <malloc_is_system_state_OK>               
    1c48:	e3500000 	cmp	r0, #0                                        
    1c4c:	0a000024 	beq	1ce4 <malloc+0xd4>                            
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
    1c50:	e59f30a0 	ldr	r3, [pc, #160]	; 1cf8 <malloc+0xe8>           
    1c54:	e3a02000 	mov	r2, #0                                        
    1c58:	e5930000 	ldr	r0, [r3]                                      
    1c5c:	e1a01004 	mov	r1, r4                                        
    1c60:	e1a03002 	mov	r3, r2                                        
    1c64:	eb0011b7 	bl	6348 <_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 ) {                                               
    1c68:	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;                                              
    1c6c:	11a05006 	movne	r5, r6                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    1c70:	1a00000c 	bne	1ca8 <malloc+0x98>                            
    if (rtems_malloc_sbrk_helpers)                                    
    1c74:	e59f3080 	ldr	r3, [pc, #128]	; 1cfc <malloc+0xec>           
    1c78:	e5933000 	ldr	r3, [r3]                                      
    1c7c:	e3530000 	cmp	r3, #0                                        
    1c80:	0a000004 	beq	1c98 <malloc+0x88>                            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    1c84:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1c88:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1c8c:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
    if ( !return_this ) {                                             
    1c90:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
    1c94:	1a000003 	bne	1ca8 <malloc+0x98>                            <== NOT EXECUTED
      errno = ENOMEM;                                                 
    1c98:	eb002c14 	bl	ccf0 <__errno>                                 
    1c9c:	e3a0300c 	mov	r3, #12                                       
    1ca0:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
    1ca4:	ea00000f 	b	1ce8 <malloc+0xd8>                              
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
    1ca8:	e59f3050 	ldr	r3, [pc, #80]	; 1d00 <malloc+0xf0>            
    1cac:	e5933000 	ldr	r3, [r3]                                      
    1cb0:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
    1cb4:	11a01004 	movne	r1, r4                                      
    1cb8:	11a00005 	movne	r0, r5                                      
    1cbc:	11a0e00f 	movne	lr, pc                                      
    1cc0:	1593f000 	ldrne	pc, [r3]                                    
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    1cc4:	e59f3038 	ldr	r3, [pc, #56]	; 1d04 <malloc+0xf4>            
    1cc8:	e5933000 	ldr	r3, [r3]                                      
    1ccc:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
    1cd0:	11a00005 	movne	r0, r5                                      
    1cd4:	11a0e00f 	movne	lr, pc                                      
    1cd8:	1593f004 	ldrne	pc, [r3, #4]                                
    1cdc:	e1a06005 	mov	r6, r5                                        
    1ce0:	ea000000 	b	1ce8 <malloc+0xd8>                              
    1ce4:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
    1ce8:	e1a00006 	mov	r0, r6                                        
    1cec:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    1cf0:	0001a0a4 	.word	0x0001a0a4                                  
    1cf4:	0001a3b0 	.word	0x0001a3b0                                  
    1cf8:	0001872c 	.word	0x0001872c                                  
    1cfc:	00019d4c 	.word	0x00019d4c                                  
    1d00:	00019d50 	.word	0x00019d50                                  
    1d04:	00019d48 	.word	0x00019d48                                  
                                                                      
00001af4 <malloc_deferred_free>:                                      
}                                                                     
                                                                      
void malloc_deferred_free(                                            
  void *pointer                                                       
)                                                                     
{                                                                     
    1af4:	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 );                               
    1af8:	e59f0000 	ldr	r0, [pc, #0]	; 1b00 <malloc_deferred_free+0xc><== NOT EXECUTED
    1afc:	ea000e27 	b	53a0 <_Chain_Append>                            <== NOT EXECUTED
    1b00:	0001a098 	.word	0x0001a098                                  
                                                                      
00001b04 <malloc_deferred_frees_process>:                             
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
    1b04:	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)
    1b08:	ea000000 	b	1b10 <malloc_deferred_frees_process+0xc>        
    free(to_be_freed);                                                
    1b0c:	ebffff8d 	bl	1948 <free>                                    <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
    1b10:	e59f000c 	ldr	r0, [pc, #12]	; 1b24 <malloc_deferred_frees_process+0x20>
    1b14:	eb000e2c 	bl	53cc <_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)
    1b18:	e3500000 	cmp	r0, #0                                        
    1b1c:	1afffffa 	bne	1b0c <malloc_deferred_frees_process+0x8>      
    free(to_be_freed);                                                
}                                                                     
    1b20:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    1b24:	0001a098 	.word	0x0001a098                                  
                                                                      
000102ec <memfile_ftruncate>:                                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
   102ec:	e92d4013 	push	{r0, r1, r4, lr}                             
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   102f0:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
   *  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 )                           
   102f4:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
   102f8:	e1530002 	cmp	r3, r2                                        
   102fc:	ba000003 	blt	10310 <memfile_ftruncate+0x24>                
   10300:	1a000005 	bne	1031c <memfile_ftruncate+0x30>                
   10304:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
   10308:	e1530001 	cmp	r3, r1                                        
   1030c:	2a000002 	bcs	1031c <memfile_ftruncate+0x30>                
    return IMFS_memfile_extend( the_jnode, length );                  
   10310:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   10314:	ebffff9a 	bl	10184 <IMFS_memfile_extend>                    <== NOT EXECUTED
   10318:	ea000008 	b	10340 <memfile_ftruncate+0x54>                  <== NOT EXECUTED
   *  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;                                 
   1031c:	e5841050 	str	r1, [r4, #80]	; 0x50                          
   10320:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
   10324:	e9800006 	stmib	r0, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
   10328:	e3a01000 	mov	r1, #0                                        
   1032c:	e1a0000d 	mov	r0, sp                                        
   10330:	ebffcaae 	bl	2df0 <gettimeofday>                            
   10334:	e59d3000 	ldr	r3, [sp]                                      
   10338:	e5843040 	str	r3, [r4, #64]	; 0x40                          
   1033c:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
   10340:	e8bd801c 	pop	{r2, r3, r4, pc}                              
                                                                      
00010344 <memfile_lseek>:                                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
   10344:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   10348:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   1034c:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
   10350:	e3530006 	cmp	r3, #6                                        
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
   10354:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   10358:	1a00000b 	bne	1038c <memfile_lseek+0x48>                    
    if (iop->offset > the_jnode->info.linearfile.size)                
   1035c:	e5902010 	ldr	r2, [r0, #16]                                 <== NOT EXECUTED
   10360:	e5953054 	ldr	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
   10364:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
   10368:	e5952050 	ldr	r2, [r5, #80]	; 0x50                          <== NOT EXECUTED
   1036c:	ca000003 	bgt	10380 <memfile_lseek+0x3c>                    <== NOT EXECUTED
   10370:	1a000014 	bne	103c8 <memfile_lseek+0x84>                    <== NOT EXECUTED
   10374:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
   10378:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
   1037c:	9a000011 	bls	103c8 <memfile_lseek+0x84>                    <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
   10380:	e584200c 	str	r2, [r4, #12]                                 <== NOT EXECUTED
   10384:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
   10388:	ea00000e 	b	103c8 <memfile_lseek+0x84>                      <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
   1038c:	e1a00005 	mov	r0, r5                                        
   10390:	e284200c 	add	r2, r4, #12                                   
   10394:	e8920006 	ldm	r2, {r1, r2}                                  
   10398:	ebffff79 	bl	10184 <IMFS_memfile_extend>                    
   1039c:	e3500000 	cmp	r0, #0                                        
   103a0:	0a000005 	beq	103bc <memfile_lseek+0x78>                    
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   103a4:	eb000657 	bl	11d08 <__errno>                                <== NOT EXECUTED
   103a8:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
   103ac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   103b0:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
   103b4:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
   103b8:	ea000004 	b	103d0 <memfile_lseek+0x8c>                      <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
   103bc:	e2853050 	add	r3, r5, #80	; 0x50                            
   103c0:	e893000c 	ldm	r3, {r2, r3}                                  
   103c4:	e984000c 	stmib	r4, {r2, r3}                                
  }                                                                   
  return iop->offset;                                                 
   103c8:	e284400c 	add	r4, r4, #12                                   
   103cc:	e8940018 	ldm	r4, {r3, r4}                                  
}                                                                     
   103d0:	e1a01004 	mov	r1, r4                                        
   103d4:	e1a00003 	mov	r0, r3                                        
   103d8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
00010668 <memfile_open>:                                              
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   10668:	e5903014 	ldr	r3, [r0, #20]                                 
   1066c:	e3130f81 	tst	r3, #516	; 0x204                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
   10670:	e92d4031 	push	{r0, r4, r5, lr}                             
   10674:	e1a05000 	mov	r5, r0                                        
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
   10678:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   1067c:	0a000017 	beq	106e0 <memfile_open+0x78>                     
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
   10680:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
   10684:	e3530006 	cmp	r3, #6                                        
   10688:	1a000014 	bne	106e0 <memfile_open+0x78>                     
    uint32_t   count = the_jnode->info.linearfile.size;               
   1068c:	e594c050 	ldr	ip, [r4, #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;                         
   10690:	e3a02000 	mov	r2, #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;                               
   10694:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
   10698:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   1069c:	e3a01000 	mov	r1, #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)                                                  
   106a0:	e35c0000 	cmp	ip, #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;                               
   106a4:	e584304c 	str	r3, [r4, #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;                         
   106a8:	e5842060 	str	r2, [r4, #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;  
   106ac:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
   106b0:	e5840050 	str	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
   106b4:	e5841054 	str	r1, [r4, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
   106b8:	e584205c 	str	r2, [r4, #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;                         
   106bc:	e5842058 	str	r2, [r4, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
   106c0:	0a000006 	beq	106e0 <memfile_open+0x78>                     <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
   106c4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
   106c8:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   106cc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   106d0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   106d4:	ebffff40 	bl	103dc <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)                                                  
   106d8:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
   106dc:	0a000009 	beq	10708 <memfile_open+0xa0>                     <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
   106e0:	e5953014 	ldr	r3, [r5, #20]                                 
   106e4:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
   106e8:	12843050 	addne	r3, r4, #80	; 0x50                          
   106ec:	1893000c 	ldmne	r3, {r2, r3}                                
   106f0:	1585200c 	strne	r2, [r5, #12]                               
   106f4:	15853010 	strne	r3, [r5, #16]                               
                                                                      
  iop->size = the_jnode->info.file.size;                              
   106f8:	e2844050 	add	r4, r4, #80	; 0x50                            
   106fc:	e8940018 	ldm	r4, {r3, r4}                                  
   10700:	e9850018 	stmib	r5, {r3, r4}                                
   10704:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
   10708:	e8bd8038 	pop	{r3, r4, r5, pc}                              
                                                                      
00001d18 <mknod>:                                                     
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
    1d18:	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) ) )                 
    1d1c:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
    1d20:	e24dd01c 	sub	sp, sp, #28                                   
    1d24:	e1a05001 	mov	r5, r1                                        
    1d28:	e1a06000 	mov	r6, r0                                        
    1d2c:	e1a07002 	mov	r7, r2                                        
    1d30:	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) ) )                 
    1d34:	1a000002 	bne	1d44 <mknod+0x2c>                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
    1d38:	eb002bec 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1d3c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
    1d40:	ea000020 	b	1dc8 <mknod+0xb0>                               <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
    1d44:	e5d03000 	ldrb	r3, [r0]                                     
    1d48:	e353002f 	cmp	r3, #47	; 0x2f                                
    1d4c:	1353005c 	cmpne	r3, #92	; 0x5c                              
    1d50:	13a04000 	movne	r4, #0                                      
    1d54:	03a04001 	moveq	r4, #1                                      
    1d58:	0a000001 	beq	1d64 <mknod+0x4c>                             
    1d5c:	e3530000 	cmp	r3, #0                                        
    1d60:	1a000009 	bne	1d8c <mknod+0x74>                             
    1d64:	e59f3100 	ldr	r3, [pc, #256]	; 1e6c <mknod+0x154>           
    1d68:	e593e000 	ldr	lr, [r3]                                      
    1d6c:	e28ee018 	add	lr, lr, #24                                   
    1d70:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    1d74:	e28dc004 	add	ip, sp, #4                                    
    1d78:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    1d7c:	e59e3000 	ldr	r3, [lr]                                      
    1d80:	e3a00001 	mov	r0, #1                                        
    1d84:	e58c3000 	str	r3, [ip]                                      
    1d88:	ea000008 	b	1db0 <mknod+0x98>                               
    1d8c:	e59f30d8 	ldr	r3, [pc, #216]	; 1e6c <mknod+0x154>           
    1d90:	e593e000 	ldr	lr, [r3]                                      
    1d94:	e28ee004 	add	lr, lr, #4                                    
    1d98:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    1d9c:	e28dc004 	add	ip, sp, #4                                    
    1da0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    1da4:	e59e3000 	ldr	r3, [lr]                                      
    1da8:	e58c3000 	str	r3, [ip]                                      
    1dac:	e1a00004 	mov	r0, r4                                        
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
    1db0:	e59d3010 	ldr	r3, [sp, #16]                                 
    1db4:	e5933004 	ldr	r3, [r3, #4]                                  
    1db8:	e3530000 	cmp	r3, #0                                        
    1dbc:	1a000004 	bne	1dd4 <mknod+0xbc>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    1dc0:	eb002bca 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1dc4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1dc8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1dcc:	e3e05000 	mvn	r5, #0                                        
    1dd0:	ea000022 	b	1e60 <mknod+0x148>                              
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
    1dd4:	e28d4004 	add	r4, sp, #4                                    
    1dd8:	e0860000 	add	r0, r6, r0                                    
    1ddc:	e1a01004 	mov	r1, r4                                        
    1de0:	e28d2018 	add	r2, sp, #24                                   
    1de4:	e1a0e00f 	mov	lr, pc                                        
    1de8:	e12fff13 	bx	r3                                             
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    1dec:	e3500000 	cmp	r0, #0                                        
    1df0:	1afffff5 	bne	1dcc <mknod+0xb4>                             
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    1df4:	e59d3010 	ldr	r3, [sp, #16]                                 
    1df8:	e593c014 	ldr	ip, [r3, #20]                                 
    1dfc:	e35c0000 	cmp	ip, #0                                        
    1e00:	1a000006 	bne	1e20 <mknod+0x108>                            
    rtems_filesystem_freenode( &temp_loc );                           
    1e04:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    1e08:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    1e0c:	0affffeb 	beq	1dc0 <mknod+0xa8>                             <== NOT EXECUTED
    1e10:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1e14:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1e18:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    1e1c:	eaffffe7 	b	1dc0 <mknod+0xa8>                               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
    1e20:	e1a01005 	mov	r1, r5                                        
    1e24:	e1a03008 	mov	r3, r8                                        
    1e28:	e58d4000 	str	r4, [sp]                                      
    1e2c:	e1a02007 	mov	r2, r7                                        
    1e30:	e59d0018 	ldr	r0, [sp, #24]                                 
    1e34:	e1a0e00f 	mov	lr, pc                                        
    1e38:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    1e3c:	e59d3010 	ldr	r3, [sp, #16]                                 
    1e40:	e3530000 	cmp	r3, #0                                        
  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 );
    1e44:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
    1e48:	0a000004 	beq	1e60 <mknod+0x148>                            
    1e4c:	e593301c 	ldr	r3, [r3, #28]                                 
    1e50:	e3530000 	cmp	r3, #0                                        
    1e54:	11a00004 	movne	r0, r4                                      
    1e58:	11a0e00f 	movne	lr, pc                                      
    1e5c:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
    1e60:	e1a00005 	mov	r0, r5                                        
    1e64:	e28dd01c 	add	sp, sp, #28                                   
    1e68:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    1e6c:	000188b8 	.word	0x000188b8                                  
                                                                      
00001e8c <mount>:                                                     
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
    1e8c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
    1e90:	e2517000 	subs	r7, r1, #0                                   
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
    1e94:	e24dd018 	sub	sp, sp, #24                                   
    1e98:	e1a06000 	mov	r6, r0                                        
    1e9c:	e1a09002 	mov	r9, r2                                        
    1ea0:	e1a0b003 	mov	fp, r3                                        
    1ea4:	e59da03c 	ldr	sl, [sp, #60]	; 0x3c                          
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
    1ea8:	0a000001 	beq	1eb4 <mount+0x28>                             
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
    1eac:	e3520001 	cmp	r2, #1                                        
    1eb0:	9a000002 	bls	1ec0 <mount+0x34>                             
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
    1eb4:	eb002b8d 	bl	ccf0 <__errno>                                 
    1eb8:	e3a03016 	mov	r3, #22                                       
    1ebc:	ea000014 	b	1f14 <mount+0x88>                               
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
    1ec0:	e5975024 	ldr	r5, [r7, #36]	; 0x24                          
    1ec4:	e3550000 	cmp	r5, #0                                        
    1ec8:	1a000004 	bne	1ee0 <mount+0x54>                             
    errno = ENOTSUP;                                                  
    1ecc:	eb002b87 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1ed0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1ed4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1ed8:	e1a08005 	mov	r8, r5                                        <== NOT EXECUTED
    goto cleanup_and_bail;                                            
    1edc:	ea00006d 	b	2098 <mount+0x20c>                              <== NOT EXECUTED
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
    1ee0:	e3530000 	cmp	r3, #0                                        
    1ee4:	03a0006c 	moveq	r0, #108	; 0x6c                             
    1ee8:	0a000002 	beq	1ef8 <mount+0x6c>                             
     size += strlen( device ) + 1;                                    
    1eec:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    1ef0:	eb002f6f 	bl	dcb4 <strlen>                                  <== NOT EXECUTED
    1ef4:	e280006d 	add	r0, r0, #109	; 0x6d                           <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
    1ef8:	ebffff44 	bl	1c10 <malloc>                                  
                                                                      
   if ( !temp_mt_entry ) {                                            
    1efc:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
    1f00:	e1a04000 	mov	r4, r0                                        
    1f04:	e1a08000 	mov	r8, r0                                        
                                                                      
   if ( !temp_mt_entry ) {                                            
    1f08:	1a000003 	bne	1f1c <mount+0x90>                             
     errno = ENOMEM;                                                  
    1f0c:	eb002b77 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1f10:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
    1f14:	e5803000 	str	r3, [r0]                                      
    1f18:	ea00006a 	b	20c8 <mount+0x23c>                              
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
    1f1c:	e35b0000 	cmp	fp, #0                                        
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
    1f20:	e5809030 	str	r9, [r0, #48]	; 0x30                          
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
    1f24:	e584002c 	str	r0, [r4, #44]	; 0x2c                          
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
   } else                                                             
     temp_mt_entry->dev = 0;                                          
    1f28:	0580b068 	streq	fp, [r0, #104]	; 0x68                       
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
    1f2c:	1280306c 	addne	r3, r0, #108	; 0x6c                         
     strcpy( temp_mt_entry->dev, device );                            
    1f30:	11a00003 	movne	r0, r3                                      
    1f34:	11a0100b 	movne	r1, fp                                      
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
    1f38:	15843068 	strne	r3, [r4, #104]	; 0x68                       
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
    1f3c:	1b002f20 	blne	dbc4 <strcpy>                                
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
    1f40:	e35a0000 	cmp	sl, #0                                        
    1f44:	0a000035 	beq	2020 <mount+0x194>                            
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
    1f48:	e1a0000a 	mov	r0, sl                                        
    1f4c:	eb002f58 	bl	dcb4 <strlen>                                  
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
    1f50:	e28d5004 	add	r5, sp, #4                                    
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
    1f54:	e1a01000 	mov	r1, r0                                        
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
    1f58:	e3a0c001 	mov	ip, #1                                        
    1f5c:	e1a0000a 	mov	r0, sl                                        
    1f60:	e3a02007 	mov	r2, #7                                        
    1f64:	e1a03005 	mov	r3, r5                                        
    1f68:	e58dc000 	str	ip, [sp]                                      
    1f6c:	ebfffe42 	bl	187c <rtems_filesystem_evaluate_path>          
    1f70:	e3700001 	cmn	r0, #1                                        
    1f74:	0a000046 	beq	2094 <mount+0x208>                            
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
    1f78:	e59d3010 	ldr	r3, [sp, #16]                                 
    1f7c:	e5933010 	ldr	r3, [r3, #16]                                 
    1f80:	e3530000 	cmp	r3, #0                                        
    1f84:	1a000002 	bne	1f94 <mount+0x108>                            
      errno =  ENOTSUP;                                               
    1f88:	eb002b58 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1f8c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1f90:	ea000006 	b	1fb0 <mount+0x124>                              <== NOT EXECUTED
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    1f94:	e1a00005 	mov	r0, r5                                        
    1f98:	e1a0e00f 	mov	lr, pc                                        
    1f9c:	e12fff13 	bx	r3                                             
    1fa0:	e3500001 	cmp	r0, #1                                        
    1fa4:	0a000003 	beq	1fb8 <mount+0x12c>                            
      errno = ENOTDIR;                                                
    1fa8:	eb002b50 	bl	ccf0 <__errno>                                 
    1fac:	e3a03014 	mov	r3, #20                                       
    1fb0:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
    1fb4:	ea000037 	b	2098 <mount+0x20c>                              
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
    1fb8:	e59f2140 	ldr	r2, [pc, #320]	; 2100 <mount+0x274>           
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
    1fbc:	e59d1004 	ldr	r1, [sp, #4]                                  
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
    1fc0:	e4923004 	ldr	r3, [r2], #4                                  
    1fc4:	ea000003 	b	1fd8 <mount+0x14c>                              
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
    1fc8:	e593001c 	ldr	r0, [r3, #28]                                 
    1fcc:	e1500001 	cmp	r0, r1                                        
    1fd0:	0a000003 	beq	1fe4 <mount+0x158>                            
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
    1fd4:	e5933000 	ldr	r3, [r3]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
    1fd8:	e1530002 	cmp	r3, r2                                        
    1fdc:	1afffff9 	bne	1fc8 <mount+0x13c>                            
    1fe0:	ea00003b 	b	20d4 <mount+0x248>                              
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
    1fe4:	eb002b41 	bl	ccf0 <__errno>                                 
    1fe8:	e3a03010 	mov	r3, #16                                       
    1fec:	ea000001 	b	1ff8 <mount+0x16c>                              
     *  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;                                                
    1ff0:	eb002b3e 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1ff4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1ff8:	e5803000 	str	r3, [r0]                                      
    1ffc:	e28d5004 	add	r5, sp, #4                                    
      goto cleanup_and_bail;                                          
    2000:	ea000024 	b	2098 <mount+0x20c>                              
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
    2004:	e1a00004 	mov	r0, r4                                        
    2008:	e1a0e00f 	mov	lr, pc                                        
    200c:	e12fff13 	bx	r3                                             
    2010:	e3500000 	cmp	r0, #0                                        
    2014:	e28d5004 	add	r5, sp, #4                                    
    2018:	0a000008 	beq	2040 <mount+0x1b4>                            
    201c:	ea00001d 	b	2098 <mount+0x20c>                              <== NOT EXECUTED
     *  This is a mount of the base file system --> The               
     *  mt_point_node.node_access will be set to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
                                                                      
    temp_mt_entry->mt_fs_root.node_access = NULL;                     
    2020:	e584a01c 	str	sl, [r4, #28]                                 
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
    2024:	e584a024 	str	sl, [r4, #36]	; 0x24                          
    temp_mt_entry->mt_fs_root.ops = NULL;                             
    2028:	e584a028 	str	sl, [r4, #40]	; 0x28                          
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
    202c:	e584a008 	str	sl, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = NULL;                     
    2030:	e584a010 	str	sl, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = NULL;                          
    2034:	e584a014 	str	sl, [r4, #20]                                 
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
    2038:	e584a018 	str	sl, [r4, #24]                                 
    203c:	e1a0500a 	mov	r5, sl                                        
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
    2040:	e1a00004 	mov	r0, r4                                        
    2044:	e1a0e00f 	mov	lr, pc                                        
    2048:	e597f024 	ldr	pc, [r7, #36]	; 0x24                          
    204c:	e2507000 	subs	r7, r0, #0                                   
    2050:	0a000007 	beq	2074 <mount+0x1e8>                            
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
    2054:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    2058:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
    205c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2060:	0a00000c 	beq	2098 <mount+0x20c>                            <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
    2064:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    2068:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    206c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    2070:	ea000008 	b	2098 <mount+0x20c>                              <== 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 );                               
    2074:	e59f0084 	ldr	r0, [pc, #132]	; 2100 <mount+0x274>           
    2078:	e1a01004 	mov	r1, r4                                        
    207c:	eb000cc7 	bl	53a0 <_Chain_Append>                           
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
    2080:	e3560000 	cmp	r6, #0                                        
    2084:	01a00006 	moveq	r0, r6                                      
    *mt_entry = temp_mt_entry;                                        
    2088:	15864000 	strne	r4, [r6]                                    
    208c:	11a00007 	movne	r0, r7                                      
    2090:	ea00000d 	b	20cc <mount+0x240>                              
    2094:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
    2098:	e1a00008 	mov	r0, r8                                        
    209c:	ebfffe29 	bl	1948 <free>                                    
                                                                      
  if ( loc_to_free )                                                  
    20a0:	e3550000 	cmp	r5, #0                                        
    20a4:	0a000007 	beq	20c8 <mount+0x23c>                            
    rtems_filesystem_freenode( loc_to_free );                         
    20a8:	e595300c 	ldr	r3, [r5, #12]                                 
    20ac:	e3530000 	cmp	r3, #0                                        
    20b0:	0a000004 	beq	20c8 <mount+0x23c>                            
    20b4:	e593301c 	ldr	r3, [r3, #28]                                 
    20b8:	e3530000 	cmp	r3, #0                                        
    20bc:	11a00005 	movne	r0, r5                                      
    20c0:	11a0e00f 	movne	lr, pc                                      
    20c4:	112fff13 	bxne	r3                                           
    20c8:	e3e00000 	mvn	r0, #0                                        
                                                                      
  return -1;                                                          
}                                                                     
    20cc:	e28dd018 	add	sp, sp, #24                                   
    20d0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    20d4:	e59d2010 	ldr	r2, [sp, #16]                                 
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    20d8:	e5841008 	str	r1, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    20dc:	e59d100c 	ldr	r1, [sp, #12]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    20e0:	e5923020 	ldr	r3, [r2, #32]                                 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    20e4:	e5841010 	str	r1, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
    20e8:	e59d1014 	ldr	r1, [sp, #20]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    20ec:	e3530000 	cmp	r3, #0                                        
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
    20f0:	e5841018 	str	r1, [r4, #24]                                 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    20f4:	e5842014 	str	r2, [r4, #20]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
    20f8:	1affffc1 	bne	2004 <mount+0x178>                            
    20fc:	eaffffbb 	b	1ff0 <mount+0x164>                              <== NOT EXECUTED
    2100:	0001a0d0 	.word	0x0001a0d0                                  
                                                                      
00002174 <newlib_free_buffers>:                                       
 */                                                                   
                                                                      
int newlib_free_buffers(                                              
  FILE *fp                                                            
)                                                                     
{                                                                     
    2174:	e92d4010 	push	{r4, lr}                                     
    2178:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
    217c:	eb002bda 	bl	d0ec <fileno>                                  
    2180:	e3500002 	cmp	r0, #2                                        
    2184:	8a00000b 	bhi	21b8 <newlib_free_buffers+0x44>               
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
    2188:	e1d430bc 	ldrh	r3, [r4, #12]                                
    218c:	e3130080 	tst	r3, #128	; 0x80                               
    2190:	0a00000a 	beq	21c0 <newlib_free_buffers+0x4c>               
        free( fp->_bf._base );                                        
    2194:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2198:	ebfffdea 	bl	1948 <free>                                    <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
    219c:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    21a0:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
    21a4:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    21a8:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
    21ac:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
    21b0:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    21b4:	ea000001 	b	21c0 <newlib_free_buffers+0x4c>                 <== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
    21b8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    21bc:	eb002b18 	bl	ce24 <fclose>                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
    21c0:	e3a00000 	mov	r0, #0                                        
    21c4:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
000023e8 <open>:                                                      
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
    23e8:	e92d000e 	push	{r1, r2, r3}                                 
    23ec:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
    23f0:	e24dd01c 	sub	sp, sp, #28                                   
    23f4:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
    23f8:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
    23fc:	e2138001 	ands	r8, r3, #1                                   
    2400:	13a08004 	movne	r8, #4                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    2404:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
    2408:	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;                            
    240c:	13888002 	orrne	r8, r8, #2                                  
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
    2410:	e1a06000 	mov	r6, r0                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
    2414:	e58d3018 	str	r3, [sp, #24]                                 
    2418:	e59d9040 	ldr	r9, [sp, #64]	; 0x40                          
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
    241c:	eb001bbc 	bl	9314 <rtems_libio_allocate>                    
  if ( iop == 0 ) {                                                   
    2420:	e2504000 	subs	r4, r0, #0                                   
    2424:	03a05017 	moveq	r5, #23                                     
    2428:	0a000077 	beq	260c <open+0x224>                             
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
    242c:	e1a00006 	mov	r0, r6                                        
    2430:	eb002e1f 	bl	dcb4 <strlen>                                  
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    2434:	e28d7004 	add	r7, sp, #4                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
    2438:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    243c:	e1a02008 	mov	r2, r8                                        
    2440:	e1a00006 	mov	r0, r6                                        
    2444:	e3a08001 	mov	r8, #1                                        
    2448:	e1a03007 	mov	r3, r7                                        
    244c:	e58d8000 	str	r8, [sp]                                      
    2450:	ebfffd09 	bl	187c <rtems_filesystem_evaluate_path>          
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    2454:	e3700001 	cmn	r0, #1                                        
    2458:	1a00001f 	bne	24dc <open+0xf4>                              
    if ( errno != ENOENT ) {                                          
    245c:	eb002a23 	bl	ccf0 <__errno>                                 
    2460:	e5903000 	ldr	r3, [r0]                                      
    2464:	e3530002 	cmp	r3, #2                                        
    2468:	1a00000a 	bne	2498 <open+0xb0>                              
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
    246c:	e215ac02 	ands	sl, r5, #512	; 0x200                         
    2470:	01a0700a 	moveq	r7, sl                                      
    2474:	01a05003 	moveq	r5, r3                                      
    2478:	0a000056 	beq	25d8 <open+0x1f0>                             
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    247c:	e1a00006 	mov	r0, r6                                        
    2480:	e3891902 	orr	r1, r9, #32768	; 0x8000                       
    2484:	e3a02000 	mov	r2, #0                                        
    2488:	e3a03000 	mov	r3, #0                                        
    248c:	ebfffe21 	bl	1d18 <mknod>                                   
    if ( rc ) {                                                       
    2490:	e250a000 	subs	sl, r0, #0                                   
    2494:	0a000003 	beq	24a8 <open+0xc0>                              
      rc = errno;                                                     
    2498:	eb002a14 	bl	ccf0 <__errno>                                 
    249c:	e3a07000 	mov	r7, #0                                        
    24a0:	e5905000 	ldr	r5, [r0]                                      
      goto done;                                                      
    24a4:	ea000049 	b	25d0 <open+0x1e8>                               
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
    24a8:	e1a00006 	mov	r0, r6                                        
    24ac:	eb002e00 	bl	dcb4 <strlen>                                  
    24b0:	e1a03007 	mov	r3, r7                                        
    24b4:	e1a01000 	mov	r1, r0                                        
    24b8:	e1a0200a 	mov	r2, sl                                        
    24bc:	e1a00006 	mov	r0, r6                                        
    24c0:	e58d8000 	str	r8, [sp]                                      
    24c4:	ebfffcec 	bl	187c <rtems_filesystem_evaluate_path>          
    if ( status != 0 ) {   /* The file did not exist */               
    24c8:	e3500000 	cmp	r0, #0                                        
    24cc:	11a0700a 	movne	r7, sl                                      
    24d0:	13a0500d 	movne	r5, #13                                     
    24d4:	1a00003f 	bne	25d8 <open+0x1f0>                             
    24d8:	ea000003 	b	24ec <open+0x104>                               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    24dc:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
    24e0:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
    24e4:	03a05011 	moveq	r5, #17                                     
    24e8:	0a00003a 	beq	25d8 <open+0x1f0>                             
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
    24ec:	e28d701c 	add	r7, sp, #28                                   
    24f0:	e5373018 	ldr	r3, [r7, #-24]!                               
    24f4:	e5843038 	str	r3, [r4, #56]	; 0x38                          
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
    24f8:	e59d300c 	ldr	r3, [sp, #12]                                 
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    24fc:	e1a00005 	mov	r0, r5                                        
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
    2500:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    2504:	e5948014 	ldr	r8, [r4, #20]                                 
    2508:	eb001ba7 	bl	93ac <rtems_libio_fcntl_flags>                 
    250c:	e180e008 	orr	lr, r0, r8                                    
  iop->pathinfo   = loc;                                              
    2510:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
    2514:	e284c018 	add	ip, r4, #24                                   
    2518:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
    251c:	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;                                              
    2520:	e5972000 	ldr	r2, [r7]                                      
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
    2524:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
    2528:	e58c2000 	str	r2, [ip]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
    252c:	e584e014 	str	lr, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
    2530:	0a000041 	beq	263c <open+0x254>                             
    2534:	e593c000 	ldr	ip, [r3]                                      
    2538:	e35c0000 	cmp	ip, #0                                        
    253c:	0a00003e 	beq	263c <open+0x254>                             
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
    2540:	e1a01006 	mov	r1, r6                                        
    2544:	e1a03009 	mov	r3, r9                                        
    2548:	e1a00004 	mov	r0, r4                                        
    254c:	e1a02005 	mov	r2, r5                                        
    2550:	e1a0e00f 	mov	lr, pc                                        
    2554:	e12fff1c 	bx	ip                                             
  if ( rc ) {                                                         
    2558:	e3500000 	cmp	r0, #0                                        
    255c:	0a000003 	beq	2570 <open+0x188>                             
    rc = errno;                                                       
    2560:	eb0029e2 	bl	ccf0 <__errno>                                 
    2564:	e28d7004 	add	r7, sp, #4                                    
    2568:	e5905000 	ldr	r5, [r0]                                      
    goto done;                                                        
    256c:	ea000017 	b	25d0 <open+0x1e8>                               
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    2570:	e3150b01 	tst	r5, #1024	; 0x400                             
    2574:	0a000028 	beq	261c <open+0x234>                             
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    2578:	e59f30c8 	ldr	r3, [pc, #200]	; 2648 <open+0x260>            
    257c:	e5930000 	ldr	r0, [r3]                                      
    2580:	e0600004 	rsb	r0, r0, r4                                    
    2584:	e1a00340 	asr	r0, r0, #6                                    
    2588:	e3a01000 	mov	r1, #0                                        
    258c:	e3a02000 	mov	r2, #0                                        
    2590:	eb001aa3 	bl	9024 <ftruncate>                               
    if ( rc ) {                                                       
    2594:	e2505000 	subs	r5, r0, #0                                   
    2598:	0a00001f 	beq	261c <open+0x234>                             
      if(errno) rc = errno;                                           
    259c:	eb0029d3 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    25a0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
    25a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    25a8:	0a000001 	beq	25b4 <open+0x1cc>                             <== NOT EXECUTED
    25ac:	eb0029cf 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    25b0:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
    25b4:	e59f308c 	ldr	r3, [pc, #140]	; 2648 <open+0x260>            <== NOT EXECUTED
    25b8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    25bc:	e0634004 	rsb	r4, r3, r4                                    <== NOT EXECUTED
    25c0:	e1a00344 	asr	r0, r4, #6                                    <== NOT EXECUTED
    25c4:	eb001a6d 	bl	8f80 <close>                                   <== NOT EXECUTED
    25c8:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
    25cc:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    25d0:	e3550000 	cmp	r5, #0                                        
    25d4:	0a000010 	beq	261c <open+0x234>                             
    if ( iop )                                                        
    25d8:	e3540000 	cmp	r4, #0                                        
      rtems_libio_free( iop );                                        
    25dc:	11a00004 	movne	r0, r4                                      
    25e0:	1b001b3b 	blne	92d4 <rtems_libio_free>                      
    if ( loc_to_free )                                                
    25e4:	e3570000 	cmp	r7, #0                                        
    25e8:	0a000007 	beq	260c <open+0x224>                             
      rtems_filesystem_freenode( loc_to_free );                       
    25ec:	e597300c 	ldr	r3, [r7, #12]                                 
    25f0:	e3530000 	cmp	r3, #0                                        
    25f4:	0a000004 	beq	260c <open+0x224>                             
    25f8:	e593301c 	ldr	r3, [r3, #28]                                 
    25fc:	e3530000 	cmp	r3, #0                                        
    2600:	11a00007 	movne	r0, r7                                      
    2604:	11a0e00f 	movne	lr, pc                                      
    2608:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( rc );                       
    260c:	eb0029b7 	bl	ccf0 <__errno>                                 
    2610:	e5805000 	str	r5, [r0]                                      
    2614:	e3e00000 	mvn	r0, #0                                        
    2618:	ea000003 	b	262c <open+0x244>                               
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
    261c:	e59f3024 	ldr	r3, [pc, #36]	; 2648 <open+0x260>             
    2620:	e5930000 	ldr	r0, [r3]                                      
    2624:	e0604004 	rsb	r4, r0, r4                                    
    2628:	e1a00344 	asr	r0, r4, #6                                    
}                                                                     
    262c:	e28dd01c 	add	sp, sp, #28                                   
    2630:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
    2634:	e28dd00c 	add	sp, sp, #12                                   
    2638:	e12fff1e 	bx	lr                                             
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
    263c:	e28d7004 	add	r7, sp, #4                                    <== NOT EXECUTED
    2640:	e3a05086 	mov	r5, #134	; 0x86                               <== NOT EXECUTED
    2644:	eaffffe3 	b	25d8 <open+0x1f0>                               <== NOT EXECUTED
    2648:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00002384 <open_dev_console>:                                          
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
    2384:	e3a01000 	mov	r1, #0                                        
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
    2388:	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) {         
    238c:	e59f0048 	ldr	r0, [pc, #72]	; 23dc <open_dev_console+0x58>  
    2390:	e1a02001 	mov	r2, r1                                        
    2394:	eb000013 	bl	23e8 <open>                                    
    2398:	e3700001 	cmn	r0, #1                                        
    239c:	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)          
    23a0:	e59f0034 	ldr	r0, [pc, #52]	; 23dc <open_dev_console+0x58>  
    23a4:	e3a01001 	mov	r1, #1                                        
    23a8:	e3a02000 	mov	r2, #0                                        
    23ac:	eb00000d 	bl	23e8 <open>                                    
    23b0:	e3700001 	cmn	r0, #1                                        
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
    23b4:	059f0024 	ldreq	r0, [pc, #36]	; 23e0 <open_dev_console+0x5c>
                                                                      
  /*                                                                  
   *  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)          
    23b8:	0a000006 	beq	23d8 <open_dev_console+0x54>                  
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    23bc:	e59f0018 	ldr	r0, [pc, #24]	; 23dc <open_dev_console+0x58>  
    23c0:	e3a01001 	mov	r1, #1                                        
    23c4:	e3a02000 	mov	r2, #0                                        
    23c8:	eb000006 	bl	23e8 <open>                                    
    23cc:	e3700001 	cmn	r0, #1                                        
    23d0:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
    23d4:	e59f0008 	ldr	r0, [pc, #8]	; 23e4 <open_dev_console+0x60>   <== NOT EXECUTED
    23d8:	eb000b36 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
    23dc:	0001981b 	.word	0x0001981b                                  
    23e0:	55544431 	.word	0x55544431                                  
    23e4:	55544432 	.word	0x55544432                                  
                                                                      
00002d10 <oproc>:                                                     
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    2d10:	e92d4011 	push	{r0, r4, lr}                                 
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
    2d14:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
    2d18:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
    2d1c:	e1a04001 	mov	r4, r1                                        
    2d20:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
    2d24:	0a000047 	beq	2e48 <oproc+0x138>                            
		switch (c) {                                                        
    2d28:	e5dd2000 	ldrb	r2, [sp]                                     
    2d2c:	e2421008 	sub	r1, r2, #8                                    
    2d30:	e3510005 	cmp	r1, #5                                        
    2d34:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
    2d38:	ea00002e 	b	2df8 <oproc+0xe8>                               
    2d3c:	00002de4 	.word	0x00002de4                                  <== NOT EXECUTED
    2d40:	00002db8 	.word	0x00002db8                                  <== NOT EXECUTED
    2d44:	00002d54 	.word	0x00002d54                                  <== NOT EXECUTED
    2d48:	00002df8 	.word	0x00002df8                                  <== NOT EXECUTED
    2d4c:	00002df8 	.word	0x00002df8                                  <== NOT EXECUTED
    2d50:	00002d80 	.word	0x00002d80                                  <== NOT EXECUTED
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
    2d54:	e3130020 	tst	r3, #32                                       
				tty->column = 0;                                                  
    2d58:	13a03000 	movne	r3, #0                                      
    2d5c:	15843028 	strne	r3, [r4, #40]	; 0x28                        
			if (tty->termios.c_oflag & ONLCR) {                                
    2d60:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
    2d64:	e3130004 	tst	r3, #4                                        
    2d68:	0a000036 	beq	2e48 <oproc+0x138>                            
				rtems_termios_puts ("\r", 1, tty);                                
    2d6c:	e59f00e8 	ldr	r0, [pc, #232]	; 2e5c <oproc+0x14c>           
    2d70:	e3a01001 	mov	r1, #1                                        
    2d74:	e1a02004 	mov	r2, r4                                        
    2d78:	ebffffa0 	bl	2c00 <rtems_termios_puts>                      
    2d7c:	ea00000b 	b	2db0 <oproc+0xa0>                               
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
    2d80:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
    2d84:	0a000002 	beq	2d94 <oproc+0x84>                             <== NOT EXECUTED
    2d88:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
    2d8c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    2d90:	0a000030 	beq	2e58 <oproc+0x148>                            <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
    2d94:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
					tty->column = 0;                                                 
				break;                                                            
			}                                                                  
			tty->column = 0;                                                   
    2d98:	05842028 	streq	r2, [r4, #40]	; 0x28                        <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
    2d9c:	0a000029 	beq	2e48 <oproc+0x138>                            <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
    2da0:	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';                                                         
    2da4:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
    2da8:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
    2dac:	0a000025 	beq	2e48 <oproc+0x138>                            <== NOT EXECUTED
					tty->column = 0;                                                 
    2db0:	e3a03000 	mov	r3, #0                                        
    2db4:	ea000022 	b	2e44 <oproc+0x134>                              
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
    2db8:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
    2dbc:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
    2dc0:	e2021007 	and	r1, r2, #7                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
    2dc4:	e3530b06 	cmp	r3, #6144	; 0x1800                            
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
    2dc8:	e2611008 	rsb	r1, r1, #8                                    
    2dcc:	e0813002 	add	r3, r1, r2                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
    2dd0:	1a00001b 	bne	2e44 <oproc+0x134>                            
				tty->column += i;                                                 
    2dd4:	e5843028 	str	r3, [r4, #40]	; 0x28                          
				rtems_termios_puts ( "        ",  i, tty);                        
    2dd8:	e1a02004 	mov	r2, r4                                        
    2ddc:	e59f007c 	ldr	r0, [pc, #124]	; 2e60 <oproc+0x150>           
    2de0:	ea00001b 	b	2e54 <oproc+0x144>                              
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
    2de4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
    2de8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				tty->column--;                                                    
    2dec:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
    2df0:	ca000013 	bgt	2e44 <oproc+0x134>                            <== NOT EXECUTED
    2df4:	ea000013 	b	2e48 <oproc+0x138>                              <== NOT EXECUTED
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
    2df8:	e3130002 	tst	r3, #2                                        
    2dfc:	0a000007 	beq	2e20 <oproc+0x110>                            
				c = toupper(c);                                                   
    2e00:	e59f305c 	ldr	r3, [pc, #92]	; 2e64 <oproc+0x154>            <== NOT EXECUTED
    2e04:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    2e08:	e0833002 	add	r3, r3, r2                                    <== NOT EXECUTED
    2e0c:	e5d33001 	ldrb	r3, [r3, #1]                                 <== NOT EXECUTED
    2e10:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
    2e14:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
    2e18:	02422020 	subeq	r2, r2, #32                                 <== NOT EXECUTED
    2e1c:	e5cd2000 	strb	r2, [sp]                                     <== NOT EXECUTED
			if (!iscntrl(c))                                                   
    2e20:	e59f303c 	ldr	r3, [pc, #60]	; 2e64 <oproc+0x154>            
    2e24:	e5932000 	ldr	r2, [r3]                                      
    2e28:	e5dd3000 	ldrb	r3, [sp]                                     
    2e2c:	e0823003 	add	r3, r2, r3                                    
    2e30:	e5d33001 	ldrb	r3, [r3, #1]                                 
    2e34:	e3130020 	tst	r3, #32                                       
    2e38:	1a000002 	bne	2e48 <oproc+0x138>                            
				tty->column++;                                                    
    2e3c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
    2e40:	e2833001 	add	r3, r3, #1                                    
    2e44:	e5843028 	str	r3, [r4, #40]	; 0x28                          
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
    2e48:	e1a02004 	mov	r2, r4                                        
    2e4c:	e1a0000d 	mov	r0, sp                                        
    2e50:	e3a01001 	mov	r1, #1                                        
    2e54:	ebffff69 	bl	2c00 <rtems_termios_puts>                      
}                                                                     
    2e58:	e8bd8018 	pop	{r3, r4, pc}                                  
    2e5c:	000199cb 	.word	0x000199cb                                  
    2e60:	0001989c 	.word	0x0001989c                                  
    2e64:	00018960 	.word	0x00018960                                  
                                                                      
0000c2d0 <pipe_create>:                                               
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
    c2d0:	e92d4070 	push	{r4, r5, r6, lr}                             
    c2d4:	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)
    c2d8:	e28d5004 	add	r5, sp, #4                                    
    c2dc:	e3a0c001 	mov	ip, #1                                        
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
    c2e0:	e1a04000 	mov	r4, 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)
    c2e4:	e3a01003 	mov	r1, #3                                        
    c2e8:	e59f0140 	ldr	r0, [pc, #320]	; c430 <pipe_create+0x160>     
    c2ec:	e3a02007 	mov	r2, #7                                        
    c2f0:	e1a03005 	mov	r3, r5                                        
    c2f4:	e58dc000 	str	ip, [sp]                                      
    c2f8:	ebffd55f 	bl	187c <rtems_filesystem_evaluate_path>          
    c2fc:	e3500000 	cmp	r0, #0                                        
    c300:	0a000009 	beq	c32c <pipe_create+0x5c>                       
      != 0) {                                                         
    if (errno != ENOENT)                                              
    c304:	eb000279 	bl	ccf0 <__errno>                                 
    c308:	e5903000 	ldr	r3, [r0]                                      
    c30c:	e3530002 	cmp	r3, #2                                        
    c310:	1a000043 	bne	c424 <pipe_create+0x154>                      
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
    c314:	e59f0114 	ldr	r0, [pc, #276]	; c430 <pipe_create+0x160>     
    c318:	e59f1114 	ldr	r1, [pc, #276]	; c434 <pipe_create+0x164>     
    c31c:	ebffd679 	bl	1d08 <mkdir>                                   
    c320:	e3500000 	cmp	r0, #0                                        
    c324:	0a000008 	beq	c34c <pipe_create+0x7c>                       
    c328:	ea00003d 	b	c424 <pipe_create+0x154>                        <== NOT EXECUTED
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
    c32c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    c330:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c334:	0a000004 	beq	c34c <pipe_create+0x7c>                       <== NOT EXECUTED
    c338:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    c33c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c340:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
    c344:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    c348:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
    c34c:	e28d5018 	add	r5, sp, #24                                   
    c350:	e59f10e0 	ldr	r1, [pc, #224]	; c438 <pipe_create+0x168>     
    c354:	e3a0200a 	mov	r2, #10                                       
    c358:	e1a00005 	mov	r0, r5                                        
    c35c:	eb000471 	bl	d528 <memcpy>                                  
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
    c360:	e59f30d4 	ldr	r3, [pc, #212]	; c43c <pipe_create+0x16c>     
    c364:	e1d3c0b0 	ldrh	ip, [r3]                                     
    c368:	e1a0200c 	mov	r2, ip                                        
    c36c:	e28cc001 	add	ip, ip, #1                                    
    c370:	e59f10c8 	ldr	r1, [pc, #200]	; c440 <pipe_create+0x170>     
    c374:	e1c3c0b0 	strh	ip, [r3]                                     
    c378:	e285000a 	add	r0, r5, #10                                   
    c37c:	eb00050f 	bl	d7c0 <sprintf>                                 
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    c380:	e1a00005 	mov	r0, r5                                        
    c384:	e3a01d06 	mov	r1, #384	; 0x180                              
    c388:	eb00003f 	bl	c48c <mkfifo>                                  
    c38c:	e2506000 	subs	r6, r0, #0                                   
    c390:	0a000001 	beq	c39c <pipe_create+0xcc>                       
    if (errno != EEXIST){                                             
    c394:	eb000255 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    c398:	ea000021 	b	c424 <pipe_create+0x154>                        <== NOT EXECUTED
    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);                 
    c39c:	e1a00005 	mov	r0, r5                                        
    c3a0:	e3a01901 	mov	r1, #16384	; 0x4000                           
    c3a4:	ebffd80f 	bl	23e8 <open>                                    
  if (filsdes[0] < 0) {                                               
    c3a8:	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);                 
    c3ac:	e5840000 	str	r0, [r4]                                      
  if (filsdes[0] < 0) {                                               
    c3b0:	aa000003 	bge	c3c4 <pipe_create+0xf4>                       
    err = errno;                                                      
    c3b4:	eb00024d 	bl	ccf0 <__errno>                                 
    c3b8:	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);                                                 
    c3bc:	e1a00005 	mov	r0, r5                                        
    c3c0:	ea000014 	b	c418 <pipe_create+0x148>                        
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    c3c4:	e59f3078 	ldr	r3, [pc, #120]	; c444 <pipe_create+0x174>     <== NOT EXECUTED
    c3c8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    c3cc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    c3d0:	359f3070 	ldrcc	r3, [pc, #112]	; c448 <pipe_create+0x178>   <== NOT EXECUTED
    c3d4:	35936000 	ldrcc	r6, [r3]                                    <== NOT EXECUTED
    c3d8:	30866300 	addcc	r6, r6, r0, lsl #6                          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
    c3dc:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
    c3e0:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
    c3e4:	e5863014 	str	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
    c3e8:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
    c3ec:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    c3f0:	ebffd7fc 	bl	23e8 <open>                                    <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
    c3f4:	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);                            
    c3f8:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
    c3fc:	a3a06000 	movge	r6, #0                                      <== NOT EXECUTED
    c400:	aa000003 	bge	c414 <pipe_create+0x144>                      <== NOT EXECUTED
    err = errno;                                                      
    c404:	eb000239 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    c408:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
    c40c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
    c410:	ebfff2da 	bl	8f80 <close>                                   <== NOT EXECUTED
    }                                                                 
  unlink(fifopath);                                                   
    c414:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
    c418:	eb00001f 	bl	c49c <unlink>                                  
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
    c41c:	eb000233 	bl	ccf0 <__errno>                                 
    c420:	e5806000 	str	r6, [r0]                                      
}                                                                     
    c424:	e3e00000 	mvn	r0, #0                                        
    c428:	e28dd028 	add	sp, sp, #40	; 0x28                            
    c42c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    c430:	00019adc 	.word	0x00019adc                                  
    c434:	000003ff 	.word	0x000003ff                                  
    c438:	00019ae1 	.word	0x00019ae1                                  
    c43c:	00019eae 	.word	0x00019eae                                  
    c440:	00019aec 	.word	0x00019aec                                  
    c444:	00018720 	.word	0x00018720                                  
    c448:	0001a08c 	.word	0x0001a08c                                  
                                                                      
0000b084 <pipe_free>:                                                 
                                                                      
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
    b084:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    b088:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_barrier_delete(pipe->readBarrier);                            
    b08c:	e590002c 	ldr	r0, [r0, #44]	; 0x2c                          <== NOT EXECUTED
    b090:	eb0002fa 	bl	bc80 <rtems_barrier_delete>                    <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
    b094:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
    b098:	eb0002f8 	bl	bc80 <rtems_barrier_delete>                    <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
    b09c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b0a0:	ebffe649 	bl	49cc <rtems_semaphore_delete>                  <== NOT EXECUTED
  free(pipe->Buffer);                                                 
    b0a4:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
    b0a8:	ebffda26 	bl	1948 <free>                                    <== NOT EXECUTED
  free(pipe);                                                         
    b0ac:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
    b0b0:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
    b0b4:	eaffda23 	b	1948 <free>                                     <== NOT EXECUTED
                                                                      
0000ad10 <pipe_ioctl>:                                                
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    ad10:	e59f3054 	ldr	r3, [pc, #84]	; ad6c <pipe_ioctl+0x5c>        <== NOT EXECUTED
    ad14:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    ad18:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
    ad1c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    ad20:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
    ad24:	13e00015 	mvnne	r0, #21                                     <== NOT EXECUTED
    ad28:	18bd8070 	popne	{r4, r5, r6, pc}                            <== NOT EXECUTED
    if (buffer == NULL)                                               
    ad2c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    ad30:	03e0000d 	mvneq	r0, #13                                     <== NOT EXECUTED
    ad34:	08bd8070 	popeq	{r4, r5, r6, pc}                            <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
    ad38:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    ad3c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    ad40:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    ad44:	ebffe747 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    ad48:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
    ad4c:	13e00003 	mvnne	r0, #3                                      <== NOT EXECUTED
    ad50:	18bd8070 	popne	{r4, r5, r6, pc}                            <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
    ad54:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    ad58:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
    ad5c:	e5853000 	str	r3, [r5]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    ad60:	ebffe786 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
    ad64:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
    ad68:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    ad6c:	4004667f 	.word	0x4004667f                                  
                                                                      
0000aca8 <pipe_lseek>:                                                
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
    aca8:	e3e0001c 	mvn	r0, #28                                       <== NOT EXECUTED
    acac:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
0000ad70 <pipe_read>:                                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    ad70:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     <== NOT EXECUTED
    ad74:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    ad78:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    ad7c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    ad80:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    ad84:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
    ad88:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    ad8c:	e1a0a003 	mov	sl, r3                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    ad90:	ebffe734 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    ad94:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
    ad98:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
    ad9c:	01a0b00d 	moveq	fp, sp                                      <== NOT EXECUTED
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    ada0:	0a000045 	beq	aebc <pipe_read+0x14c>                        <== NOT EXECUTED
    ada4:	ea00004b 	b	aed8 <pipe_read+0x168>                          <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
    ada8:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
    adac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    adb0:	0a000043 	beq	aec4 <pipe_read+0x154>                        <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
    adb4:	e59a7014 	ldr	r7, [sl, #20]                                 <== NOT EXECUTED
    adb8:	e2177001 	ands	r7, r7, #1                                   <== NOT EXECUTED
    adbc:	13e0700a 	mvnne	r7, #10                                     <== NOT EXECUTED
    adc0:	1a000040 	bne	aec8 <pipe_read+0x158>                        <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
    adc4:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
    adc8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    adcc:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
    add0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    add4:	ebffe769 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
    add8:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    addc:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
    ade0:	eb0003d4 	bl	bd38 <rtems_barrier_wait>                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    ade4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    ade8:	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))                                      
    adec:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    adf0:	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))                                      
    adf4:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    adf8:	ebffe71a 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    adfc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    ae00:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
    ae04:	1a000031 	bne	aed0 <pipe_read+0x160>                        <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
    ae08:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
    ae0c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
    ae10:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    ae14:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
    ae18:	1a00002a 	bne	aec8 <pipe_read+0x158>                        <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
    ae1c:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
    ae20:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    ae24:	0affffdf 	beq	ada8 <pipe_read+0x38>                         <== NOT EXECUTED
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    ae28:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
    ae2c:	e5948004 	ldr	r8, [r4, #4]                                  <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    ae30:	e0667005 	rsb	r7, r6, r5                                    <== NOT EXECUTED
    ae34:	e1520007 	cmp	r2, r7                                        <== NOT EXECUTED
    ae38:	31a07002 	movcc	r7, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
    ae3c:	e0638008 	rsb	r8, r3, r8                                    <== NOT EXECUTED
    ae40:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
    if (chunk > chunk1) {                                             
    ae44:	e1570008 	cmp	r7, r8                                        <== NOT EXECUTED
    ae48:	e0890006 	add	r0, r9, r6                                    <== 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);       
    ae4c:	d0811003 	addle	r1, r1, r3                                  <== NOT EXECUTED
    ae50:	d1a02007 	movle	r2, r7                                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
    ae54:	da000006 	ble	ae74 <pipe_read+0x104>                        <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
    ae58:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    ae5c:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
    ae60:	eb0009b0 	bl	d528 <memcpy>                                  <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    ae64:	e0860008 	add	r0, r6, r8                                    <== NOT EXECUTED
    ae68:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
    ae6c:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
    ae70:	e0682007 	rsb	r2, r8, r7                                    <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
    ae74:	eb0009ab 	bl	d528 <memcpy>                                  <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
    ae78:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    ae7c:	e0870000 	add	r0, r7, r0                                    <== NOT EXECUTED
    ae80:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
    ae84:	e5941004 	ldr	r1, [r4, #4]                                  <== NOT EXECUTED
    ae88:	eb002d9f 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
    pipe->Length -= chunk;                                            
    ae8c:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    ae90:	e0673003 	rsb	r3, r7, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
    ae94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    ae98:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
    ae9c:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
    aea0:	05843008 	streq	r3, [r4, #8]                                <== NOT EXECUTED
                                                                      
    if (pipe->waitingWriters > 0)                                     
    aea4:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    aea8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    aeac:	15940030 	ldrne	r0, [r4, #48]	; 0x30                        <== NOT EXECUTED
    aeb0:	11a0100d 	movne	r1, sp                                      <== NOT EXECUTED
    aeb4:	1b000389 	blne	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
    read += chunk;                                                    
    aeb8:	e0866007 	add	r6, r6, r7                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    aebc:	e1560005 	cmp	r6, r5                                        <== NOT EXECUTED
    aec0:	3affffd5 	bcc	ae1c <pipe_read+0xac>                         <== NOT EXECUTED
    aec4:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
    aec8:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    aecc:	ebffe72b 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    aed0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    aed4:	d1a06007 	movle	r6, r7                                      <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
    aed8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    aedc:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
                                                                      
0000b0b8 <pipe_release>:                                              
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    b0b8:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
    b0bc:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    b0c0:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
    b0c4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
    b0c8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
    b0cc:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    b0d0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b0d4:	ebffe663 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    b0d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b0dc:	1a000010 	bne	b124 <pipe_release+0x6c>                      <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
    b0e0:	e5955014 	ldr	r5, [r5, #20]                                 <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
    b0e4:	e3150002 	tst	r5, #2                                        <== NOT EXECUTED
     pipe->Readers --;                                                
    b0e8:	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);                                          
    b0ec:	e2055006 	and	r5, r5, #6                                    <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
    b0f0:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
    b0f4:	15843010 	strne	r3, [r4, #16]                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
    b0f8:	e3150004 	tst	r5, #4                                        <== NOT EXECUTED
     pipe->Writers --;                                                
    b0fc:	15943014 	ldrne	r3, [r4, #20]                               <== NOT EXECUTED
    b100:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
    b104:	15843014 	strne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
    b108:	e59f30a0 	ldr	r3, [pc, #160]	; b1b0 <pipe_release+0xf8>     <== NOT EXECUTED
    b10c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    b110:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    b114:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    b118:	ebffe652 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
    b11c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    b120:	0a000000 	beq	b128 <pipe_release+0x70>                      <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
    b124:	ebffe7e3 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
    b128:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b12c:	ebffe693 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
    b130:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    b134:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b138:	1a000006 	bne	b158 <pipe_release+0xa0>                      <== NOT EXECUTED
    b13c:	e5947014 	ldr	r7, [r4, #20]                                 <== NOT EXECUTED
    b140:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    b144:	1a000003 	bne	b158 <pipe_release+0xa0>                      <== NOT EXECUTED
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    b148:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    b14c:	ebffffcc 	bl	b084 <pipe_free>                               <== NOT EXECUTED
    *pipep = NULL;                                                    
    b150:	e5867000 	str	r7, [r6]                                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
    b154:	ea000010 	b	b19c <pipe_release+0xe4>                        <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    b158:	e2552004 	subs	r2, r5, #4                                   <== NOT EXECUTED
    b15c:	13a02001 	movne	r2, #1                                      <== NOT EXECUTED
    b160:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b164:	13a02000 	movne	r2, #0                                      <== NOT EXECUTED
    b168:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
    b16c:	15940030 	ldrne	r0, [r4, #48]	; 0x30                        <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    b170:	1a000007 	bne	b194 <pipe_release+0xdc>                      <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    b174:	e5942014 	ldr	r2, [r4, #20]                                 <== NOT EXECUTED
    b178:	e2553002 	subs	r3, r5, #2                                   <== NOT EXECUTED
    b17c:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
    b180:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    b184:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
    b188:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    b18c:	0a000002 	beq	b19c <pipe_release+0xe4>                      <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
    b190:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
    b194:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
    b198:	eb0002d0 	bl	bce0 <rtems_barrier_release>                   <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
    b19c:	e59f300c 	ldr	r3, [pc, #12]	; b1b0 <pipe_release+0xf8>      <== NOT EXECUTED
    b1a0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    b1a4:	ebffe675 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
    b1a8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    b1ac:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      <== NOT EXECUTED
    b1b0:	00019ea8 	.word	0x00019ea8                                  
                                                                      
0000aee0 <pipe_write>:                                                
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    aee0:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    aee4:	e2525000 	subs	r5, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
    aee8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
    aeec:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
    aef0:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    aef4:	01a06005 	moveq	r6, r5                                      <== NOT EXECUTED
    aef8:	0a00005f 	beq	b07c <pipe_write+0x19c>                       <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    aefc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    af00:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
    af04:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    af08:	ebffe6d6 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    af0c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    af10:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
    af14:	1a000058 	bne	b07c <pipe_write+0x19c>                       <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    af18:	e5946010 	ldr	r6, [r4, #16]                                 <== NOT EXECUTED
    af1c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    af20:	0a000022 	beq	afb0 <pipe_write+0xd0>                        <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
    af24:	e5949004 	ldr	r9, [r4, #4]                                  <== NOT EXECUTED
    af28:	e1550009 	cmp	r5, r9                                        <== NOT EXECUTED
    af2c:	91a09005 	movls	r9, r5                                      <== NOT EXECUTED
    af30:	83a09001 	movhi	r9, #1                                      <== NOT EXECUTED
    af34:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    af38:	ea000043 	b	b04c <pipe_write+0x16c>                         <== NOT EXECUTED
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
    af3c:	e5987014 	ldr	r7, [r8, #20]                                 <== NOT EXECUTED
    af40:	e2177001 	ands	r7, r7, #1                                   <== NOT EXECUTED
    af44:	13e0700a 	mvnne	r7, #10                                     <== NOT EXECUTED
    af48:	1a000042 	bne	b058 <pipe_write+0x178>                       <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
    af4c:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
    af50:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    af54:	e584301c 	str	r3, [r4, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
    af58:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    af5c:	ebffe707 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
    af60:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    af64:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
    af68:	eb000372 	bl	bd38 <rtems_barrier_wait>                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    af6c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
    af70:	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))                                     
    af74:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    af78:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
    af7c:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
    af80:	ebffe6b8 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
    af84:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    af88:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
    af8c:	1a000038 	bne	b074 <pipe_write+0x194>                       <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
    af90:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
    af94:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
    af98:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    af9c:	e584301c 	str	r3, [r4, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
    afa0:	1a00002c 	bne	b058 <pipe_write+0x178>                       <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
    afa4:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
    afa8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    afac:	1a000001 	bne	afb8 <pipe_write+0xd8>                        <== NOT EXECUTED
    afb0:	e3e0701f 	mvn	r7, #31                                       <== NOT EXECUTED
    afb4:	ea000027 	b	b058 <pipe_write+0x178>                         <== 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) {                                
    afb8:	e594a004 	ldr	sl, [r4, #4]                                  <== NOT EXECUTED
    afbc:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
    afc0:	e062300a 	rsb	r3, r2, sl                                    <== NOT EXECUTED
    afc4:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
    afc8:	3affffdb 	bcc	af3c <pipe_write+0x5c>                        <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    afcc:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    afd0:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
    afd4:	e0820000 	add	r0, r2, r0                                    <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    afd8:	e0667005 	rsb	r7, r6, r5                                    <== NOT EXECUTED
    afdc:	e1530007 	cmp	r3, r7                                        <== NOT EXECUTED
    afe0:	31a07003 	movcc	r7, r3                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    afe4:	eb002d48 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
    afe8:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    afec:	e060a00a 	rsb	sl, r0, sl                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
    aff0:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
    aff4:	e08b1006 	add	r1, fp, r6                                    <== NOT EXECUTED
      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);
    aff8:	d0830000 	addle	r0, r3, r0                                  <== NOT EXECUTED
    affc:	d1a02007 	movle	r2, r7                                      <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    if (chunk > chunk1) {                                             
    b000:	da000006 	ble	b020 <pipe_write+0x140>                       <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
    b004:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
    b008:	e0830000 	add	r0, r3, r0                                    <== NOT EXECUTED
    b00c:	eb000945 	bl	d528 <memcpy>                                  <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    b010:	e08a1006 	add	r1, sl, r6                                    <== NOT EXECUTED
    b014:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
    b018:	e08b1001 	add	r1, fp, r1                                    <== NOT EXECUTED
    b01c:	e06a2007 	rsb	r2, sl, r7                                    <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
    b020:	eb000940 	bl	d528 <memcpy>                                  <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    b024:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
    b028:	e5942018 	ldr	r2, [r4, #24]                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    b02c:	e0833007 	add	r3, r3, r7                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
    b030:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    b034:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    b038:	1594002c 	ldrne	r0, [r4, #44]	; 0x2c                        <== NOT EXECUTED
    b03c:	11a0100d 	movne	r1, sp                                      <== NOT EXECUTED
    b040:	1b000326 	blne	bce0 <rtems_barrier_release>                 <== NOT EXECUTED
    written += chunk;                                                 
    b044:	e0866007 	add	r6, r6, r7                                    <== NOT EXECUTED
    b048:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    b04c:	e1560005 	cmp	r6, r5                                        <== NOT EXECUTED
    b050:	3affffd8 	bcc	afb8 <pipe_write+0xd8>                        <== NOT EXECUTED
    b054:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
    b058:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
    b05c:	ebffe6c7 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    b060:	e3770020 	cmn	r7, #32                                       <== NOT EXECUTED
    b064:	1a000002 	bne	b074 <pipe_write+0x194>                       <== NOT EXECUTED
    kill(getpid(), SIGPIPE);                                          
    b068:	eb0001fe 	bl	b868 <getpid>                                  <== NOT EXECUTED
    b06c:	e3a0100d 	mov	r1, #13                                       <== NOT EXECUTED
    b070:	eb000240 	bl	b978 <kill>                                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    b074:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    b078:	d1a06007 	movle	r6, r7                                      <== NOT EXECUTED
    return written;                                                   
  return ret;                                                         
}                                                                     
    b07c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    b080:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
                                                                      
00017e58 <read>:                                                      
)                                                                     
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   17e58:	e59f30b0 	ldr	r3, [pc, #176]	; 17f10 <read+0xb8>            
   17e5c:	e5933000 	ldr	r3, [r3]                                      
   17e60:	e1500003 	cmp	r0, r3                                        
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
   17e64:	e92d4070 	push	{r4, r5, r6, lr}                             
   17e68:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   17e6c:	2a000005 	bcs	17e88 <read+0x30>                             
  iop = rtems_libio_iop( fd );                                        
   17e70:	e59f309c 	ldr	r3, [pc, #156]	; 17f14 <read+0xbc>            
   17e74:	e5934000 	ldr	r4, [r3]                                      
   17e78:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
   17e7c:	e5943014 	ldr	r3, [r4, #20]                                 
   17e80:	e3130c01 	tst	r3, #256	; 0x100                              
   17e84:	1a000002 	bne	17e94 <read+0x3c>                             
   17e88:	ebffd398 	bl	ccf0 <__errno>                                 
   17e8c:	e3a03009 	mov	r3, #9                                        
   17e90:	ea00000f 	b	17ed4 <read+0x7c>                               
  rtems_libio_check_buffer( buffer );                                 
   17e94:	e3510000 	cmp	r1, #0                                        
   17e98:	0a000004 	beq	17eb0 <read+0x58>                             
  rtems_libio_check_count( count );                                   
   17e9c:	e3520000 	cmp	r2, #0                                        
   17ea0:	01a00002 	moveq	r0, r2                                      
   17ea4:	08bd8070 	popeq	{r4, r5, r6, pc}                            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   17ea8:	e3130002 	tst	r3, #2                                        
   17eac:	1a000002 	bne	17ebc <read+0x64>                             
   17eb0:	ebffd38e 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   17eb4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   17eb8:	ea000005 	b	17ed4 <read+0x7c>                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
   17ebc:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   17ec0:	e5933008 	ldr	r3, [r3, #8]                                  
   17ec4:	e3530000 	cmp	r3, #0                                        
   17ec8:	1a000004 	bne	17ee0 <read+0x88>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   17ecc:	ebffd387 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   17ed0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   17ed4:	e5803000 	str	r3, [r0]                                      
   17ed8:	e3e00000 	mvn	r0, #0                                        
   17edc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
   17ee0:	e1a00004 	mov	r0, r4                                        
   17ee4:	e1a0e00f 	mov	lr, pc                                        
   17ee8:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
   17eec:	e3500000 	cmp	r0, #0                                        
   17ef0:	d8bd8070 	pople	{r4, r5, r6, pc}                            
    iop->offset += rc;                                                
   17ef4:	e284600c 	add	r6, r4, #12                                   
   17ef8:	e8960060 	ldm	r6, {r5, r6}                                  
   17efc:	e0952000 	adds	r2, r5, r0                                   
   17f00:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
   17f04:	e584200c 	str	r2, [r4, #12]                                 
   17f08:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
   17f0c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   17f10:	00018720 	.word	0x00018720                                  
   17f14:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00023474 <readlink>:                                                  
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
   23474:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
   23478:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
   2347c:	e24dd018 	sub	sp, sp, #24                                   
   23480:	e1a05002 	mov	r5, r2                                        
   23484:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
   23488:	1a000002 	bne	23498 <readlink+0x24>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   2348c:	eb0057f7 	bl	39470 <__errno>                                <== NOT EXECUTED
   23490:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
   23494:	ea000028 	b	2353c <readlink+0xc8>                           <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
   23498:	eb00727f 	bl	3fe9c <strlen>                                 
   2349c:	e28d4004 	add	r4, sp, #4                                    
   234a0:	e3a0c000 	mov	ip, #0                                        
   234a4:	e1a01000 	mov	r1, r0                                        
   234a8:	e1a0200c 	mov	r2, ip                                        
   234ac:	e1a00007 	mov	r0, r7                                        
   234b0:	e1a03004 	mov	r3, r4                                        
   234b4:	e58dc000 	str	ip, [sp]                                      
   234b8:	ebff84aa 	bl	4768 <rtems_filesystem_evaluate_path>          
                                           0, &loc, false );          
  if ( result != 0 )                                                  
   234bc:	e3500000 	cmp	r0, #0                                        
   234c0:	1a00001e 	bne	23540 <readlink+0xcc>                         
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
   234c4:	e59d2010 	ldr	r2, [sp, #16]                                 
   234c8:	e5923010 	ldr	r3, [r2, #16]                                 
   234cc:	e3530000 	cmp	r3, #0                                        
   234d0:	0a000012 	beq	23520 <readlink+0xac>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
   234d4:	e1a00004 	mov	r0, r4                                        
   234d8:	e1a0e00f 	mov	lr, pc                                        
   234dc:	e12fff13 	bx	r3                                             
   234e0:	e3500004 	cmp	r0, #4                                        
   234e4:	e59d2010 	ldr	r2, [sp, #16]                                 
   234e8:	0a000009 	beq	23514 <readlink+0xa0>                         
    rtems_filesystem_freenode( &loc );                                
   234ec:	e3520000 	cmp	r2, #0                                        
   234f0:	0a000004 	beq	23508 <readlink+0x94>                         
   234f4:	e592301c 	ldr	r3, [r2, #28]                                 
   234f8:	e3530000 	cmp	r3, #0                                        
   234fc:	11a00004 	movne	r0, r4                                      
   23500:	11a0e00f 	movne	lr, pc                                      
   23504:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   23508:	eb0057d8 	bl	39470 <__errno>                                
   2350c:	e3a03016 	mov	r3, #22                                       
   23510:	ea000009 	b	2353c <readlink+0xc8>                           
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
   23514:	e592303c 	ldr	r3, [r2, #60]	; 0x3c                          
   23518:	e3530000 	cmp	r3, #0                                        
   2351c:	1a000009 	bne	23548 <readlink+0xd4>                         
    rtems_filesystem_freenode( &loc );                                
   23520:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
   23524:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23528:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   2352c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23530:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   23534:	eb0057cd 	bl	39470 <__errno>                                <== NOT EXECUTED
   23538:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   2353c:	e5803000 	str	r3, [r0]                                      
   23540:	e3e05000 	mvn	r5, #0                                        
   23544:	ea00000d 	b	23580 <readlink+0x10c>                          
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
   23548:	e1a02005 	mov	r2, r5                                        
   2354c:	e1a01006 	mov	r1, r6                                        
   23550:	e1a00004 	mov	r0, r4                                        
   23554:	e1a0e00f 	mov	lr, pc                                        
   23558:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   2355c:	e59d3010 	ldr	r3, [sp, #16]                                 
   23560:	e3530000 	cmp	r3, #0                                        
  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 );             
   23564:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23568:	0a000004 	beq	23580 <readlink+0x10c>                        
   2356c:	e593301c 	ldr	r3, [r3, #28]                                 
   23570:	e3530000 	cmp	r3, #0                                        
   23574:	11a00004 	movne	r0, r4                                      
   23578:	11a0e00f 	movne	lr, pc                                      
   2357c:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
   23580:	e1a00005 	mov	r0, r5                                        
   23584:	e28dd018 	add	sp, sp, #24                                   
   23588:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
00003918 <readv>:                                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
    3918:	e59f3144 	ldr	r3, [pc, #324]	; 3a64 <readv+0x14c>           
    391c:	e5933000 	ldr	r3, [r3]                                      
    3920:	e1500003 	cmp	r0, r3                                        
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
    3924:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
    3928:	e1a08002 	mov	r8, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
    392c:	2a000005 	bcs	3948 <readv+0x30>                             
  iop = rtems_libio_iop( fd );                                        
    3930:	e59f3130 	ldr	r3, [pc, #304]	; 3a68 <readv+0x150>           
    3934:	e5936000 	ldr	r6, [r3]                                      
    3938:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
    393c:	e5963014 	ldr	r3, [r6, #20]                                 
    3940:	e3130c01 	tst	r3, #256	; 0x100                              
    3944:	1a000002 	bne	3954 <readv+0x3c>                             
    3948:	eb002e16 	bl	f1a8 <__errno>                                 <== NOT EXECUTED
    394c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
    3950:	ea00001d 	b	39cc <readv+0xb4>                               <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
    3954:	e3130002 	tst	r3, #2                                        
    3958:	0a000019 	beq	39c4 <readv+0xac>                             
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
    395c:	e3510000 	cmp	r1, #0                                        
    3960:	0a000017 	beq	39c4 <readv+0xac>                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    3964:	e3520000 	cmp	r2, #0                                        
    3968:	da000015 	ble	39c4 <readv+0xac>                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    396c:	e3520b01 	cmp	r2, #1024	; 0x400                             
    3970:	ca000013 	bgt	39c4 <readv+0xac>                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
    3974:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
    3978:	e5933008 	ldr	r3, [r3, #8]                                  
    397c:	e3530000 	cmp	r3, #0                                        
    3980:	1a000002 	bne	3990 <readv+0x78>                             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    3984:	eb002e07 	bl	f1a8 <__errno>                                 <== NOT EXECUTED
    3988:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    398c:	ea00000e 	b	39cc <readv+0xb4>                               <== NOT EXECUTED
    3990:	e3a03000 	mov	r3, #0                                        
    3994:	e1a05001 	mov	r5, r1                                        
    3998:	e1a02001 	mov	r2, r1                                        
    399c:	e3a07001 	mov	r7, #1                                        
    39a0:	e1a01003 	mov	r1, r3                                        
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
    39a4:	e5920000 	ldr	r0, [r2]                                      
    39a8:	e3500000 	cmp	r0, #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++ ) {                           
    39ac:	e2833001 	add	r3, r3, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
    39b0:	0a000003 	beq	39c4 <readv+0xac>                             
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    39b4:	e592c004 	ldr	ip, [r2, #4]                                  
    39b8:	e081000c 	add	r0, r1, ip                                    
    if ( total < old )                                                
    39bc:	e1500001 	cmp	r0, r1                                        
    39c0:	aa000003 	bge	39d4 <readv+0xbc>                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    39c4:	eb002df7 	bl	f1a8 <__errno>                                 
    39c8:	e3a03016 	mov	r3, #22                                       
    39cc:	e5803000 	str	r3, [r0]                                      
    39d0:	ea000011 	b	3a1c <readv+0x104>                              
                                                                      
    if ( iov[v].iov_len )                                             
    39d4:	e35c0000 	cmp	ip, #0                                        
    39d8:	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++ ) {                           
    39dc:	e1530008 	cmp	r3, r8                                        
    39e0:	e2822008 	add	r2, r2, #8                                    
    39e4:	b1a01000 	movlt	r1, r0                                      
    39e8:	baffffed 	blt	39a4 <readv+0x8c>                             
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
    39ec:	e3570000 	cmp	r7, #0                                        
    39f0:	13a04000 	movne	r4, #0                                      
    39f4:	1a000018 	bne	3a5c <readv+0x144>                            
    39f8:	e1a04007 	mov	r4, r7                                        
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
    39fc:	e8950006 	ldm	r5, {r1, r2}                                  
    3a00:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
    3a04:	e1a00006 	mov	r0, r6                                        
    3a08:	e1a0e00f 	mov	lr, pc                                        
    3a0c:	e593f008 	ldr	pc, [r3, #8]                                  
                                                                      
    if ( bytes < 0 )                                                  
    3a10:	e3500000 	cmp	r0, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    3a14:	e2877001 	add	r7, r7, #1                                    
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
    3a18:	aa000001 	bge	3a24 <readv+0x10c>                            
    3a1c:	e3e04000 	mvn	r4, #0                                        
    3a20:	ea00000d 	b	3a5c <readv+0x144>                              
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
    3a24:	0a000006 	beq	3a44 <readv+0x12c>                            
      iop->offset += bytes;                                           
    3a28:	e286c00c 	add	ip, r6, #12                                   
    3a2c:	e89c1800 	ldm	ip, {fp, ip}                                  
    3a30:	e09b2000 	adds	r2, fp, r0                                   
    3a34:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
    3a38:	e586200c 	str	r2, [r6, #12]                                 
    3a3c:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
    3a40:	e0844000 	add	r4, r4, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
    3a44:	e5953004 	ldr	r3, [r5, #4]                                  
    3a48:	e1500003 	cmp	r0, r3                                        
    3a4c:	1a000002 	bne	3a5c <readv+0x144>                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    3a50:	e1570008 	cmp	r7, r8                                        
    3a54:	e2855008 	add	r5, r5, #8                                    
    3a58:	baffffe7 	blt	39fc <readv+0xe4>                             
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
    3a5c:	e1a00004 	mov	r0, r4                                        
    3a60:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
    3a64:	0001c430 	.word	0x0001c430                                  
    3a68:	0001f1e0 	.word	0x0001f1e0                                  
                                                                      
00017f70 <realloc>:                                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   17f70:	e59f310c 	ldr	r3, [pc, #268]	; 18084 <realloc+0x114>        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   17f74:	e59f210c 	ldr	r2, [pc, #268]	; 18088 <realloc+0x118>        
   17f78:	e592c000 	ldr	ip, [r2]                                      
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   17f7c:	e5932010 	ldr	r2, [r3, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   17f80:	e35c0003 	cmp	ip, #3                                        
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   17f84:	e2822001 	add	r2, r2, #1                                    
   17f88:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
   17f8c:	e5832010 	str	r2, [r3, #16]                                 
   17f90:	e1a04000 	mov	r4, r0                                        
   17f94:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   17f98:	1a000007 	bne	17fbc <realloc+0x4c>                          
    if (_Thread_Dispatch_disable_level > 0)                           
   17f9c:	e59f30e8 	ldr	r3, [pc, #232]	; 1808c <realloc+0x11c>        
   17fa0:	e5933000 	ldr	r3, [r3]                                      
   17fa4:	e3530000 	cmp	r3, #0                                        
   17fa8:	1a000032 	bne	18078 <realloc+0x108>                         
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
   17fac:	e59f30dc 	ldr	r3, [pc, #220]	; 18090 <realloc+0x120>        
   17fb0:	e5933000 	ldr	r3, [r3]                                      
   17fb4:	e3530000 	cmp	r3, #0                                        
   17fb8:	1a00002e 	bne	18078 <realloc+0x108>                         
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
   17fbc:	e3540000 	cmp	r4, #0                                        
   17fc0:	1a000003 	bne	17fd4 <realloc+0x64>                          
    return malloc( size );                                            
   17fc4:	e1a00005 	mov	r0, r5                                        
   17fc8:	ebffa710 	bl	1c10 <malloc>                                  
   17fcc:	e1a04000 	mov	r4, r0                                        
   17fd0:	ea000029 	b	1807c <realloc+0x10c>                           
                                                                      
  if ( !size ) {                                                      
   17fd4:	e3550000 	cmp	r5, #0                                        
   17fd8:	1a000003 	bne	17fec <realloc+0x7c>                          
    free( ptr );                                                      
   17fdc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   17fe0:	ebffa658 	bl	1948 <free>                                    <== NOT EXECUTED
   17fe4:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
    return (void *) 0;                                                
   17fe8:	ea000023 	b	1807c <realloc+0x10c>                           <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
   17fec:	e59f60a0 	ldr	r6, [pc, #160]	; 18094 <realloc+0x124>        
   17ff0:	e1a01004 	mov	r1, r4                                        
   17ff4:	e5960000 	ldr	r0, [r6]                                      
   17ff8:	e1a0200d 	mov	r2, sp                                        
   17ffc:	eb000055 	bl	18158 <_Protected_heap_Get_block_size>         
   18000:	e2507000 	subs	r7, r0, #0                                   
   18004:	1a000004 	bne	1801c <realloc+0xac>                          
    errno = EINVAL;                                                   
   18008:	ebffd338 	bl	ccf0 <__errno>                                 
   1800c:	e3a03016 	mov	r3, #22                                       
   18010:	e5803000 	str	r3, [r0]                                      
   18014:	e1a04007 	mov	r4, r7                                        
    return (void *) 0;                                                
   18018:	ea000017 	b	1807c <realloc+0x10c>                           
  #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 ) ) {
   1801c:	e5960000 	ldr	r0, [r6]                                      
   18020:	e1a01004 	mov	r1, r4                                        
   18024:	e1a02005 	mov	r2, r5                                        
   18028:	eb00005b 	bl	1819c <_Protected_heap_Resize_block>           
   1802c:	e3500000 	cmp	r0, #0                                        
   18030:	1a000011 	bne	1807c <realloc+0x10c>                         
   *  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 );                                          
   18034:	e1a00005 	mov	r0, r5                                        
   18038:	ebffa6f4 	bl	1c10 <malloc>                                  
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   1803c:	e59f3040 	ldr	r3, [pc, #64]	; 18084 <realloc+0x114>         
   18040:	e5932004 	ldr	r2, [r3, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
   18044:	e2506000 	subs	r6, r0, #0                                   
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   18048:	e2422001 	sub	r2, r2, #1                                    
   1804c:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
   18050:	0a000008 	beq	18078 <realloc+0x108>                         
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
   18054:	e59d2000 	ldr	r2, [sp]                                      
   18058:	e1a01004 	mov	r1, r4                                        
   1805c:	e1550002 	cmp	r5, r2                                        
   18060:	31a02005 	movcc	r2, r5                                      
   18064:	ebffd52f 	bl	d528 <memcpy>                                  
  free( ptr );                                                        
   18068:	e1a00004 	mov	r0, r4                                        
   1806c:	ebffa635 	bl	1948 <free>                                    
   18070:	e1a04006 	mov	r4, r6                                        
                                                                      
  return new_area;                                                    
   18074:	ea000000 	b	1807c <realloc+0x10c>                           
   18078:	e3a04000 	mov	r4, #0                                        
                                                                      
}                                                                     
   1807c:	e1a00004 	mov	r0, r4                                        
   18080:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      
   18084:	0001a0a4 	.word	0x0001a0a4                                  
   18088:	0001a3b0 	.word	0x0001a3b0                                  
   1808c:	0001a20c 	.word	0x0001a20c                                  
   18090:	0001a29c 	.word	0x0001a29c                                  
   18094:	0001872c 	.word	0x0001872c                                  
                                                                      
0002358c <rmdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
   2358c:	e92d4070 	push	{r4, r5, r6, lr}                             
   23590:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
   23594:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   23598:	ebff842a 	bl	4648 <rtems_filesystem_dirname>                
                                                                      
  if ( parentpathlen == 0 )                                           
   2359c:	e2505000 	subs	r5, r0, #0                                   
   235a0:	1a000019 	bne	2360c <rmdir+0x80>                            
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   235a4:	e5d63000 	ldrb	r3, [r6]                                     
   235a8:	e353002f 	cmp	r3, #47	; 0x2f                                
   235ac:	1353005c 	cmpne	r3, #92	; 0x5c                              
   235b0:	0a000001 	beq	235bc <rmdir+0x30>                            
   235b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   235b8:	1a000009 	bne	235e4 <rmdir+0x58>                            <== NOT EXECUTED
   235bc:	e59f325c 	ldr	r3, [pc, #604]	; 23820 <rmdir+0x294>          
   235c0:	e593e000 	ldr	lr, [r3]                                      
   235c4:	e28ee018 	add	lr, lr, #24                                   
   235c8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   235cc:	e28dc018 	add	ip, sp, #24                                   
   235d0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   235d4:	e59e3000 	ldr	r3, [lr]                                      
   235d8:	e3a04000 	mov	r4, #0                                        
   235dc:	e58c3000 	str	r3, [ip]                                      
   235e0:	ea000013 	b	23634 <rmdir+0xa8>                              
   235e4:	e59f3234 	ldr	r3, [pc, #564]	; 23820 <rmdir+0x294>          <== NOT EXECUTED
   235e8:	e593e000 	ldr	lr, [r3]                                      <== NOT EXECUTED
   235ec:	e28ee004 	add	lr, lr, #4                                    <== NOT EXECUTED
   235f0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
   235f4:	e28dc018 	add	ip, sp, #24                                   <== NOT EXECUTED
   235f8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
   235fc:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
   23600:	e1a04005 	mov	r4, r5                                        <== NOT EXECUTED
   23604:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
   23608:	ea000009 	b	23634 <rmdir+0xa8>                              <== NOT EXECUTED
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
   2360c:	e3a0c000 	mov	ip, #0                                        
   23610:	e1a00006 	mov	r0, r6                                        
   23614:	e1a01005 	mov	r1, r5                                        
   23618:	e3a02002 	mov	r2, #2                                        
   2361c:	e28d3018 	add	r3, sp, #24                                   
   23620:	e58dc000 	str	ip, [sp]                                      
   23624:	ebff844f 	bl	4768 <rtems_filesystem_evaluate_path>          
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
   23628:	e3500000 	cmp	r0, #0                                        
   2362c:	1a000077 	bne	23810 <rmdir+0x284>                           
   23630:	e3a04001 	mov	r4, #1                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   23634:	e28de018 	add	lr, sp, #24                                   
   23638:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   2363c:	e28dc004 	add	ip, sp, #4                                    
   23640:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   23644:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
   23648:	e0865005 	add	r5, r6, r5                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   2364c:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   23650:	e1a00005 	mov	r0, r5                                        
   23654:	eb007210 	bl	3fe9c <strlen>                                 
   23658:	e1a01000 	mov	r1, r0                                        
   2365c:	e1a00005 	mov	r0, r5                                        
   23660:	ebff83ec 	bl	4618 <rtems_filesystem_prefix_separators>      
   23664:	e0856000 	add	r6, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   23668:	e1a00006 	mov	r0, r6                                        
   2366c:	eb00720a 	bl	3fe9c <strlen>                                 
   23670:	e28d5004 	add	r5, sp, #4                                    
   23674:	e3a0c000 	mov	ip, #0                                        
   23678:	e1a01000 	mov	r1, r0                                        
   2367c:	e1a0200c 	mov	r2, ip                                        
   23680:	e1a00006 	mov	r0, r6                                        
   23684:	e1a03005 	mov	r3, r5                                        
   23688:	e58dc000 	str	ip, [sp]                                      
   2368c:	ebff83fd 	bl	4688 <rtems_filesystem_evaluate_relative_path> 
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   23690:	e3500000 	cmp	r0, #0                                        
   23694:	0a00000b 	beq	236c8 <rmdir+0x13c>                           
    if ( free_parentloc )                                             
   23698:	e3540000 	cmp	r4, #0                                        
   2369c:	0a00005b 	beq	23810 <rmdir+0x284>                           
      rtems_filesystem_freenode( &parentloc );                        
   236a0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   236a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   236a8:	0a000058 	beq	23810 <rmdir+0x284>                           <== NOT EXECUTED
   236ac:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   236b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   236b4:	0a000055 	beq	23810 <rmdir+0x284>                           <== NOT EXECUTED
   236b8:	e28d0018 	add	r0, sp, #24                                   <== NOT EXECUTED
   236bc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   236c0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
   236c4:	ea000051 	b	23810 <rmdir+0x284>                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
   236c8:	e59d2010 	ldr	r2, [sp, #16]                                 
   236cc:	e5923010 	ldr	r3, [r2, #16]                                 
   236d0:	e3530000 	cmp	r3, #0                                        
    rtems_filesystem_freenode( &loc );                                
   236d4:	0592301c 	ldreq	r3, [r2, #28]                               
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
   236d8:	0a000021 	beq	23764 <rmdir+0x1d8>                           
    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 ){
   236dc:	e1a00005 	mov	r0, r5                                        
   236e0:	e1a0e00f 	mov	lr, pc                                        
   236e4:	e12fff13 	bx	r3                                             
   236e8:	e3500001 	cmp	r0, #1                                        
   236ec:	0a000014 	beq	23744 <rmdir+0x1b8>                           
    rtems_filesystem_freenode( &loc );                                
   236f0:	e59d3010 	ldr	r3, [sp, #16]                                 
   236f4:	e3530000 	cmp	r3, #0                                        
   236f8:	0a000004 	beq	23710 <rmdir+0x184>                           
   236fc:	e593301c 	ldr	r3, [r3, #28]                                 
   23700:	e3530000 	cmp	r3, #0                                        
   23704:	11a00005 	movne	r0, r5                                      
   23708:	11a0e00f 	movne	lr, pc                                      
   2370c:	112fff13 	bxne	r3                                           
    if ( free_parentloc )                                             
   23710:	e3540000 	cmp	r4, #0                                        
   23714:	0a000007 	beq	23738 <rmdir+0x1ac>                           
      rtems_filesystem_freenode( &parentloc );                        
   23718:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
   2371c:	e3530000 	cmp	r3, #0                                        
   23720:	0a000004 	beq	23738 <rmdir+0x1ac>                           
   23724:	e593301c 	ldr	r3, [r3, #28]                                 
   23728:	e3530000 	cmp	r3, #0                                        
   2372c:	128d0018 	addne	r0, sp, #24                                 
   23730:	11a0e00f 	movne	lr, pc                                      
   23734:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   23738:	eb00574c 	bl	39470 <__errno>                                
   2373c:	e3a03014 	mov	r3, #20                                       
   23740:	ea000017 	b	237a4 <rmdir+0x218>                             
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
   23744:	e59d300c 	ldr	r3, [sp, #12]                                 
   23748:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
   2374c:	e3530000 	cmp	r3, #0                                        
   23750:	1a000015 	bne	237ac <rmdir+0x220>                           
    rtems_filesystem_freenode( &loc );                                
   23754:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   23758:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   2375c:	0a000004 	beq	23774 <rmdir+0x1e8>                           <== NOT EXECUTED
   23760:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   23764:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23768:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
   2376c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23770:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_parentloc )                                             
   23774:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
   23778:	0a000007 	beq	2379c <rmdir+0x210>                           <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
   2377c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
   23780:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23784:	0a000004 	beq	2379c <rmdir+0x210>                           <== NOT EXECUTED
   23788:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   2378c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23790:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
   23794:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23798:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   2379c:	eb005733 	bl	39470 <__errno>                                <== NOT EXECUTED
   237a0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   237a4:	e5803000 	str	r3, [r0]                                      
   237a8:	ea000018 	b	23810 <rmdir+0x284>                             
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   237ac:	e28d0018 	add	r0, sp, #24                                   
   237b0:	e1a01005 	mov	r1, r5                                        
   237b4:	e1a0e00f 	mov	lr, pc                                        
   237b8:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   237bc:	e59d3010 	ldr	r3, [sp, #16]                                 
   237c0:	e3530000 	cmp	r3, #0                                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   237c4:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   237c8:	0a000004 	beq	237e0 <rmdir+0x254>                           
   237cc:	e593301c 	ldr	r3, [r3, #28]                                 
   237d0:	e3530000 	cmp	r3, #0                                        
   237d4:	11a00005 	movne	r0, r5                                      
   237d8:	11a0e00f 	movne	lr, pc                                      
   237dc:	112fff13 	bxne	r3                                           
  if ( free_parentloc )                                               
   237e0:	e3540000 	cmp	r4, #0                                        
   237e4:	0a00000a 	beq	23814 <rmdir+0x288>                           
    rtems_filesystem_freenode( &parentloc );                          
   237e8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
   237ec:	e3530000 	cmp	r3, #0                                        
   237f0:	0a000007 	beq	23814 <rmdir+0x288>                           
   237f4:	e593301c 	ldr	r3, [r3, #28]                                 
   237f8:	e3530000 	cmp	r3, #0                                        
   237fc:	0a000004 	beq	23814 <rmdir+0x288>                           
   23800:	e28d0018 	add	r0, sp, #24                                   
   23804:	e1a0e00f 	mov	lr, pc                                        
   23808:	e12fff13 	bx	r3                                             
   2380c:	ea000000 	b	23814 <rmdir+0x288>                             
   23810:	e3e06000 	mvn	r6, #0                                        
                                                                      
  return result;                                                      
}                                                                     
   23814:	e1a00006 	mov	r0, r6                                        
   23818:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
   2381c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   23820:	00053858 	.word	0x00053858                                  
                                                                      
00012644 <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;                                                
}                                                                     
   12644:	e59f0000 	ldr	r0, [pc, #0]	; 1264c <rtems_assoc_name_bad+0x8><== NOT EXECUTED
   12648:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   1264c:	0002220c 	.word	0x0002220c                                  
                                                                      
0000f134 <rtems_assoc_name_by_local>:                                 
                                                                      
const char *rtems_assoc_name_by_local(                                
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
    f134:	e92d4010 	push	{r4, lr}                                     
    f138:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
    f13c:	eb000006 	bl	f15c <rtems_assoc_ptr_by_local>                
  if (nap)                                                            
    f140:	e3500000 	cmp	r0, #0                                        
    f144:	0a000001 	beq	f150 <rtems_assoc_name_by_local+0x1c>         
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
    f148:	e5900000 	ldr	r0, [r0]                                      
    f14c:	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);                           
    f150:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
    f154:	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);                           
    f158:	ea000d39 	b	12644 <rtems_assoc_name_bad>                    <== NOT EXECUTED
                                                                      
0000c478 <rtems_assoc_remote_by_local>:                               
                                                                      
uint32_t rtems_assoc_remote_by_local(                                 
  const rtems_assoc_t *ap,                                            
  uint32_t       local_value                                          
)                                                                     
{                                                                     
    c478:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
    c47c:	eb0001fe 	bl	cc7c <rtems_assoc_ptr_by_local>                <== NOT EXECUTED
  if (nap)                                                            
    c480:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
    c484:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
    c488:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
00001820 <rtems_bsp_cmdline_get_param>:                               
  size_t      length                                                  
)                                                                     
{                                                                     
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    1820:	e3500000 	cmp	r0, #0                                        
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
    1824:	e92d4070 	push	{r4, r5, r6, lr}                             
    1828:	e1a04001 	mov	r4, r1                                        
    182c:	e1a05002 	mov	r5, r2                                        
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    1830:	0a00001c 	beq	18a8 <rtems_bsp_cmdline_get_param+0x88>       
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
    1834:	e3510000 	cmp	r1, #0                                        
    1838:	0a00001b 	beq	18ac <rtems_bsp_cmdline_get_param+0x8c>       
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
    183c:	e3520000 	cmp	r2, #0                                        
    1840:	0a000018 	beq	18a8 <rtems_bsp_cmdline_get_param+0x88>       
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
    1844:	e3a06000 	mov	r6, #0                                        
    1848:	e5c16000 	strb	r6, [r1]                                     
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
    184c:	eb000018 	bl	18b4 <rtems_bsp_cmdline_get_param_raw>         
                                                                      
  if ( !p )                                                           
    1850:	e3500000 	cmp	r0, #0                                        
    1854:	0a000013 	beq	18a8 <rtems_bsp_cmdline_get_param+0x88>       
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    1858:	e2455001 	sub	r5, r5, #1                                    
                                                                      
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    185c:	e1a03006 	mov	r3, r6                                        
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
    1860:	e1a01006 	mov	r1, r6                                        
    1864:	ea000009 	b	1890 <rtems_bsp_cmdline_get_param+0x70>         
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
    1868:	e3520022 	cmp	r2, #34	; 0x22                                
      quotes++;                                                       
    186c:	02866001 	addeq	r6, r6, #1                                  
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
    1870:	0a000003 	beq	1884 <rtems_bsp_cmdline_get_param+0x64>       
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
    1874:	e3160001 	tst	r6, #1                                        
    1878:	1a000001 	bne	1884 <rtems_bsp_cmdline_get_param+0x64>       
    187c:	e3520020 	cmp	r2, #32                                       
    1880:	0a000009 	beq	18ac <rtems_bsp_cmdline_get_param+0x8c>       
      break;                                                          
    value[i++] = *p++;                                                
    1884:	e7c42003 	strb	r2, [r4, r3]                                 
    1888:	e2833001 	add	r3, r3, #1                                    
    value[i] = '\0';                                                  
    188c:	e7c41003 	strb	r1, [r4, r3]                                 
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    1890:	e7d02003 	ldrb	r2, [r0, r3]                                 
    1894:	e3520000 	cmp	r2, #0                                        
    1898:	0a000003 	beq	18ac <rtems_bsp_cmdline_get_param+0x8c>       
    189c:	e1530005 	cmp	r3, r5                                        
    18a0:	3afffff0 	bcc	1868 <rtems_bsp_cmdline_get_param+0x48>       
    18a4:	ea000000 	b	18ac <rtems_bsp_cmdline_get_param+0x8c>         <== NOT EXECUTED
    18a8:	e3a04000 	mov	r4, #0                                        
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
    18ac:	e1a00004 	mov	r0, r4                                        
    18b0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
00002414 <rtems_cpu_usage_report_with_plugin>:                        
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    2414:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
    2418:	e251a000 	subs	sl, r1, #0                                   
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    241c:	e24dd040 	sub	sp, sp, #64	; 0x40                            
    2420:	e1a08000 	mov	r8, r0                                        
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
    2424:	0a000059 	beq	2590 <rtems_cpu_usage_report_with_plugin+0x17c>
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
    2428:	e28d4030 	add	r4, sp, #48	; 0x30                            
    242c:	e1a00004 	mov	r0, r4                                        
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
    2430:	e28d5028 	add	r5, sp, #40	; 0x28                            
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
    2434:	eb001339 	bl	7120 <_TOD_Get_uptime>                         
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
    2438:	e1a01004 	mov	r1, r4                                        
    243c:	e1a02005 	mov	r2, r5                                        
    2440:	e59f0150 	ldr	r0, [pc, #336]	; 2598 <rtems_cpu_usage_report_with_plugin+0x184>
    2444:	eb001c4b 	bl	9578 <_Timespec_Subtract>                      
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
    2448:	e1a00008 	mov	r0, r8                                        
    244c:	e59f1148 	ldr	r1, [pc, #328]	; 259c <rtems_cpu_usage_report_with_plugin+0x188>
    2450:	e1a0e00f 	mov	lr, pc                                        
    2454:	e12fff1a 	bx	sl                                             
    2458:	e59f4140 	ldr	r4, [pc, #320]	; 25a0 <rtems_cpu_usage_report_with_plugin+0x18c>
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
    245c:	e59fb140 	ldr	fp, [pc, #320]	; 25a4 <rtems_cpu_usage_report_with_plugin+0x190>
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
    2460:	e5943004 	ldr	r3, [r4, #4]                                  
    2464:	e3530000 	cmp	r3, #0                                        
    2468:	0a00003b 	beq	255c <rtems_cpu_usage_report_with_plugin+0x148>
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    246c:	e5936004 	ldr	r6, [r3, #4]                                  
    if ( information ) {                                              
    2470:	e3560000 	cmp	r6, #0                                        
    2474:	13a07001 	movne	r7, #1                                      
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract(                                      
    2478:	128d9018 	addne	r9, sp, #24                                 
    247c:	11a05004 	movne	r5, r4                                      
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
    2480:	1a00002f 	bne	2544 <rtems_cpu_usage_report_with_plugin+0x130>
    2484:	ea000034 	b	255c <rtems_cpu_usage_report_with_plugin+0x148> <== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
    2488:	e596301c 	ldr	r3, [r6, #28]                                 
    248c:	e7934107 	ldr	r4, [r3, r7, lsl #2]                          
                                                                      
        if ( !the_thread )                                            
    2490:	e3540000 	cmp	r4, #0                                        
    2494:	0a000029 	beq	2540 <rtems_cpu_usage_report_with_plugin+0x12c>
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
    2498:	e5940008 	ldr	r0, [r4, #8]                                  
    249c:	eb000e90 	bl	5ee4 <rtems_object_get_name>                   
                                                                      
        (*print)(                                                     
    24a0:	e28d3008 	add	r3, sp, #8                                    
    24a4:	e5942008 	ldr	r2, [r4, #8]                                  
    24a8:	e1a00008 	mov	r0, r8                                        
    24ac:	e59f10f4 	ldr	r1, [pc, #244]	; 25a8 <rtems_cpu_usage_report_with_plugin+0x194>
    24b0:	e1a0e00f 	mov	lr, pc                                        
    24b4:	e12fff1a 	bx	sl                                             
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
    24b8:	e2843084 	add	r3, r4, #132	; 0x84                           
    24bc:	e893000c 	ldm	r3, {r2, r3}                                  
    24c0:	e58d2020 	str	r2, [sp, #32]                                 
    24c4:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
    24c8:	e59b2000 	ldr	r2, [fp]                                      
    24cc:	e5943008 	ldr	r3, [r4, #8]                                  
    24d0:	e5922008 	ldr	r2, [r2, #8]                                  
    24d4:	e1520003 	cmp	r2, r3                                        
    24d8:	1a000006 	bne	24f8 <rtems_cpu_usage_report_with_plugin+0xe4>
            Timestamp_Control used;                                   
            _Timestamp_Subtract(                                      
    24dc:	e59f00c8 	ldr	r0, [pc, #200]	; 25ac <rtems_cpu_usage_report_with_plugin+0x198>
    24e0:	e28d1030 	add	r1, sp, #48	; 0x30                            
    24e4:	e1a02009 	mov	r2, r9                                        
    24e8:	eb001c22 	bl	9578 <_Timespec_Subtract>                      
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
    24ec:	e28d0020 	add	r0, sp, #32                                   
    24f0:	e1a01009 	mov	r1, r9                                        
    24f4:	eb001be5 	bl	9490 <_Timespec_Add_to>                        
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
    24f8:	e28d203c 	add	r2, sp, #60	; 0x3c                            
    24fc:	e28d3038 	add	r3, sp, #56	; 0x38                            
    2500:	e28d0020 	add	r0, sp, #32                                   
    2504:	e28d1028 	add	r1, sp, #40	; 0x28                            
    2508:	eb001bf4 	bl	94e0 <_Timespec_Divide>                        
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
    250c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
    2510:	e59d0024 	ldr	r0, [sp, #36]	; 0x24                          
    2514:	eb0063dd 	bl	1b490 <__aeabi_uidiv>                          
    2518:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    251c:	e58d2000 	str	r2, [sp]                                      
    2520:	e59d2038 	ldr	r2, [sp, #56]	; 0x38                          
    2524:	e1a03000 	mov	r3, r0                                        
    2528:	e58d2004 	str	r2, [sp, #4]                                  
    252c:	e1a00008 	mov	r0, r8                                        
    2530:	e59f1078 	ldr	r1, [pc, #120]	; 25b0 <rtems_cpu_usage_report_with_plugin+0x19c>
    2534:	e59d2020 	ldr	r2, [sp, #32]                                 
    2538:	e1a0e00f 	mov	lr, pc                                        
    253c:	e12fff1a 	bx	sl                                             
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    2540:	e2877001 	add	r7, r7, #1                                    
    2544:	e1d631b0 	ldrh	r3, [r6, #16]                                
    2548:	e1570003 	cmp	r7, r3                                        
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
    254c:	e3a0100d 	mov	r1, #13                                       
    2550:	e28d2008 	add	r2, sp, #8                                    
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    2554:	9affffcb 	bls	2488 <rtems_cpu_usage_report_with_plugin+0x74>
    2558:	e1a04005 	mov	r4, r5                                        
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
    255c:	e59f3050 	ldr	r3, [pc, #80]	; 25b4 <rtems_cpu_usage_report_with_plugin+0x1a0>
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
    2560:	e2844004 	add	r4, r4, #4                                    
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
    2564:	e1540003 	cmp	r4, r3                                        
    2568:	1affffbc 	bne	2460 <rtems_cpu_usage_report_with_plugin+0x4c>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
    256c:	e3a01ffa 	mov	r1, #1000	; 0x3e8                             
    2570:	e59d002c 	ldr	r0, [sp, #44]	; 0x2c                          
    2574:	eb0063c5 	bl	1b490 <__aeabi_uidiv>                          
    2578:	e59f1038 	ldr	r1, [pc, #56]	; 25b8 <rtems_cpu_usage_report_with_plugin+0x1a4>
    257c:	e1a03000 	mov	r3, r0                                        
    2580:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
    2584:	e1a00008 	mov	r0, r8                                        
    2588:	e1a0e00f 	mov	lr, pc                                        
    258c:	e12fff1a 	bx	sl                                             
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
    2590:	e28dd040 	add	sp, sp, #64	; 0x40                            
    2594:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    2598:	000286cc 	.word	0x000286cc                                  
    259c:	0001eec8 	.word	0x0001eec8                                  
    25a0:	00028148 	.word	0x00028148                                  
    25a4:	00028240 	.word	0x00028240                                  
    25a8:	0001f03a 	.word	0x0001f03a                                  
    25ac:	00028248 	.word	0x00028248                                  
    25b0:	0001f04d 	.word	0x0001f04d                                  
    25b4:	00028158 	.word	0x00028158                                  
    25b8:	0001f065 	.word	0x0001f065                                  
                                                                      
0000c44c <rtems_deviceio_errno>:                                      
    { 0, 0, 0 },                                                      
};                                                                    
                                                                      
int                                                                   
rtems_deviceio_errno(rtems_status_code code)                          
{                                                                     
    c44c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
    c450:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
    c454:	e59f0018 	ldr	r0, [pc, #24]	; c474 <rtems_deviceio_errno+0x28><== NOT EXECUTED
    c458:	eb000006 	bl	c478 <rtems_assoc_remote_by_local>             <== NOT EXECUTED
    c45c:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
    c460:	0a000001 	beq	c46c <rtems_deviceio_errno+0x20>              <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
    c464:	eb000221 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    c468:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
    c46c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    c470:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    c474:	000193cc 	.word	0x000193cc                                  
                                                                      
000064fc <rtems_error>:                                               
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
    64fc:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
    6500:	e92d4001 	push	{r0, lr}                                     <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    6504:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
    6508:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
    650c:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
  )                                                                   
{                                                                     
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    6510:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
    6514:	ebffff84 	bl	632c <rtems_verror>                            <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
    6518:	e8bd4008 	pop	{r3, lr}                                      <== NOT EXECUTED
    651c:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
    6520:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
0000187c <rtems_filesystem_evaluate_path>:                            
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
    187c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    1880:	e2505000 	subs	r5, r0, #0                                   
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
    1884:	e1a07001 	mov	r7, r1                                        
    1888:	e1a06002 	mov	r6, r2                                        
    188c:	e1a0c003 	mov	ip, r3                                        
    1890:	e59da020 	ldr	sl, [sp, #32]                                 
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    1894:	1a000002 	bne	18a4 <rtems_filesystem_evaluate_path+0x28>    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    1898:	eb002d14 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    189c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    18a0:	ea000003 	b	18b4 <rtems_filesystem_evaluate_path+0x38>      <== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
    18a4:	e3530000 	cmp	r3, #0                                        
    18a8:	1a000004 	bne	18c0 <rtems_filesystem_evaluate_path+0x44>    
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
    18ac:	eb002d0f 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    18b0:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    18b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
    18b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    18bc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
    18c0:	e5d53000 	ldrb	r3, [r5]                                     
    18c4:	e353002f 	cmp	r3, #47	; 0x2f                                
    18c8:	1353005c 	cmpne	r3, #92	; 0x5c                              
    18cc:	13a08000 	movne	r8, #0                                      
    18d0:	03a08001 	moveq	r8, #1                                      
    18d4:	0a000001 	beq	18e0 <rtems_filesystem_evaluate_path+0x64>    
    18d8:	e3530000 	cmp	r3, #0                                        
    18dc:	1a000009 	bne	1908 <rtems_filesystem_evaluate_path+0x8c>    
    18e0:	e59f305c 	ldr	r3, [pc, #92]	; 1944 <rtems_filesystem_evaluate_path+0xc8>
    18e4:	e5934000 	ldr	r4, [r3]                                      
    18e8:	e2844018 	add	r4, r4, #24                                   
    18ec:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    18f0:	e1a0800c 	mov	r8, ip                                        
    18f4:	e8a8000f 	stmia	r8!, {r0, r1, r2, r3}                       
    18f8:	e5942000 	ldr	r2, [r4]                                      
    18fc:	e5882000 	str	r2, [r8]                                      
    1900:	e3a08001 	mov	r8, #1                                        
    1904:	ea000007 	b	1928 <rtems_filesystem_evaluate_path+0xac>      
    1908:	e59f3034 	ldr	r3, [pc, #52]	; 1944 <rtems_filesystem_evaluate_path+0xc8>
    190c:	e5934000 	ldr	r4, [r3]                                      
    1910:	e2844004 	add	r4, r4, #4                                    
    1914:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    1918:	e1a0900c 	mov	r9, ip                                        
    191c:	e8a9000f 	stmia	r9!, {r0, r1, r2, r3}                       
    1920:	e5942000 	ldr	r2, [r4]                                      
    1924:	e5892000 	str	r2, [r9]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
    1928:	e0681007 	rsb	r1, r8, r7                                    
    192c:	e0850008 	add	r0, r5, r8                                    
    1930:	e1a02006 	mov	r2, r6                                        
    1934:	e1a0300c 	mov	r3, ip                                        
    1938:	e58da020 	str	sl, [sp, #32]                                 
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
    193c:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
    1940:	eaffff95 	b	179c <rtems_filesystem_evaluate_relative_path>  
    1944:	000188b8 	.word	0x000188b8                                  
                                                                      
0000179c <rtems_filesystem_evaluate_relative_path>:                   
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    179c:	e3500000 	cmp	r0, #0                                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
    17a0:	e92d4030 	push	{r4, r5, lr}                                 
    17a4:	e1a05002 	mov	r5, r2                                        
    17a8:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    17ac:	1a000002 	bne	17bc <rtems_filesystem_evaluate_relative_path+0x20>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    17b0:	eb002d4e 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    17b4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
    17b8:	ea000027 	b	185c <rtems_filesystem_evaluate_relative_path+0xc0><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
    17bc:	e3530000 	cmp	r3, #0                                        
    17c0:	1a000002 	bne	17d0 <rtems_filesystem_evaluate_relative_path+0x34>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
    17c4:	eb002d49 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    17c8:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    17cc:	ea000022 	b	185c <rtems_filesystem_evaluate_relative_path+0xc0><== NOT EXECUTED
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
    17d0:	e593c00c 	ldr	ip, [r3, #12]                                 
    17d4:	e59cc000 	ldr	ip, [ip]                                      
    17d8:	e35c0000 	cmp	ip, #0                                        
    17dc:	0a00001c 	beq	1854 <rtems_filesystem_evaluate_relative_path+0xb8>
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
    17e0:	e1a0e00f 	mov	lr, pc                                        
    17e4:	e12fff1c 	bx	ip                                             
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
    17e8:	e59d200c 	ldr	r2, [sp, #12]                                 
    17ec:	e2703001 	rsbs	r3, r0, #1                                   
    17f0:	33a03000 	movcc	r3, #0                                      
    17f4:	e3520000 	cmp	r2, #0                                        
    17f8:	03a03000 	moveq	r3, #0                                      
    17fc:	e3530000 	cmp	r3, #0                                        
    1800:	08bd8030 	popeq	{r4, r5, pc}                                
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
    1804:	e594200c 	ldr	r2, [r4, #12]                                 
    1808:	e5923010 	ldr	r3, [r2, #16]                                 
    180c:	e3530000 	cmp	r3, #0                                        
    1810:	0a00000a 	beq	1840 <rtems_filesystem_evaluate_relative_path+0xa4>
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
    1814:	e1a00004 	mov	r0, r4                                        
    1818:	e1a0e00f 	mov	lr, pc                                        
    181c:	e12fff13 	bx	r3                                             
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
    1820:	e2400003 	sub	r0, r0, #3                                    
    1824:	e3500001 	cmp	r0, #1                                        
    1828:	83a00000 	movhi	r0, #0                                      
    182c:	88bd8030 	pophi	{r4, r5, pc}                                
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
    1830:	e594200c 	ldr	r2, [r4, #12]                                 
    1834:	e5923034 	ldr	r3, [r2, #52]	; 0x34                          
    1838:	e3530000 	cmp	r3, #0                                        
    183c:	1a000009 	bne	1868 <rtems_filesystem_evaluate_relative_path+0xcc>
          rtems_filesystem_freenode( pathloc );                       
    1840:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    1844:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    1848:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    184c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    1850:	112fff13 	bxne	r3                                           <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
    1854:	eb002d25 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1858:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    185c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1860:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    1864:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
         *    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 );     
    1868:	e1a00004 	mov	r0, r4                                        
    186c:	e1a01005 	mov	r1, r5                                        
    1870:	e1a0e00f 	mov	lr, pc                                        
    1874:	e12fff13 	bx	r3                                             
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
    1878:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
000015fc <rtems_filesystem_initialize>:                               
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
    15fc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
    1600:	e59f6100 	ldr	r6, [pc, #256]	; 1708 <rtems_filesystem_initialize+0x10c>
    1604:	e5963000 	ldr	r3, [r6]                                      
    1608:	e3a02012 	mov	r2, #18                                       
    160c:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
    1610:	e24dd01c 	sub	sp, sp, #28                                   
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
                                                                      
                                                                      
  init_fs_mount_table();                                              
    1614:	eb000215 	bl	1e70 <init_fs_mount_table>                     
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    1618:	e59f30ec 	ldr	r3, [pc, #236]	; 170c <rtems_filesystem_initialize+0x110>
    161c:	e5933000 	ldr	r3, [r3]                                      
    1620:	e3530000 	cmp	r3, #0                                        
    rtems_fatal_error_occurred( 0xABCD0001 );                         
    1624:	059f00e4 	ldreq	r0, [pc, #228]	; 1710 <rtems_filesystem_initialize+0x114>
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    1628:	0a000009 	beq	1654 <rtems_filesystem_initialize+0x58>       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
    162c:	e59f30e0 	ldr	r3, [pc, #224]	; 1714 <rtems_filesystem_initialize+0x118>
    1630:	e5932000 	ldr	r2, [r3]                                      
                                                                      
  status = mount(                                                     
    1634:	e592300c 	ldr	r3, [r2, #12]                                 
    1638:	e58d3000 	str	r3, [sp]                                      
    163c:	e28d0018 	add	r0, sp, #24                                   
    1640:	e892000e 	ldm	r2, {r1, r2, r3}                              
    1644:	eb000210 	bl	1e8c <mount>                                   
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    1648:	e3700001 	cmn	r0, #1                                        
    164c:	1a000001 	bne	1658 <rtems_filesystem_initialize+0x5c>       
    rtems_fatal_error_occurred( 0xABCD0002 );                         
    1650:	e59f00c0 	ldr	r0, [pc, #192]	; 1718 <rtems_filesystem_initialize+0x11c><== NOT EXECUTED
    1654:	eb000e97 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
    1658:	e59de018 	ldr	lr, [sp, #24]                                 
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
    165c:	e5967000 	ldr	r7, [r6]                                      
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
    1660:	e28ee01c 	add	lr, lr, #28                                   
    1664:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    1668:	e287c018 	add	ip, r7, #24                                   
    166c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    1670:	e59e3000 	ldr	r3, [lr]                                      
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
    1674:	e3a05000 	mov	r5, #0                                        
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
    1678:	e28d4004 	add	r4, sp, #4                                    
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
    167c:	e58c3000 	str	r3, [ip]                                      
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
    1680:	e1c753b0 	strh	r5, [r7, #48]	; 0x30                         
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
    1684:	e1a03004 	mov	r3, r4                                        
    1688:	e3a01001 	mov	r1, #1                                        
    168c:	e1a02005 	mov	r2, r5                                        
    1690:	e59f0084 	ldr	r0, [pc, #132]	; 171c <rtems_filesystem_initialize+0x120>
  rtems_filesystem_root        = loc;                                 
    1694:	e1a07004 	mov	r7, r4                                        
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
    1698:	e58d5000 	str	r5, [sp]                                      
    169c:	eb000076 	bl	187c <rtems_filesystem_evaluate_path>          
  rtems_filesystem_root        = loc;                                 
    16a0:	e596c000 	ldr	ip, [r6]                                      
    16a4:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
    16a8:	e28cc018 	add	ip, ip, #24                                   
    16ac:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    16b0:	e5973000 	ldr	r3, [r7]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
    16b4:	e1a02005 	mov	r2, r5                                        
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
    16b8:	e58c3000 	str	r3, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
    16bc:	e3a01001 	mov	r1, #1                                        
    16c0:	e1a03004 	mov	r3, r4                                        
    16c4:	e59f0050 	ldr	r0, [pc, #80]	; 171c <rtems_filesystem_initialize+0x120>
    16c8:	e58d5000 	str	r5, [sp]                                      
    16cc:	eb00006a 	bl	187c <rtems_filesystem_evaluate_path>          
  rtems_filesystem_current     = loc;                                 
    16d0:	e596c000 	ldr	ip, [r6]                                      
    16d4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
    16d8:	e28cc004 	add	ip, ip, #4                                    
    16dc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    16e0:	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);                                      
    16e4:	e59f0034 	ldr	r0, [pc, #52]	; 1720 <rtems_filesystem_initialize+0x124>
  /* 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;                                 
    16e8:	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);                                      
    16ec:	e59f1030 	ldr	r1, [pc, #48]	; 1724 <rtems_filesystem_initialize+0x128>
    16f0:	eb000184 	bl	1d08 <mkdir>                                   
  if ( status != 0 )                                                  
    16f4:	e1500005 	cmp	r0, r5                                        
    rtems_fatal_error_occurred( 0xABCD0003 );                         
    16f8:	159f0028 	ldrne	r0, [pc, #40]	; 1728 <rtems_filesystem_initialize+0x12c>
   *  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);                                      
  if ( status != 0 )                                                  
    16fc:	1affffd4 	bne	1654 <rtems_filesystem_initialize+0x58>       
   *  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.        
   */                                                                 
}                                                                     
    1700:	e28dd01c 	add	sp, sp, #28                                   
    1704:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    1708:	000188b8 	.word	0x000188b8                                  
    170c:	00018e70 	.word	0x00018e70                                  
    1710:	abcd0001 	.word	0xabcd0001                                  
    1714:	00018728 	.word	0x00018728                                  
    1718:	abcd0002 	.word	0xabcd0002                                  
    171c:	0001985b 	.word	0x0001985b                                  
    1720:	0001985d 	.word	0x0001985d                                  
    1724:	000001ff 	.word	0x000001ff                                  
    1728:	abcd0003 	.word	0xabcd0003                                  
                                                                      
00023b2c <rtems_filesystem_nodes_equal>:                              
);                                                                    
                                                                      
bool rtems_filesystem_nodes_equal(                                    
  const rtems_filesystem_location_info_t   *loc1,                     
  const rtems_filesystem_location_info_t   *loc2                      
){                                                                    
   23b2c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
   23b30:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
   23b34:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
   23b38:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
   23b3c:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
   23b40:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
000014bc <rtems_io_lookup_name>:                                      
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
    14bc:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
    14c0:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
    14c4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
    14c8:	e1a06000 	mov	r6, 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 );
    14cc:	eb0031f8 	bl	dcb4 <strlen>                                  <== NOT EXECUTED
    14d0:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
    14d4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    14d8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    14dc:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
    14e0:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
    14e4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    14e8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
    14ec:	eb0000e2 	bl	187c <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    14f0:	e59d2010 	ldr	r2, [sp, #16]                                 <== NOT EXECUTED
    14f4:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
    14f8:	e3530000 	cmp	r3, #0                                        <== 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 );
    14fc:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
    1500:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    1504:	1a000009 	bne	1530 <rtems_io_lookup_name+0x74>              <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    1508:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    150c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    1510:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    1514:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    1518:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    151c:	eb002df3 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    1520:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    1524:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    1528:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    152c:	ea000026 	b	15cc <rtems_io_lookup_name+0x110>               <== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
    1530:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    1534:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1538:	e12fff13 	bx	r3                                             <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    153c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    1540:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
    1544:	03a0a000 	moveq	sl, #0                                      <== NOT EXECUTED
    1548:	13a0a001 	movne	sl, #1                                      <== NOT EXECUTED
    154c:	e59d7010 	ldr	r7, [sp, #16]                                 <== NOT EXECUTED
    1550:	0a000008 	beq	1578 <rtems_io_lookup_name+0xbc>              <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    1554:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    1558:	0a000018 	beq	15c0 <rtems_io_lookup_name+0x104>             <== NOT EXECUTED
    155c:	e597301c 	ldr	r3, [r7, #28]                                 <== NOT EXECUTED
    1560:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    1564:	0a000015 	beq	15c0 <rtems_io_lookup_name+0x104>             <== NOT EXECUTED
    1568:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    156c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    1570:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    1574:	ea000011 	b	15c0 <rtems_io_lookup_name+0x104>               <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
    1578:	e5856000 	str	r6, [r5]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
    157c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    1580:	eb0031cb 	bl	dcb4 <strlen>                                  <== NOT EXECUTED
    1584:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
    1588:	e5983050 	ldr	r3, [r8, #80]	; 0x50                          <== NOT EXECUTED
    158c:	e5853008 	str	r3, [r5, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
    1590:	e5983054 	ldr	r3, [r8, #84]	; 0x54                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    1594:	e3570000 	cmp	r7, #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;     
    1598:	e585300c 	str	r3, [r5, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    159c:	0a000009 	beq	15c8 <rtems_io_lookup_name+0x10c>             <== NOT EXECUTED
    15a0:	e597301c 	ldr	r3, [r7, #28]                                 <== NOT EXECUTED
    15a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    15a8:	0a000006 	beq	15c8 <rtems_io_lookup_name+0x10c>             <== NOT EXECUTED
    15ac:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    15b0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    15b4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    15b8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
    15bc:	ea000002 	b	15cc <rtems_io_lookup_name+0x110>               <== NOT EXECUTED
    15c0:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
    15c4:	ea000000 	b	15cc <rtems_io_lookup_name+0x110>               <== NOT EXECUTED
    15c8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
    15cc:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
    15d0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
000019ec <rtems_libio_init>:                                          
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
    19ec:	e92d4011 	push	{r0, r4, lr}                                 
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    19f0:	e59f4098 	ldr	r4, [pc, #152]	; 1a90 <rtems_libio_init+0xa4> 
    19f4:	e5940000 	ldr	r0, [r4]                                      
    19f8:	e3500000 	cmp	r0, #0                                        
    19fc:	0a000013 	beq	1a50 <rtems_libio_init+0x64>                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
    1a00:	e3a01040 	mov	r1, #64	; 0x40                                
    1a04:	eb001d4a 	bl	8f34 <calloc>                                  
    1a08:	e59f3084 	ldr	r3, [pc, #132]	; 1a94 <rtems_libio_init+0xa8> 
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
    1a0c:	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,
    1a10:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
    1a14:	0280001a 	addeq	r0, r0, #26                                 
                                                                      
    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)                                 
    1a18:	0a000015 	beq	1a74 <rtems_libio_init+0x88>                  
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
    1a1c:	e59f3074 	ldr	r3, [pc, #116]	; 1a98 <rtems_libio_init+0xac> 
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
    1a20:	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;            
    1a24:	e5830000 	str	r0, [r3]                                      
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
    1a28:	e3a03000 	mov	r3, #0                                        
    1a2c:	ea000000 	b	1a34 <rtems_libio_init+0x48>                    
		iop->data1 = iop + 1;                                               
    1a30:	e500000c 	str	r0, [r0, #-12]                                
                                                    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++)         
    1a34:	e2833001 	add	r3, r3, #1                                    
    1a38:	e1530001 	cmp	r3, r1                                        
		iop->data1 = iop + 1;                                               
    1a3c:	e1a02000 	mov	r2, r0                                        
                                                    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++)         
    1a40:	e2800040 	add	r0, r0, #64	; 0x40                            
    1a44:	3afffff9 	bcc	1a30 <rtems_libio_init+0x44>                  
		iop->data1 = iop + 1;                                               
	iop->data1 = NULL;                                                   
    1a48:	e3a03000 	mov	r3, #0                                        
    1a4c:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
    1a50:	e59fc044 	ldr	ip, [pc, #68]	; 1a9c <rtems_libio_init+0xb0>  
    1a54:	e59f0044 	ldr	r0, [pc, #68]	; 1aa0 <rtems_libio_init+0xb4>  
    1a58:	e3a01001 	mov	r1, #1                                        
    1a5c:	e3a02054 	mov	r2, #84	; 0x54                                
    1a60:	e3a03000 	mov	r3, #0                                        
    1a64:	e58dc000 	str	ip, [sp]                                      
    1a68:	eb000b6c 	bl	4820 <rtems_semaphore_create>                  
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    1a6c:	e3500000 	cmp	r0, #0                                        
    1a70:	0a000000 	beq	1a78 <rtems_libio_init+0x8c>                  
    rtems_fatal_error_occurred( rc );                                 
    1a74:	eb000d8f 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
    1a78:	e59f3024 	ldr	r3, [pc, #36]	; 1aa4 <rtems_libio_init+0xb8>  
    1a7c:	e5933000 	ldr	r3, [r3]                                      
    1a80:	e3530000 	cmp	r3, #0                                        
     (* rtems_fs_init_helper)();                                      
    1a84:	11a0e00f 	movne	lr, pc                                      
    1a88:	112fff13 	bxne	r3                                           
}                                                                     
    1a8c:	e8bd8018 	pop	{r3, r4, pc}                                  
    1a90:	00018720 	.word	0x00018720                                  
    1a94:	0001a08c 	.word	0x0001a08c                                  
    1a98:	0001a090 	.word	0x0001a090                                  
    1a9c:	0001a094 	.word	0x0001a094                                  
    1aa0:	4c42494f 	.word	0x4c42494f                                  
    1aa4:	0001871c 	.word	0x0001871c                                  
                                                                      
00023334 <rtems_libio_set_private_env>:                               
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
   23334:	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);                         
   23338:	e3a00000 	mov	r0, #0                                        
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
   2333c:	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);                         
   23340:	e1a01000 	mov	r1, r0                                        
   23344:	e28d2018 	add	r2, sp, #24                                   
   23348:	eb00071b 	bl	24fbc <rtems_task_ident>                       
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   2334c:	e2508000 	subs	r8, r0, #0                                   
   23350:	1a00003f 	bne	23454 <rtems_libio_set_private_env+0x120>     
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   23354:	e59f4104 	ldr	r4, [pc, #260]	; 23460 <rtems_libio_set_private_env+0x12c>
   23358:	e59f3104 	ldr	r3, [pc, #260]	; 23464 <rtems_libio_set_private_env+0x130>
   2335c:	e5942000 	ldr	r2, [r4]                                      
   23360:	e1520003 	cmp	r2, r3                                        
   23364:	1a00000f 	bne	233a8 <rtems_libio_set_private_env+0x74>      
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   23368:	e2800048 	add	r0, r0, #72	; 0x48                            
   2336c:	ebff86a0 	bl	4df4 <malloc>                                  
   if (!tmp)                                                          
   23370:	e2505000 	subs	r5, r0, #0                                   
   23374:	03a0801a 	moveq	r8, #26                                     
   23378:	0a000035 	beq	23454 <rtems_libio_set_private_env+0x120>     
                                                                      
#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Ì'
   2337c:	e1a00008 	mov	r0, r8                                        
   23380:	e1a01004 	mov	r1, r4                                        
   23384:	e59f20dc 	ldr	r2, [pc, #220]	; 23468 <rtems_libio_set_private_env+0x134>
   23388:	eb000802 	bl	25398 <rtems_task_variable_add>                
   if (sc != RTEMS_SUCCESSFUL) {                                      
   2338c:	e2506000 	subs	r6, r0, #0                                   
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
   23390:	05845000 	streq	r5, [r4]                                    
#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) {                                      
   23394:	0a000003 	beq	233a8 <rtems_libio_set_private_env+0x74>      
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
   23398:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   2339c:	ebff8524 	bl	4834 <free>                                    <== NOT EXECUTED
   233a0:	e1a08006 	mov	r8, r6                                        <== NOT EXECUTED
     return sc;                                                       
   233a4:	ea00002a 	b	23454 <rtems_libio_set_private_env+0x120>       <== NOT EXECUTED
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
   233a8:	e59f60b0 	ldr	r6, [pc, #176]	; 23460 <rtems_libio_set_private_env+0x12c>
   233ac:	e5964000 	ldr	r4, [r6]                                      
   233b0:	e59f10ac 	ldr	r1, [pc, #172]	; 23464 <rtems_libio_set_private_env+0x130>
   233b4:	e3a02048 	mov	r2, #72	; 0x48                                
   233b8:	e1a00004 	mov	r0, r4                                        
   233bc:	eb00645c 	bl	3c534 <memcpy>                                 
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
   233c0:	e59f30a4 	ldr	r3, [pc, #164]	; 2346c <rtems_libio_set_private_env+0x138>
   233c4:	e593e000 	ldr	lr, [r3]                                      
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
   233c8:	e59d3018 	ldr	r3, [sp, #24]                                 
   233cc:	e1a0c004 	mov	ip, r4                                        
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
   233d0:	e28ee01c 	add	lr, lr, #28                                   
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
   233d4:	e48c3018 	str	r3, [ip], #24                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
   233d8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   233dc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   233e0:	e59e3000 	ldr	r3, [lr]                                      
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   233e4:	e28d4004 	add	r4, sp, #4                                    
   233e8:	e3a05000 	mov	r5, #0                                        
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
   233ec:	e58c3000 	str	r3, [ip]                                      
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   233f0:	e3a01001 	mov	r1, #1                                        
   233f4:	e1a03004 	mov	r3, r4                                        
   233f8:	e1a02005 	mov	r2, r5                                        
   233fc:	e59f006c 	ldr	r0, [pc, #108]	; 23470 <rtems_libio_set_private_env+0x13c>
  rtems_filesystem_root    = loc;                                     
   23400:	e1a07004 	mov	r7, r4                                        
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   23404:	e58d5000 	str	r5, [sp]                                      
   23408:	ebff84d6 	bl	4768 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_root    = loc;                                     
   2340c:	e596c000 	ldr	ip, [r6]                                      
   23410:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
   23414:	e28cc018 	add	ip, ip, #24                                   
   23418:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   2341c:	e5973000 	ldr	r3, [r7]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   23420:	e1a02005 	mov	r2, r5                                        
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
   23424:	e58c3000 	str	r3, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   23428:	e3a01001 	mov	r1, #1                                        
   2342c:	e1a03004 	mov	r3, r4                                        
   23430:	e59f0038 	ldr	r0, [pc, #56]	; 23470 <rtems_libio_set_private_env+0x13c>
   23434:	e58d5000 	str	r5, [sp]                                      
   23438:	ebff84ca 	bl	4768 <rtems_filesystem_evaluate_path>          
  rtems_filesystem_current = loc;                                     
   2343c:	e596c000 	ldr	ip, [r6]                                      
   23440:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
   23444:	e28cc004 	add	ip, ip, #4                                    
   23448:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   2344c:	e5973000 	ldr	r3, [r7]                                      
   23450:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   23454:	e1a00008 	mov	r0, r8                                        
   23458:	e28dd01c 	add	sp, sp, #28                                   
   2345c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   23460:	00053858 	.word	0x00053858                                  
   23464:	00061208 	.word	0x00061208                                  
   23468:	0002322c 	.word	0x0002322c                                  
   2346c:	000611f0 	.word	0x000611f0                                  
   23470:	00057ef2 	.word	0x00057ef2                                  
                                                                      
00023290 <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) {   
   23290:	e92d4033 	push	{r0, r1, r4, r5, lr}                         <== NOT EXECUTED
   23294:	e1a05000 	mov	r5, r0                                        <== 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);                 
   23298:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   2329c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   232a0:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
   232a4:	eb000744 	bl	24fbc <rtems_task_ident>                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   232a8:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
   232ac:	1a00001b 	bne	23320 <rtems_libio_share_private_env+0x90>    <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   232b0:	e59f1070 	ldr	r1, [pc, #112]	; 23328 <rtems_libio_share_private_env+0x98><== NOT EXECUTED
   232b4:	e5914000 	ldr	r4, [r1]                                      <== NOT EXECUTED
   232b8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
   232bc:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
   232c0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
   232c4:	1a000004 	bne	232dc <rtems_libio_share_private_env+0x4c>    <== NOT EXECUTED
   /* 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);
   232c8:	eb00085b 	bl	2543c <rtems_task_variable_delete>             <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
   232cc:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
   232d0:	1a000012 	bne	23320 <rtems_libio_share_private_env+0x90>    <== NOT EXECUTED
   free_user_env(tmp);                                                
   232d4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   232d8:	ebffffd3 	bl	2322c <free_user_env>                          <== NOT EXECUTED
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
   232dc:	e59f4044 	ldr	r4, [pc, #68]	; 23328 <rtems_libio_share_private_env+0x98><== NOT EXECUTED
   232e0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   232e4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
   232e8:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
   232ec:	eb00086f 	bl	254b0 <rtems_task_variable_get>                <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
   232f0:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
   232f4:	1a000006 	bne	23314 <rtems_libio_share_private_env+0x84>    <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
   232f8:	e59f202c 	ldr	r2, [pc, #44]	; 2332c <rtems_libio_share_private_env+0x9c><== NOT EXECUTED
   232fc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
   23300:	eb000824 	bl	25398 <rtems_task_variable_add>                <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
   23304:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
   23308:	059d2004 	ldreq	r2, [sp, #4]                                <== NOT EXECUTED
   2330c:	05842000 	streq	r2, [r4]                                    <== NOT EXECUTED
		                       (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);
  if (sc != RTEMS_SUCCESSFUL)                                         
   23310:	0a000002 	beq	23320 <rtems_libio_share_private_env+0x90>    <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
   23314:	e59f1014 	ldr	r1, [pc, #20]	; 23330 <rtems_libio_share_private_env+0xa0><== NOT EXECUTED
   23318:	e59f2008 	ldr	r2, [pc, #8]	; 23328 <rtems_libio_share_private_env+0x98><== NOT EXECUTED
   2331c:	e5821000 	str	r1, [r2]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
   23320:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
   23324:	e8bd803c 	pop	{r2, r3, r4, r5, pc}                          <== NOT EXECUTED
   23328:	00053858 	.word	0x00053858                                  
   2332c:	0002322c 	.word	0x0002322c                                  
   23330:	00061208 	.word	0x00061208                                  
                                                                      
00004eec <rtems_malloc_statistics_at_free>:                           
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
    4eec:	e92d4801 	push	{r0, fp, lr}                                 <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
    4ef0:	e59f3038 	ldr	r3, [pc, #56]	; 4f30 <rtems_malloc_statistics_at_free+0x44><== NOT EXECUTED
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
    4ef4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
    4ef8:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    4efc:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    4f00:	eb001435 	bl	9fdc <_Protected_heap_Get_block_size>          <== NOT EXECUTED
    4f04:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    4f08:	0a000007 	beq	4f2c <rtems_malloc_statistics_at_free+0x40>   <== NOT EXECUTED
    MSBUMP(lifetime_freed, size);                                     
    4f0c:	e59f3020 	ldr	r3, [pc, #32]	; 4f34 <rtems_malloc_statistics_at_free+0x48><== NOT EXECUTED
    4f10:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
    4f14:	e283c024 	add	ip, r3, #36	; 0x24                            <== NOT EXECUTED
    4f18:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
    4f1c:	e09b1000 	adds	r1, fp, r0                                   <== NOT EXECUTED
    4f20:	e2ac2000 	adc	r2, ip, #0                                    <== NOT EXECUTED
    4f24:	e5831024 	str	r1, [r3, #36]	; 0x24                          <== NOT EXECUTED
    4f28:	e5832028 	str	r2, [r3, #40]	; 0x28                          <== NOT EXECUTED
  }                                                                   
}                                                                     
    4f2c:	e8bd8808 	pop	{r3, fp, pc}                                  <== NOT EXECUTED
    4f30:	0005358c 	.word	0x0005358c                                  
    4f34:	000611c4 	.word	0x000611c4                                  
                                                                      
00004f38 <rtems_malloc_statistics_at_malloc>:                         
{                                                                     
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    4f38:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
    4f3c:	e92d4811 	push	{r0, r4, fp, lr}                             <== NOT EXECUTED
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    4f40:	0a000013 	beq	4f94 <rtems_malloc_statistics_at_malloc+0x5c> <== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
    4f44:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
    4f48:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    4f4c:	e5223004 	str	r3, [r2, #-4]!                                <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
    4f50:	e59f3040 	ldr	r3, [pc, #64]	; 4f98 <rtems_malloc_statistics_at_malloc+0x60><== NOT EXECUTED
    4f54:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
    4f58:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    4f5c:	eb00141e 	bl	9fdc <_Protected_heap_Get_block_size>          <== NOT EXECUTED
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
    4f60:	e59f3034 	ldr	r3, [pc, #52]	; 4f9c <rtems_malloc_statistics_at_malloc+0x64><== NOT EXECUTED
    4f64:	e59d4000 	ldr	r4, [sp]                                      <== NOT EXECUTED
    4f68:	e283c01c 	add	ip, r3, #28                                   <== NOT EXECUTED
    4f6c:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
    4f70:	e5932024 	ldr	r2, [r3, #36]	; 0x24                          <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
    4f74:	e09b0004 	adds	r0, fp, r4                                   <== NOT EXECUTED
    4f78:	e2ac1000 	adc	r1, ip, #0                                    <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
    4f7c:	e593c018 	ldr	ip, [r3, #24]                                 <== NOT EXECUTED
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
    4f80:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
  if (current_depth > s->max_depth)                                   
    4f84:	e152000c 	cmp	r2, ip                                        <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
    4f88:	e583001c 	str	r0, [r3, #28]                                 <== NOT EXECUTED
    4f8c:	e5831020 	str	r1, [r3, #32]                                 <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
      s->max_depth = current_depth;                                   
    4f90:	85832018 	strhi	r2, [r3, #24]                               <== NOT EXECUTED
}                                                                     
    4f94:	e8bd8818 	pop	{r3, r4, fp, pc}                              <== NOT EXECUTED
    4f98:	0005358c 	.word	0x0005358c                                  
    4f9c:	000611c4 	.word	0x000611c4                                  
                                                                      
00004fa0 <rtems_malloc_statistics_initialize>:                        
static void rtems_malloc_statistics_initialize( void )                
{                                                                     
  /*                                                                  
   * Zero all the statistics                                          
   */                                                                 
  (void) memset(&rtems_malloc_statistics, 0, sizeof(rtems_malloc_statistics));
    4fa0:	e59f0008 	ldr	r0, [pc, #8]	; 4fb0 <rtems_malloc_statistics_initialize+0x10><== NOT EXECUTED
    4fa4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    4fa8:	e3a0202c 	mov	r2, #44	; 0x2c                                <== NOT EXECUTED
    4fac:	ea00dde7 	b	3c750 <memset>                                  <== NOT EXECUTED
    4fb0:	000611c4 	.word	0x000611c4                                  
                                                                      
000064d0 <rtems_panic>:                                               
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
    64d0:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
    64d4:	e92d4001 	push	{r0, lr}                                     <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    64d8:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
    64dc:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
    64e0:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
    64e4:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    ...                                                               
  )                                                                   
{                                                                     
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    64e8:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
    64ec:	ebffff8e 	bl	632c <rtems_verror>                            <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
    64f0:	e8bd4008 	pop	{r3, lr}                                      <== NOT EXECUTED
    64f4:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
    64f8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
0000acb0 <rtems_pipe_initialize>:                                     
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
  if (!rtems_pipe_configured)                                         
    acb0:	e59f3048 	ldr	r3, [pc, #72]	; ad00 <rtems_pipe_initialize+0x50>
    acb4:	e5d33000 	ldrb	r3, [r3]                                     
    acb8:	e3530000 	cmp	r3, #0                                        
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
    acbc:	e92d4001 	push	{r0, lr}                                     
  if (!rtems_pipe_configured)                                         
    acc0:	0a00000d 	beq	acfc <rtems_pipe_initialize+0x4c>             
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
    acc4:	e59fc038 	ldr	ip, [pc, #56]	; ad04 <rtems_pipe_initialize+0x54><== NOT EXECUTED
    acc8:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
    accc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    acd0:	1a000009 	bne	acfc <rtems_pipe_initialize+0x4c>             <== NOT EXECUTED
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
    acd4:	e59f002c 	ldr	r0, [pc, #44]	; ad08 <rtems_pipe_initialize+0x58><== NOT EXECUTED
    acd8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    acdc:	e3a02054 	mov	r2, #84	; 0x54                                <== NOT EXECUTED
    ace0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
    ace4:	ebffe6cd 	bl	4820 <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)                                         
    ace8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
    acec:	1bffe8f1 	blne	50b8 <rtems_fatal_error_occurred>            <== NOT EXECUTED
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
    acf0:	ebffe5cf 	bl	4434 <rtems_clock_get_ticks_since_boot>        <== NOT EXECUTED
  rtems_pipe_no = now;                                                
    acf4:	e59f3010 	ldr	r3, [pc, #16]	; ad0c <rtems_pipe_initialize+0x5c><== NOT EXECUTED
    acf8:	e1c300b0 	strh	r0, [r3]                                     <== NOT EXECUTED
}                                                                     
    acfc:	e8bd8008 	pop	{r3, pc}                                      
    ad00:	00019d44 	.word	0x00019d44                                  
    ad04:	00019ea8 	.word	0x00019ea8                                  
    ad08:	50495045 	.word	0x50495045                                  
    ad0c:	00019eae 	.word	0x00019eae                                  
                                                                      
00003014 <rtems_stack_checker_is_blown>:                              
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
    3014:	e92d4810 	push	{r4, fp, lr}                                 
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
    3018:	e59f307c 	ldr	r3, [pc, #124]	; 309c <rtems_stack_checker_is_blown+0x88>
    301c:	e5933000 	ldr	r3, [r3]                                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
    3020:	e59300c8 	ldr	r0, [r3, #200]	; 0xc8                         
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
    3024:	e28db008 	add	fp, sp, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
    3028:	e15b0000 	cmp	fp, r0                                        
    302c:	33a04000 	movcc	r4, #0                                      
    3030:	3a000004 	bcc	3048 <rtems_stack_checker_is_blown+0x34>      
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
    3034:	e59340c4 	ldr	r4, [r3, #196]	; 0xc4                         
    3038:	e0804004 	add	r4, r0, r4                                    
    303c:	e15b0004 	cmp	fp, r4                                        
    3040:	83a04000 	movhi	r4, #0                                      
    3044:	93a04001 	movls	r4, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
    3048:	e59f3050 	ldr	r3, [pc, #80]	; 30a0 <rtems_stack_checker_is_blown+0x8c>
    304c:	e5933000 	ldr	r3, [r3]                                      
    3050:	e3530000 	cmp	r3, #0                                        
    3054:	03a01001 	moveq	r1, #1                                      
    3058:	0a000005 	beq	3074 <rtems_stack_checker_is_blown+0x60>      
    pattern_ok = (!memcmp(                                            
    305c:	e59f1040 	ldr	r1, [pc, #64]	; 30a4 <rtems_stack_checker_is_blown+0x90>
    3060:	e2800008 	add	r0, r0, #8                                    
    3064:	e3a02010 	mov	r2, #16                                       
    3068:	eb00e507 	bl	3c48c <memcmp>                                 
    306c:	e2701001 	rsbs	r1, r0, #1                                   
    3070:	33a01000 	movcc	r1, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
    3074:	e3540000 	cmp	r4, #0                                        
    3078:	0a000002 	beq	3088 <rtems_stack_checker_is_blown+0x74>      
    307c:	e3510000 	cmp	r1, #0                                        
    3080:	13a00000 	movne	r0, #0                                      
    3084:	18bd8810 	popne	{r4, fp, pc}                                
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
    3088:	e59f300c 	ldr	r3, [pc, #12]	; 309c <rtems_stack_checker_is_blown+0x88><== NOT EXECUTED
    308c:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    3090:	ebffffb4 	bl	2f68 <Stack_check_report_blown_task>           <== NOT EXECUTED
    3094:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  return true;                                                        
}                                                                     
    3098:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
    309c:	000613e0 	.word	0x000613e0                                  
    30a0:	0005e558 	.word	0x0005e558                                  
    30a4:	00061194 	.word	0x00061194                                  
                                                                      
00002f58 <rtems_stack_checker_report_usage>:                          
                                                                      
void rtems_stack_checker_report_usage( void )                         
{                                                                     
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
    2f58:	e59f1004 	ldr	r1, [pc, #4]	; 2f64 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
    2f5c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    2f60:	eaffffe3 	b	2ef4 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
    2f64:	00005930 	.word	0x00005930                                  
                                                                      
00002ef4 <rtems_stack_checker_report_usage_with_plugin>:              
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    2ef4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  print_context = context;                                            
    2ef8:	e59f4048 	ldr	r4, [pc, #72]	; 2f48 <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
    2efc:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
    2f00:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
    2f04:	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;                                            
    2f08:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
    2f0c:	e59f1038 	ldr	r1, [pc, #56]	; 2f4c <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
    2f10:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2f14:	e12fff15 	bx	r5                                             <== NOT EXECUTED
  (*print)( context,                                                  
    2f18:	e59f1030 	ldr	r1, [pc, #48]	; 2f50 <rtems_stack_checker_report_usage_with_plugin+0x5c><== NOT EXECUTED
    2f1c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    2f20:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2f24:	e12fff15 	bx	r5                                             <== NOT EXECUTED
"    ID      NAME    LOW          HIGH     CURRENT     AVAILABLE     USED\n"
  );                                                                  
                                                                      
  /* iterate over all threads and dump the usage */                   
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
    2f28:	e59f0024 	ldr	r0, [pc, #36]	; 2f54 <rtems_stack_checker_report_usage_with_plugin+0x60><== NOT EXECUTED
    2f2c:	eb001a10 	bl	9774 <rtems_iterate_over_all_threads>          <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
    2f30:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    2f34:	ebffff9f 	bl	2db8 <Stack_check_Dump_threads_usage>          <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
    2f38:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  print_handler = NULL;                                               
    2f3c:	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;                                               
    2f40:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
    2f44:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    2f48:	0005e558 	.word	0x0005e558                                  
    2f4c:	00057d34 	.word	0x00057d34                                  
    2f50:	00057d4b 	.word	0x00057d4b                                  
    2f54:	00002db8 	.word	0x00002db8                                  
                                                                      
00018ef0 <rtems_string_to_pointer>:                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
   18ef0:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   18ef4:	e2514000 	subs	r4, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
   18ef8:	e1a05000 	mov	r5, r0                                        
   18efc:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   18f00:	03a00009 	moveq	r0, #9                                      
   18f04:	0a000018 	beq	18f6c <rtems_string_to_pointer+0x7c>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   18f08:	eb008158 	bl	39470 <__errno>                                
   18f0c:	e3a03000 	mov	r3, #0                                        
   18f10:	e5803000 	str	r3, [r0]                                      
  *n    = 0;                                                          
   18f14:	e5843000 	str	r3, [r4]                                      
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
   18f18:	e1a00005 	mov	r0, r5                                        
   18f1c:	e1a0100d 	mov	r1, sp                                        
   18f20:	e3a02010 	mov	r2, #16                                       
   18f24:	eb00a0f8 	bl	4130c <strtoul>                                
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   18f28:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
   18f2c:	159d3000 	ldrne	r3, [sp]                                    
   18f30:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   18f34:	e59d3000 	ldr	r3, [sp]                                      
   18f38:	e1530005 	cmp	r3, r5                                        
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
   18f3c:	e1a07000 	mov	r7, r0                                        
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   18f40:	03a0000b 	moveq	r0, #11                                     
   18f44:	0a000008 	beq	18f6c <rtems_string_to_pointer+0x7c>          
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   18f48:	e3770001 	cmn	r7, #1                                        
   18f4c:	1a000004 	bne	18f64 <rtems_string_to_pointer+0x74>          
   18f50:	eb008146 	bl	39470 <__errno>                                <== NOT EXECUTED
   18f54:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
   18f58:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
   18f5c:	03a0000a 	moveq	r0, #10                                     <== NOT EXECUTED
   18f60:	0a000001 	beq	18f6c <rtems_string_to_pointer+0x7c>          <== NOT EXECUTED
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
   18f64:	e5847000 	str	r7, [r4]                                      
   18f68:	e3a00000 	mov	r0, #0                                        
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   18f6c:	e8bd80f8 	pop	{r3, r4, r5, r6, r7, pc}                      
                                                                      
00003b58 <rtems_termios_baud_to_index>:                               
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    3b58:	e3500009 	cmp	r0, #9                                        
    3b5c:	012fff1e 	bxeq	lr                                           
    3b60:	ca000016 	bgt	3bc0 <rtems_termios_baud_to_index+0x68>       
    3b64:	e3500004 	cmp	r0, #4                                        
    3b68:	012fff1e 	bxeq	lr                                           
    3b6c:	ca00000a 	bgt	3b9c <rtems_termios_baud_to_index+0x44>       
    3b70:	e3500001 	cmp	r0, #1                                        
    3b74:	012fff1e 	bxeq	lr                                           
    3b78:	ca000002 	bgt	3b88 <rtems_termios_baud_to_index+0x30>       
    3b7c:	e3500000 	cmp	r0, #0                                        
    3b80:	012fff1e 	bxeq	lr                                           
    3b84:	ea000030 	b	3c4c <rtems_termios_baud_to_index+0xf4>         
    3b88:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
    3b8c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3b90:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
    3b94:	1a00002c 	bne	3c4c <rtems_termios_baud_to_index+0xf4>       <== NOT EXECUTED
    3b98:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    3b9c:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
    3ba0:	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;                          
    3ba4:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    3ba8:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
    3bac:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
    3bb0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3bb4:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
    3bb8:	1a000023 	bne	3c4c <rtems_termios_baud_to_index+0xf4>       <== NOT EXECUTED
    3bbc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    3bc0:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
    3bc4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3bc8:	ca000008 	bgt	3bf0 <rtems_termios_baud_to_index+0x98>       <== NOT EXECUTED
    3bcc:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
    3bd0:	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;                          
    3bd4:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    3bd8:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
    3bdc:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
    3be0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3be4:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
    3be8:	1a000017 	bne	3c4c <rtems_termios_baud_to_index+0xf4>       <== NOT EXECUTED
    3bec:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    3bf0:	e59f305c 	ldr	r3, [pc, #92]	; 3c54 <rtems_termios_baud_to_index+0xfc><== NOT EXECUTED
    3bf4:	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;                          
    3bf8:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    3bfc:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3c00:	ca000005 	bgt	3c1c <rtems_termios_baud_to_index+0xc4>       <== NOT EXECUTED
    3c04:	e350000f 	cmp	r0, #15                                       <== NOT EXECUTED
    3c08:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3c0c:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    3c10:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    3c14:	1a00000c 	bne	3c4c <rtems_termios_baud_to_index+0xf4>       <== NOT EXECUTED
    3c18:	ea000007 	b	3c3c <rtems_termios_baud_to_index+0xe4>         <== NOT EXECUTED
    3c1c:	e59f3034 	ldr	r3, [pc, #52]	; 3c58 <rtems_termios_baud_to_index+0x100><== NOT EXECUTED
    3c20:	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;                          
    3c24:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    3c28:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    3c2c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    3c30:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    3c34:	1a000004 	bne	3c4c <rtems_termios_baud_to_index+0xf4>       <== NOT EXECUTED
    3c38:	ea000001 	b	3c44 <rtems_termios_baud_to_index+0xec>         <== 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;                          
    3c3c:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
    3c40:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    3c44:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
    3c48:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    3c4c:	e3e00000 	mvn	r0, #0                                        
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
    3c50:	e12fff1e 	bx	lr                                             
    3c54:	00001002 	.word	0x00001002                                  
    3c58:	00001003 	.word	0x00001003                                  
                                                                      
000026c0 <rtems_termios_bufsize>:                                     
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
    26c0:	e59f3008 	ldr	r3, [pc, #8]	; 26d0 <rtems_termios_bufsize+0x10><== NOT EXECUTED
    26c4:	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;                                            
}                                                                     
    26c8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    26cc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    26d0:	000188a4 	.word	0x000188a4                                  
                                                                      
00003acc <rtems_termios_close>:                                       
{                                                                     
	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);
    3acc:	e59f2180 	ldr	r2, [pc, #384]	; 3c54 <rtems_termios_close+0x188>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3ad0:	e5903000 	ldr	r3, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3ad4:	e3a01000 	mov	r1, #0                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
    3ad8:	e92d4030 	push	{r4, r5, lr}                                 
    3adc:	e1a05000 	mov	r5, 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);
    3ae0:	e5920000 	ldr	r0, [r2]                                      
    3ae4:	e1a02001 	mov	r2, r1                                        
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3ae8:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3aec:	eb0003dd 	bl	4a68 <rtems_semaphore_obtain>                  
	if (sc != RTEMS_SUCCESSFUL)                                          
    3af0:	e3500000 	cmp	r0, #0                                        
    3af4:	1a000022 	bne	3b84 <rtems_termios_close+0xb8>               
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
    3af8:	e5943008 	ldr	r3, [r4, #8]                                  
    3afc:	e2433001 	sub	r3, r3, #1                                    
    3b00:	e3530000 	cmp	r3, #0                                        
    3b04:	e5843008 	str	r3, [r4, #8]                                  
    3b08:	1a00004c 	bne	3c40 <rtems_termios_close+0x174>              
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
    3b0c:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
    3b10:	e59f3140 	ldr	r3, [pc, #320]	; 3c58 <rtems_termios_close+0x18c>
    3b14:	e0833282 	add	r3, r3, r2, lsl #5                            
    3b18:	e5931004 	ldr	r1, [r3, #4]                                  
    3b1c:	e3510000 	cmp	r1, #0                                        
    3b20:	0a000003 	beq	3b34 <rtems_termios_close+0x68>               
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
    3b24:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3b28:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3b2c:	e12fff11 	bx	r1                                             <== NOT EXECUTED
    3b30:	ea000006 	b	3b50 <rtems_termios_close+0x84>                 <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3b34:	e5940018 	ldr	r0, [r4, #24]                                 
    3b38:	e1a02001 	mov	r2, r1                                        
    3b3c:	eb0003c9 	bl	4a68 <rtems_semaphore_obtain>                  
			if (sc != RTEMS_SUCCESSFUL) {                                      
    3b40:	e3500000 	cmp	r0, #0                                        
    3b44:	1a00000e 	bne	3b84 <rtems_termios_close+0xb8>               
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
    3b48:	e1a00004 	mov	r0, r4                                        
    3b4c:	ebfffe05 	bl	3368 <drainOutput>                             
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
    3b50:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
    3b54:	e3530002 	cmp	r3, #2                                        
    3b58:	1a00000a 	bne	3b88 <rtems_termios_close+0xbc>               
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
    3b5c:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
    3b60:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    3b64:	eb0002ab 	bl	4618 <rtems_event_send>                        <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
    3b68:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    3b6c:	1a000004 	bne	3b84 <rtems_termios_close+0xb8>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
    3b70:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
    3b74:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
    3b78:	eb0002a6 	bl	4618 <rtems_event_send>                        <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
    3b7c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    3b80:	0a000000 	beq	3b88 <rtems_termios_close+0xbc>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    3b84:	eb00054b 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
		}                                                                   
		if (tty->device.lastClose)                                          
    3b88:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
    3b8c:	e3530000 	cmp	r3, #0                                        
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
    3b90:	11a02005 	movne	r2, r5                                      
    3b94:	1284000c 	addne	r0, r4, #12                                 
    3b98:	18900003 	ldmne	r0, {r0, r1}                                
    3b9c:	11a0e00f 	movne	lr, pc                                      
    3ba0:	112fff13 	bxne	r3                                           
		if (tty->forw == NULL) {                                            
    3ba4:	e894000c 	ldm	r4, {r2, r3}                                  
    3ba8:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
    3bac:	15823004 	strne	r3, [r2, #4]                                
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
    3bb0:	1a000003 	bne	3bc4 <rtems_termios_close+0xf8>               
			rtems_termios_ttyTail = tty->back;                                 
    3bb4:	e59f10a0 	ldr	r1, [pc, #160]	; 3c5c <rtems_termios_close+0x190>
			if ( rtems_termios_ttyTail != NULL ) {                             
    3bb8:	e3530000 	cmp	r3, #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;                                 
    3bbc:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
    3bc0:	15832000 	strne	r2, [r3]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
    3bc4:	e5942004 	ldr	r2, [r4, #4]                                  
    3bc8:	e5943000 	ldr	r3, [r4]                                      
    3bcc:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
    3bd0:	15823000 	strne	r3, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
    3bd4:	1a000003 	bne	3be8 <rtems_termios_close+0x11c>              
			rtems_termios_ttyHead = tty->forw;                                 
    3bd8:	e59f1080 	ldr	r1, [pc, #128]	; 3c60 <rtems_termios_close+0x194>
			if ( rtems_termios_ttyHead != NULL ) {                             
    3bdc:	e3530000 	cmp	r3, #0                                        
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
    3be0:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
    3be4:	15832004 	strne	r2, [r3, #4]                                
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
    3be8:	e5940014 	ldr	r0, [r4, #20]                                 
    3bec:	eb000376 	bl	49cc <rtems_semaphore_delete>                  
		rtems_semaphore_delete (tty->osem);                                 
    3bf0:	e5940018 	ldr	r0, [r4, #24]                                 
    3bf4:	eb000374 	bl	49cc <rtems_semaphore_delete>                  
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
    3bf8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
    3bfc:	eb000372 	bl	49cc <rtems_semaphore_delete>                  
		if ((tty->device.pollRead == NULL) ||                               
    3c00:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
    3c04:	e3530000 	cmp	r3, #0                                        
    3c08:	0a000002 	beq	3c18 <rtems_termios_close+0x14c>              
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
    3c0c:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
    3c10:	e3530002 	cmp	r3, #2                                        
    3c14:	1a000001 	bne	3c20 <rtems_termios_close+0x154>              
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
    3c18:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
    3c1c:	eb00036a 	bl	49cc <rtems_semaphore_delete>                  <== NOT EXECUTED
		free (tty->rawInBuf.theBuf);                                        
    3c20:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
    3c24:	ebfff747 	bl	1948 <free>                                    
		free (tty->rawOutBuf.theBuf);                                       
    3c28:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
    3c2c:	ebfff745 	bl	1948 <free>                                    
		free (tty->cbuf);                                                   
    3c30:	e594001c 	ldr	r0, [r4, #28]                                 
    3c34:	ebfff743 	bl	1948 <free>                                    
		free (tty);                                                         
    3c38:	e1a00004 	mov	r0, r4                                        
    3c3c:	ebfff741 	bl	1948 <free>                                    
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
    3c40:	e59f300c 	ldr	r3, [pc, #12]	; 3c54 <rtems_termios_close+0x188>
    3c44:	e5930000 	ldr	r0, [r3]                                      
    3c48:	eb0003cc 	bl	4b80 <rtems_semaphore_release>                 
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
    3c4c:	e3a00000 	mov	r0, #0                                        
    3c50:	e8bd8030 	pop	{r4, r5, pc}                                  
    3c54:	0001a0dc 	.word	0x0001a0dc                                  
    3c58:	00019d9c 	.word	0x00019d9c                                  
    3c5c:	0001a0e0 	.word	0x0001a0e0                                  
    3c60:	0001a0e4 	.word	0x0001a0e4                                  
                                                                      
000028c4 <rtems_termios_dequeue_characters>:                          
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
    28c4:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    28c8:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
    28cc:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    28d0:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
    28d4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
    28d8:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
    28dc:	1a000005 	bne	28f8 <rtems_termios_dequeue_characters+0x34>  <== NOT EXECUTED
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
    28e0:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
    28e4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
    28e8:	eb00074a 	bl	4618 <rtems_event_send>                        <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
    28ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    28f0:	0a00000c 	beq	2928 <rtems_termios_dequeue_characters+0x64>  <== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
    28f4:	eb0009ef 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
    28f8:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
    28fc:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
    2900:	1a000006 	bne	2920 <rtems_termios_dequeue_characters+0x5c>  <== NOT EXECUTED
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
    2904:	e59f3024 	ldr	r3, [pc, #36]	; 2930 <rtems_termios_dequeue_characters+0x6c><== NOT EXECUTED
    2908:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
    290c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2910:	0a000004 	beq	2928 <rtems_termios_dequeue_characters+0x64>  <== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
    2914:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2918:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    291c:	ea000001 	b	2928 <rtems_termios_dequeue_characters+0x64>    <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
    2920:	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);                       
    2924:	eaffff6d 	b	26e0 <rtems_termios_refill_transmitter>         <== NOT EXECUTED
	}                                                                    
}                                                                     
    2928:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    292c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
    2930:	00019d9c 	.word	0x00019d9c                                  
                                                                      
00002934 <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) 
{                                                                     
    2934:	e92d4ff7 	push	{r0, r1, r2, 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) {              
    2938:	e59f32b8 	ldr	r3, [pc, #696]	; 2bf8 <rtems_termios_enqueue_raw_characters+0x2c4><== 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) 
{                                                                     
    293c:	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) {              
    2940:	e59000cc 	ldr	r0, [r0, #204]	; 0xcc                         <== NOT EXECUTED
    2944:	e0830280 	add	r0, r3, r0, lsl #5                            <== NOT EXECUTED
    2948:	e5906010 	ldr	r6, [r0, #16]                                 <== NOT EXECUTED
    294c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
    2950:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    2954:	11a05002 	movne	r5, r2                                      <== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    2958:	11a07003 	movne	r7, r3                                      <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    295c:	13a06000 	movne	r6, #0                                      <== 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) {              
    2960:	1a00000e 	bne	29a0 <rtems_termios_enqueue_raw_characters+0x6c><== 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);      
    2964:	e1a08002 	mov	r8, r2                                        <== NOT EXECUTED
    2968:	e2843030 	add	r3, r4, #48	; 0x30                            <== 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,                              
    296c:	e284204a 	add	r2, r4, #74	; 0x4a                            <== NOT EXECUTED
    2970:	e58d2008 	str	r2, [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);      
    2974:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
    2978:	e1a09006 	mov	r9, r6                                        <== NOT EXECUTED
    297c:	e1a05006 	mov	r5, r6                                        <== NOT EXECUTED
    2980:	ea000091 	b	2bcc <rtems_termios_enqueue_raw_characters+0x298><== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    2984:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
    2988:	e7db0006 	ldrb	r0, [fp, r6]                                 <== NOT EXECUTED
    298c:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
    2990:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2994:	e593f010 	ldr	pc, [r3, #16]                                 <== NOT EXECUTED
    2998:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
    299c:	e2455001 	sub	r5, r5, #1                                    <== 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--) {                                                    
    29a0:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
    29a4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
    29a8:	1afffff5 	bne	2984 <rtems_termios_enqueue_raw_characters+0x50><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
    29ac:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
    29b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    29b4:	1a00008c 	bne	2bec <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
    29b8:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
    29bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    29c0:	0a000089 	beq	2bec <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    29c4:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
    29c8:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
    29cc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    29d0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    29d4:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
    29d8:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
    29dc:	ea000083 	b	2bf0 <rtems_termios_enqueue_raw_characters+0x2bc><== NOT EXECUTED
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
    29e0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    29e4:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
    29e8:	e7dba006 	ldrb	sl, [fp, r6]                                 <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
    29ec:	0a00000f 	beq	2a30 <rtems_termios_enqueue_raw_characters+0xfc><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
    29f0:	e5d4204a 	ldrb	r2, [r4, #74]	; 0x4a                         <== NOT EXECUTED
    29f4:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
    29f8:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
    29fc:	1a000007 	bne	2a20 <rtems_termios_enqueue_raw_characters+0xec><== NOT EXECUTED
	      if (c == tty->termios.c_cc[VSTART]) {                          
    2a00:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
    2a04:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
    2a08:	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;                       
    2a0c:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
    2a10:	13833010 	orrne	r3, r3, #16                                 <== NOT EXECUTED
    2a14:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
    2a18:	e3a09001 	mov	r9, #1                                        <== NOT EXECUTED
    2a1c:	ea000005 	b	2a38 <rtems_termios_enqueue_raw_characters+0x104><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
    2a20:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
    2a24:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
    2a28:	03c33010 	biceq	r3, r3, #16                                 <== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
    2a2c:	0afffff8 	beq	2a14 <rtems_termios_enqueue_raw_characters+0xe0><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
    2a30:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
    2a34:	0a000015 	beq	2a90 <rtems_termios_enqueue_raw_characters+0x15c><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
    2a38:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2a3c:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
    2a40:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
    2a44:	1a00005e 	bne	2bc4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2a48:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
    2a4c:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
    2a50:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
    2a54:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    2a58:	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;                                   
    2a5c:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    2a60:	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;                                   
    2a64:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
    2a68:	0a000006 	beq	2a88 <rtems_termios_enqueue_raw_characters+0x154><== NOT EXECUTED
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
    2a6c:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
    2a70:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
    2a74:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2a78:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    2a7c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2a80:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2a84:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2a88:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
    2a8c:	ea00004c 	b	2bc4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
    2a90:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
    2a94:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
    2a98:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
    2a9c:	eb004e9a 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
    2aa0:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2aa4:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
    2aa8:	e3823080 	orr	r3, r2, #128	; 0x80                           <== NOT EXECUTED
    2aac:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    2ab0:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
    2ab4:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    2ab8:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
    2abc:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
    2ac0:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
    2ac4:	e0800007 	add	r0, r0, r7                                    <== NOT EXECUTED
    2ac8:	eb004e8f 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
    2acc:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
    2ad0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    2ad4:	9a000025 	bls	2b70 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
    2ad8:	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)           
    2adc:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
    2ae0:	1a000022 	bne	2b70 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
    2ae4:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2ae8:	e3833001 	orr	r3, r3, #1                                    <== NOT EXECUTED
    2aec:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
    2af0:	e59f3104 	ldr	r3, [pc, #260]	; 2bfc <rtems_termios_enqueue_raw_characters+0x2c8><== NOT EXECUTED
    2af4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2af8:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    2afc:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
    2b00:	1a00000e 	bne	2b40 <rtems_termios_enqueue_raw_characters+0x20c><== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
    2b04:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2b08:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
    2b0c:	1a000002 	bne	2b1c <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
    2b10:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
    2b14:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2b18:	1a000014 	bne	2b70 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
    2b1c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2b20:	e3833002 	orr	r3, r3, #2                                    <== NOT EXECUTED
    2b24:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
    2b28:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2b2c:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
    2b30:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2b34:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2b38:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
    2b3c:	ea00000b 	b	2b70 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
    2b40:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2b44:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
    2b48:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
    2b4c:	1a000007 	bne	2b70 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
    2b50:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
    2b54:	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;                                   
    2b58:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
    2b5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
    2b60:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
		      tty->device.stopRemoteTx(tty->minor);                         
    2b64:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
    2b68:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    2b6c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2b70:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    2b74:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
    2b78:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    2b7c:	e1570003 	cmp	r7, r3                                        <== NOT EXECUTED
		        dropped++;                                                  
    2b80:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
    2b84:	0a00000e 	beq	2bc4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
    2b88:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
    2b8c:	e7c3a007 	strb	sl, [r3, r7]                                 <== 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 )) {  
    2b90:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
    2b94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
    2b98:	e5847060 	str	r7, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
    2b9c:	1a000008 	bne	2bc4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
    2ba0:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
    2ba4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    2ba8:	0a000005 	beq	2bc4 <rtems_termios_enqueue_raw_characters+0x290><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
    2bac:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
    2bb0:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
    2bb4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2bb8:	e12fff13 	bx	r3                                             <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
    2bbc:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2bc0:	e58420e4 	str	r2, [r4, #228]	; 0xe4                         <== NOT EXECUTED
    2bc4:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
    2bc8:	e2488001 	sub	r8, r8, #1                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
    2bcc:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
    2bd0:	1affff82 	bne	29e0 <rtems_termios_enqueue_raw_characters+0xac><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
    2bd4:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
    2bd8:	e0833005 	add	r3, r3, r5                                    <== NOT EXECUTED
    2bdc:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
    2be0:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
    2be4:	eb0007e5 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
	return dropped;                                                      
    2be8:	ea000000 	b	2bf0 <rtems_termios_enqueue_raw_characters+0x2bc><== NOT EXECUTED
    2bec:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
}                                                                     
    2bf0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    2bf4:	e8bd8ffe 	pop	{r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}<== NOT EXECUTED
    2bf8:	00019d9c 	.word	0x00019d9c                                  
    2bfc:	00000402 	.word	0x00000402                                  
                                                                      
00003724 <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;                    
    3724:	e5903000 	ldr	r3, [r0]                                      
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
    3728:	e3a01000 	mov	r1, #0                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
    372c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
    3730:	e580100c 	str	r1, [r0, #12]                                 
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
    3734:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
    3738:	e1a05000 	mov	r5, 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);
    373c:	e1a02001 	mov	r2, r1                                        
    3740:	e5940018 	ldr	r0, [r4, #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; 
    3744:	e5957008 	ldr	r7, [r5, #8]                                  
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    3748:	eb0004c6 	bl	4a68 <rtems_semaphore_obtain>                  
	if (sc != RTEMS_SUCCESSFUL) {                                        
    374c:	e2506000 	subs	r6, r0, #0                                   
    3750:	1a0000d7 	bne	3ab4 <rtems_termios_ioctl+0x390>              
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
    3754:	e5953004 	ldr	r3, [r5, #4]                                  
    3758:	e3530004 	cmp	r3, #4                                        
    375c:	0a0000ab 	beq	3a10 <rtems_termios_ioctl+0x2ec>              
    3760:	8a000005 	bhi	377c <rtems_termios_ioctl+0x58>               
    3764:	e3530002 	cmp	r3, #2                                        
    3768:	0a000029 	beq	3814 <rtems_termios_ioctl+0xf0>               
    376c:	8a0000a0 	bhi	39f4 <rtems_termios_ioctl+0x2d0>              
    3770:	e3530001 	cmp	r3, #1                                        
    3774:	1a000010 	bne	37bc <rtems_termios_ioctl+0x98>               
    3778:	ea00001b 	b	37ec <rtems_termios_ioctl+0xc8>                 
    377c:	e59f233c 	ldr	r2, [pc, #828]	; 3ac0 <rtems_termios_ioctl+0x39c><== NOT EXECUTED
    3780:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
    3784:	0a0000bd 	beq	3a80 <rtems_termios_ioctl+0x35c>              <== NOT EXECUTED
    3788:	8a000002 	bhi	3798 <rtems_termios_ioctl+0x74>               <== NOT EXECUTED
    378c:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
    3790:	1a000009 	bne	37bc <rtems_termios_ioctl+0x98>               <== NOT EXECUTED
    3794:	ea000099 	b	3a00 <rtems_termios_ioctl+0x2dc>                <== NOT EXECUTED
    3798:	e59f2324 	ldr	r2, [pc, #804]	; 3ac4 <rtems_termios_ioctl+0x3a0><== NOT EXECUTED
    379c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
    37a0:	05953008 	ldreq	r3, [r5, #8]                                <== NOT EXECUTED
    37a4:	059420cc 	ldreq	r2, [r4, #204]	; 0xcc                       <== NOT EXECUTED
    37a8:	05832000 	streq	r2, [r3]                                    <== 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) {                                             
    37ac:	0a0000be 	beq	3aac <rtems_termios_ioctl+0x388>              <== NOT EXECUTED
    37b0:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              <== NOT EXECUTED
    37b4:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
    37b8:	0a000098 	beq	3a20 <rtems_termios_ioctl+0x2fc>              <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
    37bc:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
    37c0:	e59f3300 	ldr	r3, [pc, #768]	; 3ac8 <rtems_termios_ioctl+0x3a4><== NOT EXECUTED
    37c4:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    37c8:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
    37cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    37d0:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
    37d4:	0a0000b4 	beq	3aac <rtems_termios_ioctl+0x388>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
    37d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    37dc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    37e0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    37e4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    37e8:	ea0000a2 	b	3a78 <rtems_termios_ioctl+0x354>                <== NOT EXECUTED
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
    37ec:	e5957008 	ldr	r7, [r5, #8]                                  
    37f0:	e284c030 	add	ip, r4, #48	; 0x30                            
    37f4:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    37f8:	e1a0e007 	mov	lr, r7                                        
    37fc:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    3800:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
    3804:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
    3808:	e59c3000 	ldr	r3, [ip]                                      
    380c:	e58e3000 	str	r3, [lr]                                      
		break;                                                              
    3810:	ea0000a5 	b	3aac <rtems_termios_ioctl+0x388>                
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
    3814:	e595e008 	ldr	lr, [r5, #8]                                  
    3818:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    381c:	e284c030 	add	ip, r4, #48	; 0x30                            
    3820:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    3824:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    3828:	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) &&                                 
    382c:	e59420b8 	ldr	r2, [r4, #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;                     
    3830:	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) &&                                 
    3834:	e3120c02 	tst	r2, #512	; 0x200                              
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
    3838:	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) &&                                 
    383c:	0a000019 	beq	38a8 <rtems_termios_ioctl+0x184>              
    3840:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
    3844:	e3130b01 	tst	r3, #1024	; 0x400                             
    3848:	1a000016 	bne	38a8 <rtems_termios_ioctl+0x184>              
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
    384c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    3850:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
    3854:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
    3858:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    385c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
    3860:	0a000010 	beq	38a8 <rtems_termios_ioctl+0x184>              <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    3864:	e10f7000 	mrs	r7, CPSR                                      <== NOT EXECUTED
    3868:	e3873080 	orr	r3, r7, #128	; 0x80                           <== NOT EXECUTED
    386c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
    3870:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    3874:	e5942094 	ldr	r2, [r4, #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;                                    
    3878:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    387c:	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;                                    
    3880:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
    3884:	0a000006 	beq	38a4 <rtems_termios_ioctl+0x180>              <== NOT EXECUTED
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
    3888:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
    388c:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
    3890:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    3894:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    3898:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    389c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    38a0:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    38a4:	e129f007 	msr	CPSR_fc, r7                                   <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
    38a8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
    38ac:	e3130b01 	tst	r3, #1024	; 0x400                             
    38b0:	0a000008 	beq	38d8 <rtems_termios_ioctl+0x1b4>              
    38b4:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          <== NOT EXECUTED
    38b8:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
    38bc:	1a000005 	bne	38d8 <rtems_termios_ioctl+0x1b4>              <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
    38c0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    38c4:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
    38c8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
    38cc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    38d0:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
    38d4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
    38d8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         
    38dc:	e3130c01 	tst	r3, #256	; 0x100                              
    38e0:	0a000010 	beq	3928 <rtems_termios_ioctl+0x204>              
    38e4:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          <== NOT EXECUTED
    38e8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    38ec:	ba00000d 	blt	3928 <rtems_termios_ioctl+0x204>              <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
    38f0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    38f4:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
    38f8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
    38fc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    3900:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
    3904:	0a000004 	beq	391c <rtems_termios_ioctl+0x1f8>              <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
    3908:	e59430b0 	ldr	r3, [r4, #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) &&                              
    390c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
    3910:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
    3914:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3918:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
    391c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    3920:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
    3924:	e58430b8 	str	r3, [r4, #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) {                               
    3928:	e5943038 	ldr	r3, [r4, #56]	; 0x38                          
    392c:	e3530000 	cmp	r3, #0                                        
    tty->flow_ctrl |= FL_MDRTS;                                       
    3930:	b59430b8 	ldrlt	r3, [r4, #184]	; 0xb8                       
    3934:	b3833c01 	orrlt	r3, r3, #256	; 0x100                        
    3938:	b58430b8 	strlt	r3, [r4, #184]	; 0xb8                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
    393c:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
    3940:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
    3944:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       
    3948:	13833b01 	orrne	r3, r3, #1024	; 0x400                       
    394c:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
    3950:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
    3954:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
    3958:	159430b8 	ldrne	r3, [r4, #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) {                                
    395c:	e594703c 	ldr	r7, [r4, #60]	; 0x3c                          
  if (tty->termios.c_iflag & IXOFF) {                                 
    tty->flow_ctrl |= FL_MDXOF;                                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
    tty->flow_ctrl |= FL_MDXON;                                       
    3960:	13833c02 	orrne	r3, r3, #512	; 0x200                        
    3964:	158430b8 	strne	r3, [r4, #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) {                                
    3968:	e2177002 	ands	r7, r7, #2                                   
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
    396c:	13a03000 	movne	r3, #0                                      
		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) {                                
    3970:	1a000014 	bne	39c8 <rtems_termios_ioctl+0x2a4>              
			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;             
    3974:	e5d48046 	ldrb	r8, [r4, #70]	; 0x46                         <== NOT EXECUTED
    3978:	eb0002a5 	bl	4414 <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] *                       
    397c:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
    3980:	e0000098 	mul	r0, r8, r0                                    <== NOT EXECUTED
    3984:	eb004a4c 	bl	162bc <__aeabi_uidiv>                          <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
    3988:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
    398c:	e3530000 	cmp	r3, #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] *                       
    3990:	e5840054 	str	r0, [r4, #84]	; 0x54                          <== NOT EXECUTED
    3994:	e5d42047 	ldrb	r2, [r4, #71]	; 0x47                         <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
    3998:	0a000006 	beq	39b8 <rtems_termios_ioctl+0x294>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    399c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    39a0:	01a02000 	moveq	r2, r0                                      <== NOT EXECUTED
    39a4:	13a02000 	movne	r2, #0                                      <== 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;                       
    39a8:	e584706c 	str	r7, [r4, #108]	; 0x6c                         <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    39ac:	e5842074 	str	r2, [r4, #116]	; 0x74                         <== NOT EXECUTED
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
    39b0:	e5840070 	str	r0, [r4, #112]	; 0x70                         <== NOT EXECUTED
    39b4:	ea000006 	b	39d4 <rtems_termios_ioctl+0x2b0>                <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
    39b8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
    39bc:	03a03001 	moveq	r3, #1                                      <== NOT EXECUTED
    39c0:	0584306c 	streq	r3, [r4, #108]	; 0x6c                       <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
    39c4:	0a000002 	beq	39d4 <rtems_termios_ioctl+0x2b0>              <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
    39c8:	e5843074 	str	r3, [r4, #116]	; 0x74                         
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
    39cc:	e584306c 	str	r3, [r4, #108]	; 0x6c                         
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
    39d0:	e5843070 	str	r3, [r4, #112]	; 0x70                         
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
    39d4:	e59430a8 	ldr	r3, [r4, #168]	; 0xa8                         
    39d8:	e3530000 	cmp	r3, #0                                        
    39dc:	0a000032 	beq	3aac <rtems_termios_ioctl+0x388>              
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
    39e0:	e5940010 	ldr	r0, [r4, #16]                                 
    39e4:	e2841030 	add	r1, r4, #48	; 0x30                            
    39e8:	e1a0e00f 	mov	lr, pc                                        
    39ec:	e12fff13 	bx	r3                                             
    39f0:	ea00002d 	b	3aac <rtems_termios_ioctl+0x388>                
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
    39f4:	e1a00004 	mov	r0, r4                                        
    39f8:	ebfffe5a 	bl	3368 <drainOutput>                             
		break;                                                              
    39fc:	ea00002a 	b	3aac <rtems_termios_ioctl+0x388>                
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
    3a00:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
    3a04:	e58420d4 	str	r2, [r4, #212]	; 0xd4                         <== NOT EXECUTED
    3a08:	e58430d8 	str	r3, [r4, #216]	; 0xd8                         <== NOT EXECUTED
		break;                                                              
    3a0c:	ea000026 	b	3aac <rtems_termios_ioctl+0x388>                <== NOT EXECUTED
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
    3a10:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
    3a14:	e58420dc 	str	r2, [r4, #220]	; 0xdc                         <== NOT EXECUTED
    3a18:	e58430e0 	str	r3, [r4, #224]	; 0xe0                         <== NOT EXECUTED
		break;                                                              
    3a1c:	ea000022 	b	3aac <rtems_termios_ioctl+0x388>                <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
    3a20:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
    3a24:	e59f309c 	ldr	r3, [pc, #156]	; 3ac8 <rtems_termios_ioctl+0x3a4><== NOT EXECUTED
    3a28:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    3a2c:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
    3a30:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    3a34:	0a000003 	beq	3a48 <rtems_termios_ioctl+0x324>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
    3a38:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3a3c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3a40:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3a44:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
    3a48:	e5953008 	ldr	r3, [r5, #8]                                  <== NOT EXECUTED
    3a4c:	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) {             
    3a50:	e59f3070 	ldr	r3, [pc, #112]	; 3ac8 <rtems_termios_ioctl+0x3a4><== NOT EXECUTED
    3a54:	e7933282 	ldr	r3, [r3, r2, lsl #5]                          <== NOT EXECUTED
		 */                                                                 
		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);                                  
		tty->t_sc = NULL; /* ensure that no more valid data */              
    3a58:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
    3a5c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
		 */                                                                 
		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);                                  
		tty->t_sc = NULL; /* ensure that no more valid data */              
    3a60:	e58410d0 	str	r1, [r4, #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);                                  
    3a64:	e58420cc 	str	r2, [r4, #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) {             
    3a68:	0a00000f 	beq	3aac <rtems_termios_ioctl+0x388>              <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
    3a6c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3a70:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3a74:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3a78:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    3a7c:	ea00000a 	b	3aac <rtems_termios_ioctl+0x388>                <== NOT EXECUTED
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
    3a80:	e5942060 	ldr	r2, [r4, #96]	; 0x60                          <== NOT EXECUTED
    3a84:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
    3a88:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
    3a8c:	45942064 	ldrmi	r2, [r4, #100]	; 0x64                       <== NOT EXECUTED
    3a90:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
    3a94:	e2842020 	add	r2, r4, #32                                   <== NOT EXECUTED
    3a98:	e8920006 	ldm	r2, {r1, r2}                                  <== NOT EXECUTED
    3a9c:	e0411002 	sub	r1, r1, r2                                    <== NOT EXECUTED
    3aa0:	e5952008 	ldr	r2, [r5, #8]                                  <== NOT EXECUTED
    3aa4:	e0813003 	add	r3, r1, r3                                    <== NOT EXECUTED
    3aa8:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
    3aac:	e5940018 	ldr	r0, [r4, #24]                                 
    3ab0:	eb000432 	bl	4b80 <rtems_semaphore_release>                 
	args->ioctl_return = sc;                                             
    3ab4:	e585600c 	str	r6, [r5, #12]                                 
	return sc;                                                           
}                                                                     
    3ab8:	e1a00006 	mov	r0, r6                                        
    3abc:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    3ac0:	4004667f 	.word	0x4004667f                                  
    3ac4:	4004741a 	.word	0x4004741a                                  
    3ac8:	00019d9c 	.word	0x00019d9c                                  
                                                                      
00003c64 <rtems_termios_open>:                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    3c64:	e92d4ff3 	push	{r0, r1, r4, r5, r6, r7, r8, r9, sl, fp, lr} 
    3c68:	e1a08002 	mov	r8, r2                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    3c6c:	e59f23e0 	ldr	r2, [pc, #992]	; 4054 <rtems_termios_open+0x3f0>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    3c70:	e1a0a001 	mov	sl, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    3c74:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    3c78:	e1a09000 	mov	r9, r0                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    3c7c:	e5920000 	ldr	r0, [r2]                                      
    3c80:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
    3c84:	e1a0b003 	mov	fp, r3                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
    3c88:	eb000376 	bl	4a68 <rtems_semaphore_obtain>                  
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
    3c8c:	e2506000 	subs	r6, r0, #0                                   
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
    3c90:	059f33c0 	ldreq	r3, [pc, #960]	; 4058 <rtems_termios_open+0x3f4>
    3c94:	05935000 	ldreq	r5, [r3]                                    
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
    3c98:	0a000007 	beq	3cbc <rtems_termios_open+0x58>                
    3c9c:	ea0000e2 	b	402c <rtems_termios_open+0x3c8>                 <== NOT EXECUTED
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
		if ((tty->major == major) && (tty->minor == minor))                 
    3ca0:	e595300c 	ldr	r3, [r5, #12]                                 
    3ca4:	e1530009 	cmp	r3, r9                                        
    3ca8:	1a000002 	bne	3cb8 <rtems_termios_open+0x54>                
    3cac:	e5953010 	ldr	r3, [r5, #16]                                 
    3cb0:	e153000a 	cmp	r3, sl                                        
    3cb4:	0a0000bb 	beq	3fa8 <rtems_termios_open+0x344>               
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
    3cb8:	e5955000 	ldr	r5, [r5]                                      
    3cbc:	e3550000 	cmp	r5, #0                                        
    3cc0:	1afffff6 	bne	3ca0 <rtems_termios_open+0x3c>                
    3cc4:	ea0000da 	b	4034 <rtems_termios_open+0x3d0>                 
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
    3cc8:	e59f738c 	ldr	r7, [pc, #908]	; 405c <rtems_termios_open+0x3f8>
    3ccc:	e5973004 	ldr	r3, [r7, #4]                                  
    3cd0:	e5853064 	str	r3, [r5, #100]	; 0x64                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
    3cd4:	e5950064 	ldr	r0, [r5, #100]	; 0x64                         
    3cd8:	ebfff7cc 	bl	1c10 <malloc>                                  
		if (tty->rawInBuf.theBuf == NULL) {                                 
    3cdc:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
    3ce0:	e5850058 	str	r0, [r5, #88]	; 0x58                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
    3ce4:	1a000006 	bne	3d04 <rtems_termios_open+0xa0>                
		        free(tty);                                                  
    3ce8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3cec:	ebfff715 	bl	1948 <free>                                    <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
    3cf0:	e59f335c 	ldr	r3, [pc, #860]	; 4054 <rtems_termios_open+0x3f0><== NOT EXECUTED
    3cf4:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    3cf8:	eb0003a0 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
    3cfc:	e3a0601a 	mov	r6, #26                                       <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
    3d00:	ea0000c9 	b	402c <rtems_termios_open+0x3c8>                 <== NOT EXECUTED
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
    3d04:	e5973008 	ldr	r3, [r7, #8]                                  
    3d08:	e5853088 	str	r3, [r5, #136]	; 0x88                         
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
    3d0c:	e5950088 	ldr	r0, [r5, #136]	; 0x88                         
    3d10:	ebfff7be 	bl	1c10 <malloc>                                  
		if (tty->rawOutBuf.theBuf == NULL) {                                
    3d14:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
    3d18:	e585007c 	str	r0, [r5, #124]	; 0x7c                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
    3d1c:	0a000006 	beq	3d3c <rtems_termios_open+0xd8>                
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
    3d20:	e5970000 	ldr	r0, [r7]                                      
    3d24:	ebfff7b9 	bl	1c10 <malloc>                                  
		if (tty->cbuf == NULL) {                                            
    3d28:	e3500000 	cmp	r0, #0                                        
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
    3d2c:	e585001c 	str	r0, [r5, #28]                                 
		if (tty->cbuf == NULL) {                                            
    3d30:	1a000004 	bne	3d48 <rtems_termios_open+0xe4>                
		        free((void *)(tty->rawOutBuf.theBuf));                      
    3d34:	e595007c 	ldr	r0, [r5, #124]	; 0x7c                         <== NOT EXECUTED
    3d38:	ebfff702 	bl	1948 <free>                                    <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
    3d3c:	e5950058 	ldr	r0, [r5, #88]	; 0x58                          <== NOT EXECUTED
    3d40:	ebfff700 	bl	1948 <free>                                    <== NOT EXECUTED
    3d44:	eaffffe7 	b	3ce8 <rtems_termios_open+0x84>                  <== NOT EXECUTED
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
    3d48:	e59f3308 	ldr	r3, [pc, #776]	; 4058 <rtems_termios_open+0x3f4>
    3d4c:	e5932000 	ldr	r2, [r3]                                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
    3d50:	e3a03000 	mov	r3, #0                                        
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
    3d54:	e3520000 	cmp	r2, #0                                        
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
    3d58:	e885000c 	stm	r5, {r2, r3}                                  
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
    3d5c:	15825004 	strne	r5, [r2, #4]                                
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
    3d60:	e58530d4 	str	r3, [r5, #212]	; 0xd4                         
		tty->tty_snd.sw_arg = NULL;                                         
    3d64:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         
		tty->tty_rcv.sw_pfn = NULL;                                         
    3d68:	e58530dc 	str	r3, [r5, #220]	; 0xdc                         
		tty->tty_rcv.sw_arg = NULL;                                         
    3d6c:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         
		tty->tty_rcvwakeup  = 0;                                            
    3d70:	e58530e4 	str	r3, [r5, #228]	; 0xe4                         
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
    3d74:	e59f32e4 	ldr	r3, [pc, #740]	; 4060 <rtems_termios_open+0x3fc>
    3d78:	e5932000 	ldr	r2, [r3]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    3d7c:	e59f72d8 	ldr	r7, [pc, #728]	; 405c <rtems_termios_open+0x3f8>
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
    3d80:	e3520000 	cmp	r2, #0                                        
			rtems_termios_ttyTail = tty;                                       
    3d84:	05834000 	streq	r4, [r3]                                    
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
    3d88:	e59f22c8 	ldr	r2, [pc, #712]	; 4058 <rtems_termios_open+0x3f4>
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    3d8c:	e5d7300c 	ldrb	r3, [r7, #12]                                
    3d90:	e59f02cc 	ldr	r0, [pc, #716]	; 4064 <rtems_termios_open+0x400>
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
    3d94:	e5824000 	str	r4, [r2]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    3d98:	e1830000 	orr	r0, r3, r0                                    
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
    3d9c:	e584a010 	str	sl, [r4, #16]                                 
		tty->major = major;                                                 
    3da0:	e584900c 	str	r9, [r4, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
    3da4:	e284c014 	add	ip, r4, #20                                   
    3da8:	e3a03000 	mov	r3, #0                                        
    3dac:	e3a01001 	mov	r1, #1                                        
    3db0:	e3a02054 	mov	r2, #84	; 0x54                                
    3db4:	e58dc000 	str	ip, [sp]                                      
    3db8:	eb000298 	bl	4820 <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)                                         
    3dbc:	e2503000 	subs	r3, r0, #0                                   
    3dc0:	1a000095 	bne	401c <rtems_termios_open+0x3b8>               
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
    3dc4:	e5d7200c 	ldrb	r2, [r7, #12]                                
    3dc8:	e59f0298 	ldr	r0, [pc, #664]	; 4068 <rtems_termios_open+0x404>
    3dcc:	e284c018 	add	ip, r4, #24                                   
    3dd0:	e1820000 	orr	r0, r2, r0                                    
    3dd4:	e3a01001 	mov	r1, #1                                        
    3dd8:	e3a02054 	mov	r2, #84	; 0x54                                
    3ddc:	e58dc000 	str	ip, [sp]                                      
    3de0:	eb00028e 	bl	4820 <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)                                         
    3de4:	e2501000 	subs	r1, r0, #0                                   
    3de8:	1a00008b 	bne	401c <rtems_termios_open+0x3b8>               
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
    3dec:	e5d7300c 	ldrb	r3, [r7, #12]                                
    3df0:	e59f0274 	ldr	r0, [pc, #628]	; 406c <rtems_termios_open+0x408>
    3df4:	e284c08c 	add	ip, r4, #140	; 0x8c                           
    3df8:	e1830000 	orr	r0, r3, r0                                    
    3dfc:	e3a02020 	mov	r2, #32                                       
    3e00:	e1a03001 	mov	r3, r1                                        
    3e04:	e58dc000 	str	ip, [sp]                                      
    3e08:	eb000284 	bl	4820 <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)                                         
    3e0c:	e250e000 	subs	lr, r0, #0                                   
    3e10:	1a000081 	bne	401c <rtems_termios_open+0x3b8>               
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
    3e14:	e8bb000f 	ldm	fp!, {r0, r1, r2, r3}                         
    3e18:	e284c098 	add	ip, r4, #152	; 0x98                           
    3e1c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    3e20:	e89b000f 	ldm	fp, {r0, r1, r2, r3}                          
    3e24:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    3e28:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
    3e2c:	e3530002 	cmp	r3, #2                                        
			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;                                     
    3e30:	e584e094 	str	lr, [r4, #148]	; 0x94                         
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    3e34:	1a000017 	bne	3e98 <rtems_termios_open+0x234>               
			sc = rtems_task_create (                                           
    3e38:	e5d7300c 	ldrb	r3, [r7, #12]                                <== NOT EXECUTED
    3e3c:	e59f022c 	ldr	r0, [pc, #556]	; 4070 <rtems_termios_open+0x40c><== NOT EXECUTED
    3e40:	e284c0c8 	add	ip, r4, #200	; 0xc8                           <== NOT EXECUTED
    3e44:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    3e48:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
    3e4c:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
    3e50:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
    3e54:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
    3e58:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
    3e5c:	eb00036e 	bl	4c1c <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)                                        
    3e60:	e250e000 	subs	lr, r0, #0                                   <== NOT EXECUTED
    3e64:	1a00006c 	bne	401c <rtems_termios_open+0x3b8>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
    3e68:	e5d7300c 	ldrb	r3, [r7, #12]                                <== NOT EXECUTED
    3e6c:	e59f0200 	ldr	r0, [pc, #512]	; 4074 <rtems_termios_open+0x410><== NOT EXECUTED
    3e70:	e284c0c4 	add	ip, r4, #196	; 0xc4                           <== NOT EXECUTED
    3e74:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    3e78:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
    3e7c:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
    3e80:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
    3e84:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
    3e88:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
    3e8c:	eb000362 	bl	4c1c <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)                                        
    3e90:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    3e94:	1a000060 	bne	401c <rtems_termios_open+0x3b8>               <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
    3e98:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
    3e9c:	e3530000 	cmp	r3, #0                                        
    3ea0:	0a000002 	beq	3eb0 <rtems_termios_open+0x24c>               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
    3ea4:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
    3ea8:	e3530002 	cmp	r3, #2                                        
    3eac:	1a00000b 	bne	3ee0 <rtems_termios_open+0x27c>               
			sc = rtems_semaphore_create (                                      
    3eb0:	e59f31a4 	ldr	r3, [pc, #420]	; 405c <rtems_termios_open+0x3f8><== NOT EXECUTED
    3eb4:	e59f01bc 	ldr	r0, [pc, #444]	; 4078 <rtems_termios_open+0x414><== NOT EXECUTED
    3eb8:	e5d3300c 	ldrb	r3, [r3, #12]                                <== NOT EXECUTED
    3ebc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    3ec0:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
    3ec4:	e284c068 	add	ip, r4, #104	; 0x68                           <== NOT EXECUTED
    3ec8:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
    3ecc:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
    3ed0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
    3ed4:	eb000251 	bl	4820 <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)                                        
    3ed8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    3edc:	1a00004e 	bne	401c <rtems_termios_open+0x3b8>               <== NOT EXECUTED
		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';                                   
    3ee0:	e3a03000 	mov	r3, #0                                        
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
                                                                      
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
    3ee4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
    3ee8:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
    3eec:	e594c064 	ldr	ip, [r4, #100]	; 0x64                         
		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;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
    3ef0:	e3a02003 	mov	r2, #3                                        
		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;                          
    3ef4:	e0000c92 	mul	r0, r2, ip                                    
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
    3ef8:	e3a0c01c 	mov	ip, #28                                       
    3efc:	e5c4c042 	strb	ip, [r4, #66]	; 0x42                         
		tty->termios.c_cc[VERASE] = '\177';                                 
    3f00:	e28cc063 	add	ip, ip, #99	; 0x63                            
    3f04:	e5c4c043 	strb	ip, [r4, #67]	; 0x43                         
		tty->termios.c_cc[VKILL] = '\025';                                  
    3f08:	e3a0c015 	mov	ip, #21                                       
    3f0c:	e5c4c044 	strb	ip, [r4, #68]	; 0x44                         
		tty->termios.c_cc[VEOF] = '\004';                                   
    3f10:	e3a0c004 	mov	ip, #4                                        
    3f14:	e5c4c045 	strb	ip, [r4, #69]	; 0x45                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
    3f18:	e28cc00d 	add	ip, ip, #13                                   
    3f1c:	e5c4c049 	strb	ip, [r4, #73]	; 0x49                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
    3f20:	e28cc002 	add	ip, ip, #2                                    
    3f24:	e5c4c04a 	strb	ip, [r4, #74]	; 0x4a                         
		tty->termios.c_cc[VSUSP] = '\032';                                  
    3f28:	e28cc007 	add	ip, ip, #7                                    
    3f2c:	e5c4c04b 	strb	ip, [r4, #75]	; 0x4b                         
		tty->termios.c_cc[VREPRINT] = '\022';                               
    3f30:	e3a0c012 	mov	ip, #18                                       
    3f34:	e5c4c04d 	strb	ip, [r4, #77]	; 0x4d                         
		tty->termios.c_cc[VDISCARD] = '\017';                               
    3f38:	e3a0c00f 	mov	ip, #15                                       
    3f3c:	e5c4c04e 	strb	ip, [r4, #78]	; 0x4e                         
		tty->termios.c_cc[VWERASE] = '\027';                                
    3f40:	e28cc008 	add	ip, ip, #8                                    
    3f44:	e5c4c04f 	strb	ip, [r4, #79]	; 0x4f                         
		tty->termios.c_cc[VLNEXT] = '\026';                                 
    3f48:	e3a0c016 	mov	ip, #22                                       
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
		tty->termios.c_cc[VERASE] = '\177';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
    3f4c:	e5c4304c 	strb	r3, [r4, #76]	; 0x4c                         
		tty->termios.c_cc[VEOL2] = '\000';                                  
    3f50:	e5c43051 	strb	r3, [r4, #81]	; 0x51                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
		tty->termios.c_cc[VREPRINT] = '\022';                               
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
    3f54:	e5c4c050 	strb	ip, [r4, #80]	; 0x50                         
		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;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
    3f58:	e5c42041 	strb	r2, [r4, #65]	; 0x41                         
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3f5c:	e59f30f8 	ldr	r3, [pc, #248]	; 405c <rtems_termios_open+0x3f8>
		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;                          
    3f60:	e1a00120 	lsr	r0, r0, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3f64:	e5d3200c 	ldrb	r2, [r3, #12]                                
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
    3f68:	e58400c0 	str	r0, [r4, #192]	; 0xc0                         
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
    3f6c:	e59f0108 	ldr	r0, [pc, #264]	; 407c <rtems_termios_open+0x418>
    3f70:	e5840030 	str	r0, [r4, #48]	; 0x30                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
    3f74:	e59f0104 	ldr	r0, [pc, #260]	; 4080 <rtems_termios_open+0x41c>
    3f78:	e5840034 	str	r0, [r4, #52]	; 0x34                          
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
    3f7c:	e59f0100 	ldr	r0, [pc, #256]	; 4084 <rtems_termios_open+0x420>
    3f80:	e5840038 	str	r0, [r4, #56]	; 0x38                          
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
    3f84:	e59f00fc 	ldr	r0, [pc, #252]	; 4088 <rtems_termios_open+0x424>
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3f88:	e352007a 	cmp	r2, #122	; 0x7a                               
		/* 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;                          
    3f8c:	e1a010a1 	lsr	r1, r1, #1                                    
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3f90:	e2822001 	add	r2, r2, #1                                    
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
    3f94:	e584003c 	str	r0, [r4, #60]	; 0x3c                          
		/* 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;                          
    3f98:	e58410bc 	str	r1, [r4, #188]	; 0xbc                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
    3f9c:	e5c3200c 	strb	r2, [r3, #12]                                
			c = 'a';                                                           
    3fa0:	03a02061 	moveq	r2, #97	; 0x61                              
    3fa4:	05c3200c 	strbeq	r2, [r3, #12]                              
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
    3fa8:	e5953008 	ldr	r3, [r5, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
    3fac:	e5982000 	ldr	r2, [r8]                                      
	if (!tty->refcount++) {                                              
    3fb0:	e3530000 	cmp	r3, #0                                        
    3fb4:	e2833001 	add	r3, r3, #1                                    
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
    3fb8:	e5825034 	str	r5, [r2, #52]	; 0x34                          
	if (!tty->refcount++) {                                              
    3fbc:	e5853008 	str	r3, [r5, #8]                                  
    3fc0:	1a000016 	bne	4020 <rtems_termios_open+0x3bc>               
	  if (tty->device.firstOpen)                                         
    3fc4:	e5953098 	ldr	r3, [r5, #152]	; 0x98                         
    3fc8:	e3530000 	cmp	r3, #0                                        
		(*tty->device.firstOpen)(major, minor, arg);                        
    3fcc:	11a00009 	movne	r0, r9                                      
    3fd0:	11a0100a 	movne	r1, sl                                      
    3fd4:	11a02008 	movne	r2, r8                                      
    3fd8:	11a0e00f 	movne	lr, pc                                      
    3fdc:	112fff13 	bxne	r3                                           
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
    3fe0:	e59530b4 	ldr	r3, [r5, #180]	; 0xb4                         
    3fe4:	e3530002 	cmp	r3, #2                                        
    3fe8:	1a00000c 	bne	4020 <rtems_termios_open+0x3bc>               
	    sc = rtems_task_start(tty->rxTaskId,                             
    3fec:	e59500c4 	ldr	r0, [r5, #196]	; 0xc4                         <== NOT EXECUTED
    3ff0:	e59f1094 	ldr	r1, [pc, #148]	; 408c <rtems_termios_open+0x428><== NOT EXECUTED
    3ff4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    3ff8:	eb0003ac 	bl	4eb0 <rtems_task_start>                        <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
    3ffc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    4000:	1a000005 	bne	401c <rtems_termios_open+0x3b8>               <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
    4004:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    4008:	e59500c8 	ldr	r0, [r5, #200]	; 0xc8                         <== NOT EXECUTED
    400c:	e59f107c 	ldr	r1, [pc, #124]	; 4090 <rtems_termios_open+0x42c><== NOT EXECUTED
    4010:	eb0003a6 	bl	4eb0 <rtems_task_start>                        <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
    4014:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    4018:	0a000000 	beq	4020 <rtems_termios_open+0x3bc>               <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
    401c:	eb000425 	bl	50b8 <rtems_fatal_error_occurred>              <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
    4020:	e59f302c 	ldr	r3, [pc, #44]	; 4054 <rtems_termios_open+0x3f0>
    4024:	e5930000 	ldr	r0, [r3]                                      
    4028:	eb0002d4 	bl	4b80 <rtems_semaphore_release>                 
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
    402c:	e1a00006 	mov	r0, r6                                        
    4030:	e8bd8ffc 	pop	{r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}  
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
    4034:	e3a00001 	mov	r0, #1                                        
    4038:	e3a010e8 	mov	r1, #232	; 0xe8                               
    403c:	eb0013bc 	bl	8f34 <calloc>                                  
		if (tty == NULL) {                                                  
    4040:	e3500000 	cmp	r0, #0                                        
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
    4044:	e1a05000 	mov	r5, r0                                        
    4048:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
    404c:	1affff1d 	bne	3cc8 <rtems_termios_open+0x64>                
    4050:	eaffff26 	b	3cf0 <rtems_termios_open+0x8c>                  <== NOT EXECUTED
    4054:	0001a0dc 	.word	0x0001a0dc                                  
    4058:	0001a0e4 	.word	0x0001a0e4                                  
    405c:	000188a4 	.word	0x000188a4                                  
    4060:	0001a0e0 	.word	0x0001a0e0                                  
    4064:	54526900 	.word	0x54526900                                  
    4068:	54526f00 	.word	0x54526f00                                  
    406c:	54527800 	.word	0x54527800                                  
    4070:	54785400 	.word	0x54785400                                  
    4074:	52785400 	.word	0x52785400                                  
    4078:	54527200 	.word	0x54527200                                  
    407c:	00002502 	.word	0x00002502                                  
    4080:	00001805 	.word	0x00001805                                  
    4084:	000008bd 	.word	0x000008bd                                  
    4088:	0000823b 	.word	0x0000823b                                  
    408c:	00004100 	.word	0x00004100                                  
    4090:	00004094 	.word	0x00004094                                  
                                                                      
00002c00 <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) {            
    2c00:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
    2c04:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
    2c08:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    2c0c:	e1a04002 	mov	r4, r2                                        
    2c10:	e1a0a000 	mov	sl, r0                                        
    2c14:	e1a06001 	mov	r6, r1                                        
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
    2c18:	1a000005 	bne	2c34 <rtems_termios_puts+0x34>                
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
    2c1c:	e1a01000 	mov	r1, r0                                        
    2c20:	e1a02006 	mov	r2, r6                                        
    2c24:	e5940010 	ldr	r0, [r4, #16]                                 
    2c28:	e1a0e00f 	mov	lr, pc                                        
    2c2c:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         
		return;                                                             
    2c30:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
    2c34:	e5925080 	ldr	r5, [r2, #128]	; 0x80                         <== NOT EXECUTED
    2c38:	e3a07000 	mov	r7, #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;                                    
    2c3c:	e3a09002 	mov	r9, #2                                        <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
    2c40:	e3a0b001 	mov	fp, #1                                        <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
    2c44:	ea00002e 	b	2d04 <rtems_termios_puts+0x104>                 <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
    2c48:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
    2c4c:	e2850001 	add	r0, r5, #1                                    <== NOT EXECUTED
    2c50:	eb004e2d 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
    2c54:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2c58:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
    2c5c:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
    2c60:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
    2c64:	ea00000a 	b	2c94 <rtems_termios_puts+0x94>                  <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
    2c68:	e5849094 	str	r9, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2c6c:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
    2c70:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    2c74:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
    2c78:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    2c7c:	eb000779 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
    2c80:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
    2c84:	1b00090b 	blne	50b8 <rtems_fatal_error_occurred>            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2c88:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
    2c8c:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
    2c90:	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) {                            
    2c94:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
    2c98:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
    2c9c:	0afffff1 	beq	2c68 <rtems_termios_puts+0x68>                <== 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++;                
    2ca0:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
    2ca4:	e7da1007 	ldrb	r1, [sl, r7]                                 <== NOT EXECUTED
    2ca8:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         <== NOT EXECUTED
    2cac:	e7c21003 	strb	r1, [r2, r3]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
    2cb0:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
    2cb4:	e3530000 	cmp	r3, #0                                        <== 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;                                      
    2cb8:	e5845080 	str	r5, [r4, #128]	; 0x80                         <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
    2cbc:	1a00000d 	bne	2cf8 <rtems_termios_puts+0xf8>                <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
    2cc0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2cc4:	e3130010 	tst	r3, #16                                       <== 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;                                     
    2cc8:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
    2ccc:	13833020 	orrne	r3, r3, #32                                 <== NOT EXECUTED
    2cd0:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== 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)) {                             
    2cd4:	1a000006 	bne	2cf4 <rtems_termios_puts+0xf4>                <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
    2cd8:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
		    (*tty->device.write)(tty->minor,                                
    2cdc:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
    2ce0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    2ce4:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
    2ce8:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2cec:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2cf0:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
    2cf4:	e584b094 	str	fp, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2cf8:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
    2cfc:	e2466001 	sub	r6, r6, #1                                    <== NOT EXECUTED
    2d00:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
    2d04:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
    2d08:	1affffce 	bne	2c48 <rtems_termios_puts+0x48>                <== NOT EXECUTED
    2d0c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
000033d4 <rtems_termios_read>:                                        
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
    33d4:	e92d4ff1 	push	{r0, 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;                    
    33d8:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
    33dc:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
    33e0:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    33e4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
    33e8:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    33ec:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
    33f0:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
    33f4:	e5957010 	ldr	r7, [r5, #16]                                 <== NOT EXECUTED
	char      *buffer = args->buffer;                                    
    33f8:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    33fc:	eb000599 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
    3400:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
    3404:	1a0000c1 	bne	3710 <rtems_termios_read+0x33c>               <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
    3408:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
    340c:	e59f3304 	ldr	r3, [pc, #772]	; 3718 <rtems_termios_read+0x344><== NOT EXECUTED
    3410:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
    3414:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
    3418:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    341c:	0a000005 	beq	3438 <rtems_termios_read+0x64>                <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
    3420:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
    3424:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    3428:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    342c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    3430:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    3434:	ea0000b1 	b	3700 <rtems_termios_read+0x32c>                 <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
    3438:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
    343c:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    3440:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    3444:	1a00009a 	bne	36b4 <rtems_termios_read+0x2e0>               <== NOT EXECUTED
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
    3448:	e59420a0 	ldr	r2, [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;                               
    344c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
		if (tty->device.pollRead != NULL                                    
    3450:	e3520000 	cmp	r2, #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;                               
    3454:	e584302c 	str	r3, [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;                                      
    3458:	e5846020 	str	r6, [r4, #32]                                 <== NOT EXECUTED
    345c:	e5846024 	str	r6, [r4, #36]	; 0x24                          <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
    3460:	0a00003b 	beq	3554 <rtems_termios_read+0x180>               <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
    3464:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
    3468:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    346c:	1a000038 	bne	3554 <rtems_termios_read+0x180>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
    3470:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    3474:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
    3478:	0a00000d 	beq	34b4 <rtems_termios_read+0xe0>                <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
    347c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    3480:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    3484:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (n < 0) {                                                       
    3488:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
    348c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    3490:	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) {                                                       
    3494:	aa000002 	bge	34a4 <rtems_termios_read+0xd0>                <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
    3498:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    349c:	eb00069b 	bl	4f10 <rtems_task_wake_after>                   <== NOT EXECUTED
    34a0:	eafffff5 	b	347c <rtems_termios_read+0xa8>                  <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
    34a4:	ebffff67 	bl	3248 <siproc>                                  <== NOT EXECUTED
    34a8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    34ac:	0afffff2 	beq	347c <rtems_termios_read+0xa8>                <== NOT EXECUTED
    34b0:	ea00007f 	b	36b4 <rtems_termios_read+0x2e0>                 <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
    34b4:	eb0003de 	bl	4434 <rtems_clock_get_ticks_since_boot>        <== NOT EXECUTED
    34b8:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
    34bc:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    34c0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    34c4:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (n < 0) {                                                       
    34c8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    34cc:	aa000013 	bge	3520 <rtems_termios_read+0x14c>               <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN]) {                                    
    34d0:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
    34d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    34d8:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
    34dc:	0a000005 	beq	34f8 <rtems_termios_read+0x124>               <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
    34e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    34e4:	0a00000a 	beq	3514 <rtems_termios_read+0x140>               <== NOT EXECUTED
    34e8:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
    34ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    34f0:	0a000007 	beq	3514 <rtems_termios_read+0x140>               <== NOT EXECUTED
    34f4:	ea000001 	b	3500 <rtems_termios_read+0x12c>                 <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
    34f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    34fc:	0a00006c 	beq	36b4 <rtems_termios_read+0x2e0>               <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
    3500:	eb0003cb 	bl	4434 <rtems_clock_get_ticks_since_boot>        <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
    3504:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
    3508:	e0680000 	rsb	r0, r8, r0                                    <== NOT EXECUTED
    350c:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    3510:	8a000067 	bhi	36b4 <rtems_termios_read+0x2e0>               <== NOT EXECUTED
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
    3514:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    3518:	eb00067c 	bl	4f10 <rtems_task_wake_after>                   <== NOT EXECUTED
    351c:	eaffffe6 	b	34bc <rtems_termios_read+0xe8>                  <== NOT EXECUTED
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
    3520:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
    3524:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    3528:	ebffff46 	bl	3248 <siproc>                                  <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
    352c:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
    3530:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
    3534:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    3538:	aa00005d 	bge	36b4 <rtems_termios_read+0x2e0>               <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
    353c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    3540:	0affffdd 	beq	34bc <rtems_termios_read+0xe8>                <== NOT EXECUTED
    3544:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
    3548:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    354c:	0affffda 	beq	34bc <rtems_termios_read+0xe8>                <== NOT EXECUTED
    3550:	eaffffd7 	b	34b4 <rtems_termios_read+0xe0>                  <== 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;         
    3554:	e5948074 	ldr	r8, [r4, #116]	; 0x74                         <== NOT EXECUTED
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
    3558:	e284b049 	add	fp, r4, #73	; 0x49                            <== NOT EXECUTED
    355c:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
    3560:	e59f91b4 	ldr	r9, [pc, #436]	; 371c <rtems_termios_read+0x348><== NOT EXECUTED
    3564:	ea000041 	b	3670 <rtems_termios_read+0x29c>                 <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
    3568:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    356c:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
    3570:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
    3574:	eb004be4 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
    3578:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
    357c:	e7d38000 	ldrb	r8, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
    3580:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
    3584:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
    3588:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
    358c:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
    3590:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
    3594:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
    3598:	eb004bdb 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
    359c:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
    35a0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
    35a4:	2a00001f 	bcs	3628 <rtems_termios_read+0x254>               <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
    35a8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    35ac:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
    35b0:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
    35b4:	e59f3164 	ldr	r3, [pc, #356]	; 3720 <rtems_termios_read+0x34c><== NOT EXECUTED
    35b8:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    35bc:	e59f015c 	ldr	r0, [pc, #348]	; 3720 <rtems_termios_read+0x34c><== NOT EXECUTED
    35c0:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    35c4:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
    35c8:	1a00000b 	bne	35fc <rtems_termios_read+0x228>               <== NOT EXECUTED
    35cc:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
    35d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    35d4:	0a000002 	beq	35e4 <rtems_termios_read+0x210>               <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
    35d8:	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))                  
    35dc:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
    35e0:	0a000005 	beq	35fc <rtems_termios_read+0x228>               <== 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,                               
    35e4:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    35e8:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
    35ec:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    35f0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    35f4:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
    35f8:	ea00000a 	b	3628 <rtems_termios_read+0x254>                 <== NOT EXECUTED
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
    35fc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    3600:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
    3604:	0a000007 	beq	3628 <rtems_termios_read+0x254>               <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
    3608:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
    360c:	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;                                 
    3610:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
    3614:	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;                                 
    3618:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
			      tty->device.startRemoteTx(tty->minor);                       
    361c:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
    3620:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    3624:	112fff13 	bxne	r3                                           <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
    3628:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
    362c:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
    3630:	0a000005 	beq	364c <rtems_termios_read+0x278>               <== NOT EXECUTED
				if  (siproc (c, tty))                                             
    3634:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    3638:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    363c:	ebffff01 	bl	3248 <siproc>                                  <== NOT EXECUTED
    3640:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    3644:	1a000007 	bne	3668 <rtems_termios_read+0x294>               <== NOT EXECUTED
    3648:	ea000007 	b	366c <rtems_termios_read+0x298>                 <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
    364c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    3650:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    3654:	ebfffefb 	bl	3248 <siproc>                                  <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
    3658:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
    365c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
    3660:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    3664:	ba000000 	blt	366c <rtems_termios_read+0x298>               <== NOT EXECUTED
    3668:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
    366c:	e5948070 	ldr	r8, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
    3670:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    3674:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
    3678:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    367c:	0a000004 	beq	3694 <rtems_termios_read+0x2c0>               <== NOT EXECUTED
    3680:	e5993000 	ldr	r3, [r9]                                      <== NOT EXECUTED
    3684:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
    3688:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
    368c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    3690:	baffffb4 	blt	3568 <rtems_termios_read+0x194>               <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
    3694:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
    3698:	0a000005 	beq	36b4 <rtems_termios_read+0x2e0>               <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
    369c:	e2840068 	add	r0, r4, #104	; 0x68                           <== NOT EXECUTED
    36a0:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    36a4:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
    36a8:	eb0004ee 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
    36ac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    36b0:	0affffee 	beq	3670 <rtems_termios_read+0x29c>               <== NOT EXECUTED
{                                                                     
	rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;         
	rtems_status_code sc;                                                
	int               wait = (int)1;                                     
                                                                      
	while ( wait ) {                                                     
    36b4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    36b8:	ea000007 	b	36dc <rtems_termios_read+0x308>                 <== NOT EXECUTED
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
    36bc:	e594101c 	ldr	r1, [r4, #28]                                 <== NOT EXECUTED
    36c0:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
    36c4:	e7d11002 	ldrb	r1, [r1, r2]                                 <== NOT EXECUTED
    36c8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
    36cc:	e7c01003 	strb	r1, [r0, r3]                                 <== NOT EXECUTED
    36d0:	e5842024 	str	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
		count--;                                                            
    36d4:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
    36d8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
    36dc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    36e0:	0a000003 	beq	36f4 <rtems_termios_read+0x320>               <== NOT EXECUTED
    36e4:	e2841020 	add	r1, r4, #32                                   <== NOT EXECUTED
    36e8:	e8910006 	ldm	r1, {r1, r2}                                  <== NOT EXECUTED
    36ec:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
    36f0:	bafffff1 	blt	36bc <rtems_termios_read+0x2e8>               <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
    36f4:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
    36f8:	e0677003 	rsb	r7, r7, r3                                    <== NOT EXECUTED
    36fc:	e5857018 	str	r7, [r5, #24]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
    3700:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    3704:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	rtems_semaphore_release (tty->isem);                                 
    3708:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
    370c:	eb00051b 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
	return sc;                                                           
}                                                                     
    3710:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    3714:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      <== NOT EXECUTED
    3718:	00019d9c 	.word	0x00019d9c                                  
    371c:	000188a4 	.word	0x000188a4                                  
    3720:	00000202 	.word	0x00000202                                  
                                                                      
000026e0 <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))          
    26e0:	e59020b8 	ldr	r2, [r0, #184]	; 0xb8                         <== NOT EXECUTED
    26e4:	e59f31d0 	ldr	r3, [pc, #464]	; 28bc <rtems_termios_refill_transmitter+0x1dc><== NOT EXECUTED
    26e8:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    26ec:	e59f21cc 	ldr	r2, [pc, #460]	; 28c0 <rtems_termios_refill_transmitter+0x1e0><== NOT EXECUTED
    26f0:	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)      
{                                                                     
    26f4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
    26f8:	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))          
    26fc:	1a00000e 	bne	273c <rtems_termios_refill_transmitter+0x5c>  <== NOT EXECUTED
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
    2700:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
    2704:	e2422b01 	sub	r2, r2, #1024	; 0x400                         <== NOT EXECUTED
    2708:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
    270c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    2710:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2714:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    2718:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    271c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    2720:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
    2724:	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--;                                                    
    2728:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
    272c:	e3811002 	orr	r1, r1, #2                                    <== NOT EXECUTED
    2730:	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--;                                                    
    2734:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
    2738:	ea000011 	b	2784 <rtems_termios_refill_transmitter+0xa4>    <== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
    273c:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
    2740:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
    2744:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
    2748:	1a000010 	bne	2790 <rtems_termios_refill_transmitter+0xb0>  <== 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,                                   
    274c:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
    2750:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2754:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
    2758:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    275c:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
    2760:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    2764:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    2768:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
    276c:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
    2770:	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--;                                                    
    2774:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
    2778:	e3c11002 	bic	r1, r1, #2                                    <== NOT EXECUTED
    277c:	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--;                                                    
    2780:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2784:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    2788:	e3a05001 	mov	r5, #1                                        <== NOT EXECUTED
    278c:	ea000048 	b	28b4 <rtems_termios_refill_transmitter+0x1d4>   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
    2790:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
    2794:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
    2798:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
    279c:	1a000005 	bne	27b8 <rtems_termios_refill_transmitter+0xd8>  <== NOT EXECUTED
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
    27a0:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
    27a4:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
    27a8:	0590008c 	ldreq	r0, [r0, #140]	; 0x8c                       <== NOT EXECUTED
    27ac:	0b0008f3 	bleq	4b80 <rtems_semaphore_release>               <== NOT EXECUTED
    27b0:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
    27b4:	ea00003e 	b	28b4 <rtems_termios_refill_transmitter+0x1d4>   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    27b8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    27bc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    27c0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
    27c4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
    27c8:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
    27cc:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    27d0:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
    27d4:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
    27d8:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
    27dc:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
    27e0:	eb004f49 	bl	1650c <__umodsi3>                              <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
    27e4:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
    27e8:	e3530002 	cmp	r3, #2                                        <== 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;       
    27ec:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
    27f0:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
    27f4:	0594008c 	ldreq	r0, [r4, #140]	; 0x8c                       <== NOT EXECUTED
    27f8:	0b0008e0 	bleq	4b80 <rtems_semaphore_release>               <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
    27fc:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
    2800:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
    2804:	1a00000a 	bne	2834 <rtems_termios_refill_transmitter+0x154> <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    2808:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
    280c:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    2810:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
    2814:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
    2818:	01a05003 	moveq	r5, r3                                      <== NOT EXECUTED
    281c:	0a000023 	beq	28b0 <rtems_termios_refill_transmitter+0x1d0> <== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
    2820:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
    2824:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
    2828:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    282c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    2830:	ea00001e 	b	28b0 <rtems_termios_refill_transmitter+0x1d0>   <== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  /* check, whether output should stop due to received XOFF */       
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
    2834:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2838:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
    283c:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
    2840:	1a00000a 	bne	2870 <rtems_termios_refill_transmitter+0x190> <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
    2844:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
    2848:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
    284c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		   ==                (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;                                       
    2850:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    2854:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
    2858:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
    285c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
    2860:	e5842094 	str	r2, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
    2864:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
    2868:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
    286c:	ea00000f 	b	28b0 <rtems_termios_refill_transmitter+0x1d0>   <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
    2870:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
    2874:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
    2878:	85945088 	ldrhi	r5, [r4, #136]	; 0x88                       <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
    287c:	95945080 	ldrls	r5, [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)) {                    
    2880:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
    2884:	e0665005 	rsb	r5, r6, r5                                    <== 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)) {                    
    2888:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
    288c:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
	    /* 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)) {                    
    2890:	13a05001 	movne	r5, #1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
    2894:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
    2898:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
    289c:	e0811006 	add	r1, r1, r6                                    <== NOT EXECUTED
    28a0:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    28a4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    28a8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    28ac:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
    28b0:	e5846084 	str	r6, [r4, #132]	; 0x84                         <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
    28b4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    28b8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    28bc:	00000403 	.word	0x00000403                                  
    28c0:	00000401 	.word	0x00000401                                  
                                                                      
00004100 <rtems_termios_rxdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
    4100:	e92d40f3 	push	{r0, r1, r4, r5, r6, r7, lr}                 <== NOT EXECUTED
    4104:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
    4108:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
    410c:	e28d6007 	add	r6, sp, #7                                    <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
    4110:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
    4114:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
    4118:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    411c:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
    4120:	eb0000e0 	bl	44a8 <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) {                
    4124:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    4128:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
    412c:	0a000003 	beq	4140 <rtems_termios_rxdaemon+0x40>            <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
    4130:	e58450c4 	str	r5, [r4, #196]	; 0xc4                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
    4134:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    4138:	eb000309 	bl	4d64 <rtems_task_delete>                       <== NOT EXECUTED
    413c:	eafffff3 	b	4110 <rtems_termios_rxdaemon+0x10>              <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
    4140:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
    4144:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    4148:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (c != EOF) {                                                    
    414c:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
    4150:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
    4154:	0affffed 	beq	4110 <rtems_termios_rxdaemon+0x10>            <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
    4158:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    415c:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
    4160:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
    4164:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
    4168:	ebfff9f1 	bl	2934 <rtems_termios_enqueue_raw_characters>    <== NOT EXECUTED
    416c:	eaffffe7 	b	4110 <rtems_termios_rxdaemon+0x10>              <== NOT EXECUTED
                                                                      
000026d4 <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);               
    26d4:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
    26d8:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
    26dc:	ea0007cd 	b	4618 <rtems_event_send>                         <== NOT EXECUTED
                                                                      
00004094 <rtems_termios_txdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
    4094:	e92d40f1 	push	{r0, r4, r5, r6, r7, lr}                     <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
    4098:	e59f705c 	ldr	r7, [pc, #92]	; 40fc <rtems_termios_txdaemon+0x68><== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
    409c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
    40a0:	e3a05000 	mov	r5, #0                                        <== NOT EXECUTED
    40a4:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
    40a8:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
    40ac:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    40b0:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
    40b4:	eb0000fb 	bl	44a8 <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) {                
    40b8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    40bc:	e3130001 	tst	r3, #1                                        <== 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);                   
    40c0:	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) {                
    40c4:	0a000003 	beq	40d8 <rtems_termios_txdaemon+0x44>            <== NOT EXECUTED
			tty->txTaskId = 0;                                                 
    40c8:	e58450c8 	str	r5, [r4, #200]	; 0xc8                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
    40cc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    40d0:	eb000323 	bl	4d64 <rtems_task_delete>                       <== NOT EXECUTED
    40d4:	eafffff2 	b	40a4 <rtems_termios_txdaemon+0x10>              <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
    40d8:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
    40dc:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
    40e0:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
    40e4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
    40e8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    40ec:	112fff13 	bxne	r3                                           <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
    40f0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    40f4:	ebfff979 	bl	26e0 <rtems_termios_refill_transmitter>        <== NOT EXECUTED
    40f8:	eaffffe9 	b	40a4 <rtems_termios_txdaemon+0x10>              <== NOT EXECUTED
    40fc:	00019d9c 	.word	0x00019d9c                                  
                                                                      
000032a8 <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;                    
    32a8:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
    32ac:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
    32b0:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    32b4:	e3a01000 	mov	r1, #0                                        
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
    32b8:	e1a04000 	mov	r4, 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);
    32bc:	e1a02001 	mov	r2, r1                                        
    32c0:	e5950018 	ldr	r0, [r5, #24]                                 
    32c4:	eb0005e7 	bl	4a68 <rtems_semaphore_obtain>                  
	if (sc != RTEMS_SUCCESSFUL)                                          
    32c8:	e2506000 	subs	r6, r0, #0                                   
    32cc:	1a000022 	bne	335c <rtems_termios_write+0xb4>               
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
    32d0:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         
    32d4:	e59f3088 	ldr	r3, [pc, #136]	; 3364 <rtems_termios_write+0xbc>
    32d8:	e0833282 	add	r3, r3, r2, lsl #5                            
    32dc:	e593300c 	ldr	r3, [r3, #12]                                 
    32e0:	e3530000 	cmp	r3, #0                                        
    32e4:	0a000005 	beq	3300 <rtems_termios_write+0x58>               
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
    32e8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    32ec:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    32f0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
    32f4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    32f8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    32fc:	ea000014 	b	3354 <rtems_termios_write+0xac>                 <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
    3300:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
    3304:	e3130001 	tst	r3, #1                                        
		uint32_t   count = args->count;                                     
    3308:	15948010 	ldrne	r8, [r4, #16]                               
		char      *buffer = args->buffer;                                   
    330c:	1594a00c 	ldrne	sl, [r4, #12]                               
    3310:	11a07006 	movne	r7, r6                                      
	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) {                                  
    3314:	1a000004 	bne	332c <rtems_termios_write+0x84>               
    3318:	ea000007 	b	333c <rtems_termios_write+0x94>                 <== NOT EXECUTED
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
    331c:	e7da0007 	ldrb	r0, [sl, r7]                                 
    3320:	ebfffe7a 	bl	2d10 <oproc>                                   
    3324:	e2877001 	add	r7, r7, #1                                    
    3328:	e2488001 	sub	r8, r8, #1                                    
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
    332c:	e3580000 	cmp	r8, #0                                        
			oproc (*buffer++, tty);                                            
    3330:	e1a01005 	mov	r1, r5                                        
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
    3334:	1afffff8 	bne	331c <rtems_termios_write+0x74>               
    3338:	ea000003 	b	334c <rtems_termios_write+0xa4>                 
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
    333c:	e284000c 	add	r0, r4, #12                                   <== NOT EXECUTED
    3340:	e8900003 	ldm	r0, {r0, r1}                                  <== NOT EXECUTED
    3344:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    3348:	ebfffe2c 	bl	2c00 <rtems_termios_puts>                      <== NOT EXECUTED
		args->bytes_moved = args->count;                                    
    334c:	e5943010 	ldr	r3, [r4, #16]                                 
    3350:	e5843018 	str	r3, [r4, #24]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
    3354:	e5950018 	ldr	r0, [r5, #24]                                 
    3358:	eb000608 	bl	4b80 <rtems_semaphore_release>                 
	return sc;                                                           
}                                                                     
    335c:	e1a00006 	mov	r0, r6                                        
    3360:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    3364:	00019d9c 	.word	0x00019d9c                                  
                                                                      
0000632c <rtems_verror>:                                              
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
    632c:	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)                               
    6330:	e2107202 	ands	r7, r0, #536870912	; 0x20000000              <== NOT EXECUTED
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
    6334:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    6338:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
    633c:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
    6340:	0a00000d 	beq	637c <rtems_verror+0x50>                      <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
    6344:	e59f3160 	ldr	r3, [pc, #352]	; 64ac <rtems_verror+0x180>    <== NOT EXECUTED
    6348:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
    634c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    6350:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
    6354:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    6358:	0a000003 	beq	636c <rtems_verror+0x40>                      <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
    635c:	e59f314c 	ldr	r3, [pc, #332]	; 64b0 <rtems_verror+0x184>    <== NOT EXECUTED
    6360:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
    6364:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
    6368:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
    636c:	e59f3138 	ldr	r3, [pc, #312]	; 64ac <rtems_verror+0x180>    <== NOT EXECUTED
    6370:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    6374:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
    6378:	ca000049 	bgt	64a4 <rtems_verror+0x178>                     <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
    637c:	e59f3130 	ldr	r3, [pc, #304]	; 64b4 <rtems_verror+0x188>    <== NOT EXECUTED
    6380:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    6384:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
    6388:	eb0034ad 	bl	13644 <fflush>                                 <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
    638c:	e2165101 	ands	r5, r6, #1073741824	; 0x40000000             <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    6390:	e3c68207 	bic	r8, r6, #1879048192	; 0x70000000              <== NOT EXECUTED
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
    6394:	0a000001 	beq	63a0 <rtems_verror+0x74>                      <== NOT EXECUTED
        local_errno = errno;                                          
    6398:	eb0033b6 	bl	13278 <__errno>                                <== NOT EXECUTED
    639c:	e5905000 	ldr	r5, [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);        
    63a0:	e59fa10c 	ldr	sl, [pc, #268]	; 64b4 <rtems_verror+0x188>    <== NOT EXECUTED
    63a4:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
    63a8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
    63ac:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
    63b0:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    63b4:	eb004cc3 	bl	196c8 <vfprintf>                               <== NOT EXECUTED
                                                                      
    if (status)                                                       
    63b8:	e3580000 	cmp	r8, #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);        
    63bc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
    63c0:	0a000008 	beq	63e8 <rtems_verror+0xbc>                      <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
    63c4:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
    63c8:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    63cc:	e593800c 	ldr	r8, [r3, #12]                                 <== NOT EXECUTED
    63d0:	ebffffd1 	bl	631c <rtems_status_text>                       <== NOT EXECUTED
    63d4:	e59f10dc 	ldr	r1, [pc, #220]	; 64b8 <rtems_verror+0x18c>    <== NOT EXECUTED
    63d8:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
    63dc:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    63e0:	eb003555 	bl	1393c <fprintf>                                <== NOT EXECUTED
    63e4:	e0844000 	add	r4, r4, r0                                    <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
    63e8:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
    63ec:	0a000015 	beq	6448 <rtems_verror+0x11c>                     <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
    63f0:	da00000d 	ble	642c <rtems_verror+0x100>                     <== NOT EXECUTED
    63f4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    63f8:	eb003862 	bl	14588 <strerror>                               <== NOT EXECUTED
    63fc:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
    6400:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    6404:	0a000008 	beq	642c <rtems_verror+0x100>                     <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    6408:	e59f30a4 	ldr	r3, [pc, #164]	; 64b4 <rtems_verror+0x188>    <== NOT EXECUTED
    640c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    6410:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    6414:	e593800c 	ldr	r8, [r3, #12]                                 <== NOT EXECUTED
    6418:	eb00385a 	bl	14588 <strerror>                               <== NOT EXECUTED
    641c:	e59f1098 	ldr	r1, [pc, #152]	; 64bc <rtems_verror+0x190>    <== NOT EXECUTED
    6420:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
    6424:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
    6428:	ea000004 	b	6440 <rtems_verror+0x114>                       <== NOT EXECUTED
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    642c:	e59f3080 	ldr	r3, [pc, #128]	; 64b4 <rtems_verror+0x188>    <== NOT EXECUTED
    6430:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    6434:	e59f1084 	ldr	r1, [pc, #132]	; 64c0 <rtems_verror+0x194>    <== NOT EXECUTED
    6438:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    643c:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
    6440:	eb00353d 	bl	1393c <fprintf>                                <== NOT EXECUTED
    6444:	e0844000 	add	r4, r4, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
    6448:	e59f8064 	ldr	r8, [pc, #100]	; 64b4 <rtems_verror+0x188>    <== NOT EXECUTED
    644c:	e5983000 	ldr	r3, [r8]                                      <== NOT EXECUTED
    6450:	e59f106c 	ldr	r1, [pc, #108]	; 64c4 <rtems_verror+0x198>    <== NOT EXECUTED
    6454:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    6458:	eb003537 	bl	1393c <fprintf>                                <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
    645c:	e5983000 	ldr	r3, [r8]                                      <== 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");                           
    6460:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
    6464:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
    6468:	eb003475 	bl	13644 <fflush>                                 <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    646c:	e3160203 	tst	r6, #805306368	; 0x30000000                   <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
    6470:	008a0004 	addeq	r0, sl, r4                                  <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    6474:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
    6478:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
    647c:	0a000004 	beq	6494 <rtems_verror+0x168>                     <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
    6480:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    6484:	e59f103c 	ldr	r1, [pc, #60]	; 64c8 <rtems_verror+0x19c>     <== NOT EXECUTED
    6488:	eb00001b 	bl	64fc <rtems_error>                             <== NOT EXECUTED
            _exit(local_errno);                                       
    648c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    6490:	eb0002cf 	bl	6fd4 <_exit>                                   <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
    6494:	e59f1030 	ldr	r1, [pc, #48]	; 64cc <rtems_verror+0x1a0>     <== NOT EXECUTED
    6498:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
    649c:	eb000016 	bl	64fc <rtems_error>                             <== NOT EXECUTED
            abort();                                                  
    64a0:	eb00336b 	bl	13254 <abort>                                  <== NOT EXECUTED
    64a4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
    64a8:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
    64ac:	00024f04 	.word	0x00024f04                                  
    64b0:	0002508c 	.word	0x0002508c                                  
    64b4:	00022248 	.word	0x00022248                                  
    64b8:	00023b9f 	.word	0x00023b9f                                  
    64bc:	00023bad 	.word	0x00023bad                                  
    64c0:	00023bba 	.word	0x00023bba                                  
    64c4:	00023ee1 	.word	0x00023ee1                                  
    64c8:	00023bce 	.word	0x00023bce                                  
    64cc:	00023be3 	.word	0x00023be3                                  
                                                                      
00022270 <scanInt>:                                                   
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
   22270:	e92d4ff1 	push	{r0, r4, r5, r6, r7, r8, r9, sl, fp, lr}     
   22274:	e3a04000 	mov	r4, #0                                        
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   22278:	e59fb0d4 	ldr	fp, [pc, #212]	; 22354 <scanInt+0xe4>         
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
   2227c:	e59f90d4 	ldr	r9, [pc, #212]	; 22358 <scanInt+0xe8>         
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
   22280:	e58d1000 	str	r1, [sp]                                      
   22284:	e1a05000 	mov	r5, r0                                        
   22288:	e3e08102 	mvn	r8, #-2147483648	; 0x80000000                 
   2228c:	e1a07004 	mov	r7, r4                                        
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
   22290:	e3a0a00a 	mov	sl, #10                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   22294:	e5953004 	ldr	r3, [r5, #4]                                  
   22298:	e2433001 	sub	r3, r3, #1                                    
   2229c:	e3530000 	cmp	r3, #0                                        
   222a0:	e5853004 	str	r3, [r5, #4]                                  
   222a4:	a5953000 	ldrge	r3, [r5]                                    
   222a8:	a4d36001 	ldrbge	r6, [r3], #1                               
   222ac:	a5853000 	strge	r3, [r5]                                    
   222b0:	aa000003 	bge	222c4 <scanInt+0x54>                          
   222b4:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
   222b8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   222bc:	eb00716a 	bl	3e86c <__srget_r>                              <== NOT EXECUTED
   222c0:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    if (c == ':')                                                     
   222c4:	e356003a 	cmp	r6, #58	; 0x3a                                
   222c8:	0a000019 	beq	22334 <scanInt+0xc4>                          
      break;                                                          
    if (sign == 0) {                                                  
   222cc:	e3540000 	cmp	r4, #0                                        
   222d0:	1a000004 	bne	222e8 <scanInt+0x78>                          
      if (c == '-') {                                                 
   222d4:	e356002d 	cmp	r6, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
   222d8:	02888001 	addeq	r8, r8, #1                                  
   222dc:	03e04000 	mvneq	r4, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
   222e0:	0affffeb 	beq	22294 <scanInt+0x24>                          
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
   222e4:	e3a04001 	mov	r4, #1                                        
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
   222e8:	e5993000 	ldr	r3, [r9]                                      
   222ec:	e0833006 	add	r3, r3, r6                                    
   222f0:	e5d33001 	ldrb	r3, [r3, #1]                                 
   222f4:	e3130004 	tst	r3, #4                                        
   222f8:	0a000013 	beq	2234c <scanInt+0xdc>                          
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
   222fc:	e1a00008 	mov	r0, r8                                        
   22300:	e3a0100a 	mov	r1, #10                                       
   22304:	eb00bbee 	bl	512c4 <__aeabi_uidiv>                          
   22308:	e1570000 	cmp	r7, r0                                        
   2230c:	8a00000e 	bhi	2234c <scanInt+0xdc>                          
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
   22310:	e2466030 	sub	r6, r6, #48	; 0x30                            
    if ((i > (limit / 10))                                            
   22314:	1a000004 	bne	2232c <scanInt+0xbc>                          
   22318:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
   2231c:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
   22320:	eb00bc7b 	bl	51514 <__umodsi3>                              <== NOT EXECUTED
   22324:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
   22328:	8a000007 	bhi	2234c <scanInt+0xdc>                          <== NOT EXECUTED
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
   2232c:	e027679a 	mla	r7, sl, r7, r6                                
   22330:	eaffffd7 	b	22294 <scanInt+0x24>                            
  }                                                                   
  if (sign == 0)                                                      
   22334:	e3540000 	cmp	r4, #0                                        
    return 0;                                                         
  *val = i * sign;                                                    
   22338:	10030497 	mulne	r3, r7, r4                                  
   2233c:	159d2000 	ldrne	r2, [sp]                                    
   22340:	13a00001 	movne	r0, #1                                      
   22344:	15823000 	strne	r3, [r2]                                    
  return 1;                                                           
   22348:	1a000000 	bne	22350 <scanInt+0xe0>                          
   2234c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
   22350:	e8bd8ff8 	pop	{r3, r4, r5, r6, r7, r8, r9, sl, fp, pc}      
   22354:	00054070 	.word	0x00054070                                  
   22358:	00054064 	.word	0x00054064                                  
                                                                      
0002235c <scanString>:                                                
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   2235c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
   22360:	e1a04002 	mov	r4, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   22364:	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)
{                                                                     
   22368:	e59d6018 	ldr	r6, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   2236c:	e5812000 	str	r2, [r1]                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   22370:	e59f70c0 	ldr	r7, [pc, #192]	; 22438 <scanString+0xdc>      
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   22374:	e1a05000 	mov	r5, r0                                        
   22378:	e1a08003 	mov	r8, r3                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   2237c:	e5953004 	ldr	r3, [r5, #4]                                  
   22380:	e2433001 	sub	r3, r3, #1                                    
   22384:	e3530000 	cmp	r3, #0                                        
   22388:	e5853004 	str	r3, [r5, #4]                                  
   2238c:	a5953000 	ldrge	r3, [r5]                                    
   22390:	a4d30001 	ldrbge	r0, [r3], #1                               
   22394:	a5853000 	strge	r3, [r5]                                    
   22398:	b5970000 	ldrlt	r0, [r7]                                    
   2239c:	b1a01005 	movlt	r1, r5                                      
   223a0:	bb007131 	bllt	3e86c <__srget_r>                            
    if (c == ':') {                                                   
   223a4:	e350003a 	cmp	r0, #58	; 0x3a                                
   223a8:	1a000002 	bne	223b8 <scanString+0x5c>                       
        if (nlFlag)                                                   
   223ac:	e3560000 	cmp	r6, #0                                        
   223b0:	0a000013 	beq	22404 <scanString+0xa8>                       
   223b4:	ea00001d 	b	22430 <scanString+0xd4>                         <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
   223b8:	e350000a 	cmp	r0, #10                                       
   223bc:	1a000002 	bne	223cc <scanString+0x70>                       
        if (!nlFlag)                                                  
   223c0:	e3560000 	cmp	r6, #0                                        
   223c4:	1a00000e 	bne	22404 <scanString+0xa8>                       
   223c8:	ea000018 	b	22430 <scanString+0xd4>                         <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
   223cc:	e3700001 	cmn	r0, #1                                        
   223d0:	0a000016 	beq	22430 <scanString+0xd4>                       
      return 0;                                                       
    if (*nleft < 2)                                                   
   223d4:	e5983000 	ldr	r3, [r8]                                      
   223d8:	e3530001 	cmp	r3, #1                                        
   223dc:	9a000013 	bls	22430 <scanString+0xd4>                       
      return 0;                                                       
    **bufp = c;                                                       
   223e0:	e5943000 	ldr	r3, [r4]                                      
   223e4:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
   223e8:	e5942000 	ldr	r2, [r4]                                      
    --(*nleft);                                                       
   223ec:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
   223f0:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
   223f4:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
   223f8:	e5842000 	str	r2, [r4]                                      
    --(*nleft);                                                       
   223fc:	e5883000 	str	r3, [r8]                                      
  }                                                                   
   22400:	eaffffdd 	b	2237c <scanString+0x20>                         
  **bufp = '\0';                                                      
   22404:	e5943000 	ldr	r3, [r4]                                      
   22408:	e3a02000 	mov	r2, #0                                        
   2240c:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
   22410:	e5942000 	ldr	r2, [r4]                                      
  --(*nleft);                                                         
   22414:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
   22418:	e2822001 	add	r2, r2, #1                                    
  --(*nleft);                                                         
   2241c:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
   22420:	e5842000 	str	r2, [r4]                                      
  --(*nleft);                                                         
   22424:	e5883000 	str	r3, [r8]                                      
   22428:	e3a00001 	mov	r0, #1                                        
  return 1;                                                           
   2242c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   22430:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
   22434:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
   22438:	00054070 	.word	0x00054070                                  
                                                                      
0002243c <scangr>:                                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   2243c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
   22440:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   22444:	e28d6008 	add	r6, sp, #8                                    
   22448:	e28d5004 	add	r5, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   2244c:	e58d2008 	str	r2, [sp, #8]                                  
   22450:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   22454:	e3a08000 	mov	r8, #0                                        
   22458:	e1a02006 	mov	r2, r6                                        
   2245c:	e1a03005 	mov	r3, r5                                        
   22460:	e58d8000 	str	r8, [sp]                                      
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   22464:	e1a07000 	mov	r7, r0                                        
   22468:	e1a04001 	mov	r4, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   2246c:	ebffffba 	bl	2235c <scanString>                             
   22470:	e1500008 	cmp	r0, r8                                        
   22474:	0a00003b 	beq	22568 <scangr+0x12c>                          
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   22478:	e1a00007 	mov	r0, r7                                        
   2247c:	e2841004 	add	r1, r4, #4                                    
   22480:	e1a02006 	mov	r2, r6                                        
   22484:	e1a03005 	mov	r3, r5                                        
   22488:	e58d8000 	str	r8, [sp]                                      
   2248c:	ebffffb2 	bl	2235c <scanString>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   22490:	e1500008 	cmp	r0, r8                                        
   22494:	0a000033 	beq	22568 <scangr+0x12c>                          
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   22498:	e1a00007 	mov	r0, r7                                        
   2249c:	e28d1010 	add	r1, sp, #16                                   
   224a0:	ebffff72 	bl	22270 <scanInt>                                
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   224a4:	e1500008 	cmp	r0, r8                                        
   224a8:	0a00002e 	beq	22568 <scangr+0x12c>                          
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
   224ac:	e1a03005 	mov	r3, r5                                        
   224b0:	e28d100c 	add	r1, sp, #12                                   
   224b4:	e1a00007 	mov	r0, r7                                        
   224b8:	e1a02006 	mov	r2, r6                                        
   224bc:	e3a05001 	mov	r5, #1                                        
   224c0:	e58d5000 	str	r5, [sp]                                      
   224c4:	ebffffa4 	bl	2235c <scanString>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   224c8:	e1500008 	cmp	r0, r8                                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
   224cc:	11dd31b0 	ldrhne	r3, [sp, #16]                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   224d0:	159d100c 	ldrne	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;                                                
   224d4:	11c430b8 	strhne	r3, [r4, #8]                               
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   224d8:	1a000003 	bne	224ec <scangr+0xb0>                           
   224dc:	ea000021 	b	22568 <scangr+0x12c>                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',')                                                    
   224e0:	e352002c 	cmp	r2, #44	; 0x2c                                
      memcount++;                                                     
   224e4:	02855001 	addeq	r5, r5, #1                                  
   224e8:	e2888001 	add	r8, r8, #1                                    
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   224ec:	e7d12008 	ldrb	r2, [r1, r8]                                 
   224f0:	e3520000 	cmp	r2, #0                                        
   224f4:	1afffff9 	bne	224e0 <scangr+0xa4>                           
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
   224f8:	e1a05105 	lsl	r5, r5, #2                                    
   224fc:	e59d3004 	ldr	r3, [sp, #4]                                  
   22500:	e2855013 	add	r5, r5, #19                                   
   22504:	e1530005 	cmp	r3, r5                                        
   22508:	3a000016 	bcc	22568 <scangr+0x12c>                          
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   2250c:	e59d3008 	ldr	r3, [sp, #8]                                  
   22510:	e283300f 	add	r3, r3, #15                                   
   22514:	e3c3300f 	bic	r3, r3, #15                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   22518:	e5831000 	str	r1, [r3]                                      
  /*                                                                  
   * 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);            
   2251c:	e584300c 	str	r3, [r4, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   22520:	e59d300c 	ldr	r3, [sp, #12]                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
   22524:	e1a00002 	mov	r0, r2                                        
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   22528:	e2833001 	add	r3, r3, #1                                    
   2252c:	e2822001 	add	r2, r2, #1                                    
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   22530:	ea000005 	b	2254c <scangr+0x110>                            
    if(*cp == ',') {                                                  
   22534:	e351002c 	cmp	r1, #44	; 0x2c                                
      *cp = '\0';                                                     
   22538:	05430001 	strbeq	r0, [r3, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
   2253c:	0594100c 	ldreq	r1, [r4, #12]                               
   22540:	07813102 	streq	r3, [r1, r2, lsl #2]                        
   22544:	02822001 	addeq	r2, r2, #1                                  
   22548:	e2833001 	add	r3, r3, #1                                    
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   2254c:	e5531001 	ldrb	r1, [r3, #-1]                                
   22550:	e3510000 	cmp	r1, #0                                        
   22554:	1afffff6 	bne	22534 <scangr+0xf8>                           
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
   22558:	e594300c 	ldr	r3, [r4, #12]                                 
   2255c:	e3a00001 	mov	r0, #1                                        
   22560:	e7831102 	str	r1, [r3, r2, lsl #2]                          
  return 1;                                                           
   22564:	ea000000 	b	2256c <scangr+0x130>                            
   22568:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
   2256c:	e28dd014 	add	sp, sp, #20                                   
   22570:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
000225b0 <scanpw>:                                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   225b0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
   225b4:	e24dd014 	sub	sp, sp, #20                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   225b8:	e28d7008 	add	r7, sp, #8                                    
   225bc:	e28d6004 	add	r6, sp, #4                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   225c0:	e58d2008 	str	r2, [sp, #8]                                  
   225c4:	e58d3004 	str	r3, [sp, #4]                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   225c8:	e3a08000 	mov	r8, #0                                        
   225cc:	e1a02007 	mov	r2, r7                                        
   225d0:	e1a03006 	mov	r3, r6                                        
   225d4:	e58d8000 	str	r8, [sp]                                      
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   225d8:	e1a05000 	mov	r5, r0                                        
   225dc:	e1a04001 	mov	r4, r1                                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   225e0:	ebffff5d 	bl	2235c <scanString>                             
   225e4:	e1500008 	cmp	r0, r8                                        
   225e8:	0a000038 	beq	226d0 <scanpw+0x120>                          
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   225ec:	e1a00005 	mov	r0, r5                                        
   225f0:	e2841004 	add	r1, r4, #4                                    
   225f4:	e1a02007 	mov	r2, r7                                        
   225f8:	e1a03006 	mov	r3, r6                                        
   225fc:	e58d8000 	str	r8, [sp]                                      
   22600:	ebffff55 	bl	2235c <scanString>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   22604:	e1500008 	cmp	r0, r8                                        
   22608:	0a000030 	beq	226d0 <scanpw+0x120>                          
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   2260c:	e1a00005 	mov	r0, r5                                        
   22610:	e28d1010 	add	r1, sp, #16                                   
   22614:	ebffff15 	bl	22270 <scanInt>                                
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   22618:	e1500008 	cmp	r0, r8                                        
   2261c:	0a00002b 	beq	226d0 <scanpw+0x120>                          
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   22620:	e1a00005 	mov	r0, r5                                        
   22624:	e28d100c 	add	r1, sp, #12                                   
   22628:	ebffff10 	bl	22270 <scanInt>                                
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   2262c:	e1500008 	cmp	r0, r8                                        
   22630:	0a000026 	beq	226d0 <scanpw+0x120>                          
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   22634:	e1a00005 	mov	r0, r5                                        
   22638:	e284100c 	add	r1, r4, #12                                   
   2263c:	e1a02007 	mov	r2, r7                                        
   22640:	e1a03006 	mov	r3, r6                                        
   22644:	e58d8000 	str	r8, [sp]                                      
   22648:	ebffff43 	bl	2235c <scanString>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   2264c:	e1500008 	cmp	r0, r8                                        
   22650:	0a00001e 	beq	226d0 <scanpw+0x120>                          
   || !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)           
   22654:	e1a00005 	mov	r0, r5                                        
   22658:	e2841010 	add	r1, r4, #16                                   
   2265c:	e1a02007 	mov	r2, r7                                        
   22660:	e1a03006 	mov	r3, r6                                        
   22664:	e58d8000 	str	r8, [sp]                                      
   22668:	ebffff3b 	bl	2235c <scanString>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   2266c:	e1500008 	cmp	r0, r8                                        
   22670:	0a000016 	beq	226d0 <scanpw+0x120>                          
   || !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)             
   22674:	e1a00005 	mov	r0, r5                                        
   22678:	e2841014 	add	r1, r4, #20                                   
   2267c:	e1a02007 	mov	r2, r7                                        
   22680:	e1a03006 	mov	r3, r6                                        
   22684:	e58d8000 	str	r8, [sp]                                      
   22688:	ebffff33 	bl	2235c <scanString>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   2268c:	e1500008 	cmp	r0, r8                                        
   22690:	0a00000e 	beq	226d0 <scanpw+0x120>                          
   || !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))          
   22694:	e1a00005 	mov	r0, r5                                        
   22698:	e1a02007 	mov	r2, r7                                        
   2269c:	e1a03006 	mov	r3, r6                                        
   226a0:	e3a05001 	mov	r5, #1                                        
   226a4:	e2841018 	add	r1, r4, #24                                   
   226a8:	e58d5000 	str	r5, [sp]                                      
   226ac:	ebffff2a 	bl	2235c <scanString>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   226b0:	e1500008 	cmp	r0, r8                                        
   226b4:	0a000005 	beq	226d0 <scanpw+0x120>                          
   || !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;                                                
   226b8:	e1dd30bc 	ldrh	r3, [sp, #12]                                
   226bc:	e1c430ba 	strh	r3, [r4, #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;                                                
   226c0:	e1dd31b0 	ldrh	r3, [sp, #16]                                
  pwd->pw_gid = pwgid;                                                
   226c4:	e1a00005 	mov	r0, r5                                        
   || !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;                                                
   226c8:	e1c430b8 	strh	r3, [r4, #8]                                 
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
   226cc:	ea000000 	b	226d4 <scanpw+0x124>                            
   226d0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
   226d4:	e28dd014 	add	sp, sp, #20                                   
   226d8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
00022218 <setgid>:                                                    
                                                                      
int setgid(                                                           
  gid_t  gid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Gid = gid;                                             
   22218:	e59f300c 	ldr	r3, [pc, #12]	; 2222c <setgid+0x14>           <== NOT EXECUTED
   2221c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
   22220:	e1c303b4 	strh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
   22224:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
   22228:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
   2222c:	00053858 	.word	0x00053858                                  
                                                                      
000227e0 <setgrent>:                                                  
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
   227e0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  init_etc_passwd_group();                                            
   227e4:	ebffffcb 	bl	22718 <init_etc_passwd_group>                  <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
   227e8:	e59f3020 	ldr	r3, [pc, #32]	; 22810 <setgrent+0x30>         <== NOT EXECUTED
   227ec:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
   227f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fclose(group_fp);                                                 
   227f4:	1b005b6a 	blne	395a4 <fclose>                               <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
   227f8:	e59f0014 	ldr	r0, [pc, #20]	; 22814 <setgrent+0x34>         <== NOT EXECUTED
   227fc:	e59f1014 	ldr	r1, [pc, #20]	; 22818 <setgrent+0x38>         <== NOT EXECUTED
   22800:	eb005d8a 	bl	39e30 <fopen>                                  <== NOT EXECUTED
   22804:	e59f3004 	ldr	r3, [pc, #4]	; 22810 <setgrent+0x30>          <== NOT EXECUTED
   22808:	e5830000 	str	r0, [r3]                                      <== NOT EXECUTED
}                                                                     
   2280c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
   22810:	00060d60 	.word	0x00060d60                                  
   22814:	00057a34 	.word	0x00057a34                                  
   22818:	00058627 	.word	0x00058627                                  
                                                                      
000229b0 <setpwent>:                                                  
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
   229b0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  init_etc_passwd_group();                                            
   229b4:	ebffff57 	bl	22718 <init_etc_passwd_group>                  <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
   229b8:	e59f3020 	ldr	r3, [pc, #32]	; 229e0 <setpwent+0x30>         <== NOT EXECUTED
   229bc:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
   229c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fclose(passwd_fp);                                                
   229c4:	1b005af6 	blne	395a4 <fclose>                               <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
   229c8:	e59f0014 	ldr	r0, [pc, #20]	; 229e4 <setpwent+0x34>         <== NOT EXECUTED
   229cc:	e59f1014 	ldr	r1, [pc, #20]	; 229e8 <setpwent+0x38>         <== NOT EXECUTED
   229d0:	eb005d16 	bl	39e30 <fopen>                                  <== NOT EXECUTED
   229d4:	e59f3004 	ldr	r3, [pc, #4]	; 229e0 <setpwent+0x30>          <== NOT EXECUTED
   229d8:	e5830004 	str	r0, [r3, #4]                                  <== NOT EXECUTED
}                                                                     
   229dc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
   229e0:	00060d60 	.word	0x00060d60                                  
   229e4:	00057986 	.word	0x00057986                                  
   229e8:	00058627 	.word	0x00058627                                  
                                                                      
00004954 <setuid>:                                                    
                                                                      
int setuid(                                                           
  uid_t  uid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Uid = uid;                                             
    4954:	e59f300c 	ldr	r3, [pc, #12]	; 4968 <setuid+0x14>            <== NOT EXECUTED
    4958:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
    495c:	e1c303b2 	strh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
    4960:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    4964:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
    4968:	00053858 	.word	0x00053858                                  
                                                                      
00003248 <siproc>:                                                    
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    3248:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
    324c:	e59f3050 	ldr	r3, [pc, #80]	; 32a4 <siproc+0x5c>            <== NOT EXECUTED
    3250:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
    3254:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
    3258:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
    325c:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
    3260:	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)) {
    3264:	0a00000b 	beq	3298 <siproc+0x50>                            <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
    3268:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
    326c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
    3270:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
    3274:	eb0005fb 	bl	4a68 <rtems_semaphore_obtain>                  <== NOT EXECUTED
		i = iproc (c, tty);                                                 
    3278:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
    327c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3280:	ebffff8b 	bl	30b4 <iproc>                                   <== NOT EXECUTED
    3284:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
    3288:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
    328c:	eb00063b 	bl	4b80 <rtems_semaphore_release>                 <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
    3290:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    3294:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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);                                                 
    3298:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
    329c:	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);                                                 
    32a0:	eaffff83 	b	30b4 <iproc>                                    <== NOT EXECUTED
    32a4:	00000e78 	.word	0x00000e78                                  
                                                                      
00005b54 <stat>:                                                      
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
    5b54:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    5b58:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
    5b5c:	e24dd018 	sub	sp, sp, #24                                   
    5b60:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    5b64:	1a000002 	bne	5b74 <stat+0x20>                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
    5b68:	eb00ce40 	bl	39470 <__errno>                                
    5b6c:	e3a0300e 	mov	r3, #14                                       
    5b70:	ea000018 	b	5bd8 <stat+0x84>                                
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
    5b74:	eb00e8c8 	bl	3fe9c <strlen>                                 
    5b78:	e28d4004 	add	r4, sp, #4                                    
    5b7c:	e1a01000 	mov	r1, r0                                        
    5b80:	e3a0c001 	mov	ip, #1                                        
    5b84:	e1a00006 	mov	r0, r6                                        
    5b88:	e3a02000 	mov	r2, #0                                        
    5b8c:	e1a03004 	mov	r3, r4                                        
    5b90:	e58dc000 	str	ip, [sp]                                      
    5b94:	ebfffaf3 	bl	4768 <rtems_filesystem_evaluate_path>          
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    5b98:	e2501000 	subs	r1, r0, #0                                   
    5b9c:	1a00000e 	bne	5bdc <stat+0x88>                              
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    5ba0:	e59d300c 	ldr	r3, [sp, #12]                                 
    5ba4:	e5933018 	ldr	r3, [r3, #24]                                 
    5ba8:	e3530000 	cmp	r3, #0                                        
    5bac:	1a00000c 	bne	5be4 <stat+0x90>                              
    rtems_filesystem_freenode( &loc );                                
    5bb0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    5bb4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    5bb8:	0a000004 	beq	5bd0 <stat+0x7c>                              <== NOT EXECUTED
    5bbc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    5bc0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    5bc4:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
    5bc8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    5bcc:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    5bd0:	eb00ce26 	bl	39470 <__errno>                                <== NOT EXECUTED
    5bd4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    5bd8:	e5803000 	str	r3, [r0]                                      
    5bdc:	e3e05000 	mvn	r5, #0                                        
    5be0:	ea000010 	b	5c28 <stat+0xd4>                                
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
    5be4:	e3a02048 	mov	r2, #72	; 0x48                                
    5be8:	e1a00005 	mov	r0, r5                                        
    5bec:	eb00dad7 	bl	3c750 <memset>                                 
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
    5bf0:	e1a01005 	mov	r1, r5                                        
    5bf4:	e59d300c 	ldr	r3, [sp, #12]                                 
    5bf8:	e1a00004 	mov	r0, r4                                        
    5bfc:	e1a0e00f 	mov	lr, pc                                        
    5c00:	e593f018 	ldr	pc, [r3, #24]                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    5c04:	e59d3010 	ldr	r3, [sp, #16]                                 
    5c08:	e3530000 	cmp	r3, #0                                        
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
    5c0c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    5c10:	0a000004 	beq	5c28 <stat+0xd4>                              
    5c14:	e593301c 	ldr	r3, [r3, #28]                                 
    5c18:	e3530000 	cmp	r3, #0                                        
    5c1c:	11a00004 	movne	r0, r4                                      
    5c20:	11a0e00f 	movne	lr, pc                                      
    5c24:	112fff13 	bxne	r3                                           
                                                                      
  return status;                                                      
}                                                                     
    5c28:	e1a00005 	mov	r0, r5                                        
    5c2c:	e28dd018 	add	sp, sp, #24                                   
    5c30:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
000238bc <statvfs>:                                                   
 */                                                                   
extern rtems_chain_control rtems_filesystem_mount_table_control;      
                                                                      
int                                                                   
statvfs (const char *path, struct statvfs *sb)                        
{                                                                     
   238bc:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
   238c0:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
   238c4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
   238c8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
   238cc:	eb007172 	bl	3fe9c <strlen>                                 <== NOT EXECUTED
   238d0:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
   238d4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
   238d8:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
   238dc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
   238e0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
   238e4:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
   238e8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
   238ec:	ebff839d 	bl	4768 <rtems_filesystem_evaluate_path>          <== NOT EXECUTED
   238f0:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
   238f4:	1a000007 	bne	23918 <statvfs+0x5c>                          <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
   238f8:	e59d6014 	ldr	r6, [sp, #20]                                 <== NOT EXECUTED
  fs_mount_root = &mt_entry->mt_fs_root;                              
   238fc:	e5963028 	ldr	r3, [r6, #40]	; 0x28                          <== NOT EXECUTED
   23900:	e5933044 	ldr	r3, [r3, #68]	; 0x44                          <== NOT EXECUTED
   23904:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23908:	1a000004 	bne	23920 <statvfs+0x64>                          <== NOT EXECUTED
                                                                      
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   2390c:	eb0056d7 	bl	39470 <__errno>                                <== NOT EXECUTED
   23910:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   23914:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   23918:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
   2391c:	ea000010 	b	23964 <statvfs+0xa8>                            <== NOT EXECUTED
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
   23920:	e3a02038 	mov	r2, #56	; 0x38                                <== NOT EXECUTED
   23924:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   23928:	eb006388 	bl	3c750 <memset>                                 <== NOT EXECUTED
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
   2392c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   23930:	e5963028 	ldr	r3, [r6, #40]	; 0x28                          <== NOT EXECUTED
   23934:	e286001c 	add	r0, r6, #28                                   <== NOT EXECUTED
   23938:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   2393c:	e593f044 	ldr	pc, [r3, #68]	; 0x44                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23940:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   23944:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
   23948:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   2394c:	0a000004 	beq	23964 <statvfs+0xa8>                          <== NOT EXECUTED
   23950:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
   23954:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23958:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   2395c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23960:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   23964:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   23968:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
   2396c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
00023970 <symlink>:                                                   
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
   23970:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
   23974:	e5d13000 	ldrb	r3, [r1]                                     
   23978:	e353002f 	cmp	r3, #47	; 0x2f                                
   2397c:	1353005c 	cmpne	r3, #92	; 0x5c                              
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
   23980:	e24dd018 	sub	sp, sp, #24                                   
   23984:	e1a05001 	mov	r5, r1                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
   23988:	13a06000 	movne	r6, #0                                      
   2398c:	03a06001 	moveq	r6, #1                                      
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
   23990:	e1a04000 	mov	r4, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
   23994:	0a000001 	beq	239a0 <symlink+0x30>                          
   23998:	e3530000 	cmp	r3, #0                                        
   2399c:	1a000009 	bne	239c8 <symlink+0x58>                          
   239a0:	e59f30f0 	ldr	r3, [pc, #240]	; 23a98 <symlink+0x128>        
   239a4:	e593e000 	ldr	lr, [r3]                                      
   239a8:	e28ee018 	add	lr, lr, #24                                   
   239ac:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   239b0:	e1a0c00d 	mov	ip, sp                                        
   239b4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   239b8:	e59e3000 	ldr	r3, [lr]                                      
   239bc:	e3a00001 	mov	r0, #1                                        
   239c0:	e58c3000 	str	r3, [ip]                                      
   239c4:	ea000008 	b	239ec <symlink+0x7c>                            
   239c8:	e59f30c8 	ldr	r3, [pc, #200]	; 23a98 <symlink+0x128>        
   239cc:	e593e000 	ldr	lr, [r3]                                      
   239d0:	e28ee004 	add	lr, lr, #4                                    
   239d4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
   239d8:	e1a0c00d 	mov	ip, sp                                        
   239dc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
   239e0:	e59e3000 	ldr	r3, [lr]                                      
   239e4:	e58c3000 	str	r3, [ip]                                      
   239e8:	e1a00006 	mov	r0, r6                                        
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
   239ec:	e59d300c 	ldr	r3, [sp, #12]                                 
   239f0:	e5933004 	ldr	r3, [r3, #4]                                  
   239f4:	e3530000 	cmp	r3, #0                                        
   239f8:	0a000010 	beq	23a40 <symlink+0xd0>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
   239fc:	e0850000 	add	r0, r5, r0                                    
   23a00:	e1a0100d 	mov	r1, sp                                        
   23a04:	e28d2014 	add	r2, sp, #20                                   
   23a08:	e1a0e00f 	mov	lr, pc                                        
   23a0c:	e12fff13 	bx	r3                                             
  if ( result != 0 )                                                  
   23a10:	e3500000 	cmp	r0, #0                                        
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
   23a14:	e1a0600d 	mov	r6, sp                                        
  if ( result != 0 )                                                  
   23a18:	1a00000b 	bne	23a4c <symlink+0xdc>                          
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
   23a1c:	e59d200c 	ldr	r2, [sp, #12]                                 
   23a20:	e5923038 	ldr	r3, [r2, #56]	; 0x38                          
   23a24:	e3530000 	cmp	r3, #0                                        
   23a28:	1a000009 	bne	23a54 <symlink+0xe4>                          
    rtems_filesystem_freenode( &loc );                                
   23a2c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
   23a30:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23a34:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
   23a38:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23a3c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   23a40:	eb00568a 	bl	39470 <__errno>                                <== NOT EXECUTED
   23a44:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   23a48:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   23a4c:	e3e04000 	mvn	r4, #0                                        
   23a50:	ea00000d 	b	23a8c <symlink+0x11c>                           
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
   23a54:	e1a01004 	mov	r1, r4                                        
   23a58:	e1a0000d 	mov	r0, sp                                        
   23a5c:	e59d2014 	ldr	r2, [sp, #20]                                 
   23a60:	e1a0e00f 	mov	lr, pc                                        
   23a64:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23a68:	e59d300c 	ldr	r3, [sp, #12]                                 
   23a6c:	e3530000 	cmp	r3, #0                                        
  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);      
   23a70:	e1a04000 	mov	r4, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23a74:	0a000004 	beq	23a8c <symlink+0x11c>                         
   23a78:	e593301c 	ldr	r3, [r3, #28]                                 
   23a7c:	e3530000 	cmp	r3, #0                                        
   23a80:	11a0000d 	movne	r0, sp                                      
   23a84:	11a0e00f 	movne	lr, pc                                      
   23a88:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
   23a8c:	e1a00004 	mov	r0, r4                                        
   23a90:	e28dd018 	add	sp, sp, #24                                   
   23a94:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   23a98:	00053858 	.word	0x00053858                                  
                                                                      
0000fba8 <tcsetattr>:                                                 
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
  switch (opt) {                                                      
    fba8:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
    fbac:	e92d4030 	push	{r4, r5, lr}                                 
    fbb0:	e1a04002 	mov	r4, r2                                        
    fbb4:	e1a05000 	mov	r5, r0                                        
  switch (opt) {                                                      
    fbb8:	0a00000a 	beq	fbe8 <tcsetattr+0x40>                         
    fbbc:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
    fbc0:	0a000003 	beq	fbd4 <tcsetattr+0x2c>                         <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    fbc4:	eb00135a 	bl	14934 <__errno>                                <== NOT EXECUTED
    fbc8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    fbcc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
    fbd0:	ea000009 	b	fbfc <tcsetattr+0x54>                           <== NOT EXECUTED
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
    fbd4:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
    fbd8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    fbdc:	eb000dba 	bl	132cc <ioctl>                                  <== NOT EXECUTED
    fbe0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fbe4:	ba000004 	blt	fbfc <tcsetattr+0x54>                         <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
    fbe8:	e1a00005 	mov	r0, r5                                        
    fbec:	e1a02004 	mov	r2, r4                                        
    fbf0:	e3a01002 	mov	r1, #2                                        
  }                                                                   
}                                                                     
    fbf4:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
    fbf8:	ea000db3 	b	132cc <ioctl>                                   
  }                                                                   
}                                                                     
    fbfc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    fc00:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
0000c49c <unlink>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
    c49c:	e92d4070 	push	{r4, r5, r6, lr}                             
    c4a0:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
    c4a4:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
    c4a8:	ebffd4ab 	bl	175c <rtems_filesystem_dirname>                
                                                                      
  if ( parentpathlen == 0 )                                           
    c4ac:	e2505000 	subs	r5, r0, #0                                   
    c4b0:	1a000019 	bne	c51c <unlink+0x80>                            
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
    c4b4:	e5d63000 	ldrb	r3, [r6]                                     
    c4b8:	e353002f 	cmp	r3, #47	; 0x2f                                
    c4bc:	1353005c 	cmpne	r3, #92	; 0x5c                              
    c4c0:	0a000001 	beq	c4cc <unlink+0x30>                            
    c4c4:	e3530000 	cmp	r3, #0                                        
    c4c8:	1a000009 	bne	c4f4 <unlink+0x58>                            
    c4cc:	e59f3248 	ldr	r3, [pc, #584]	; c71c <unlink+0x280>          
    c4d0:	e593e000 	ldr	lr, [r3]                                      
    c4d4:	e28ee018 	add	lr, lr, #24                                   
    c4d8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    c4dc:	e28dc018 	add	ip, sp, #24                                   
    c4e0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    c4e4:	e59e3000 	ldr	r3, [lr]                                      
    c4e8:	e3a04000 	mov	r4, #0                                        
    c4ec:	e58c3000 	str	r3, [ip]                                      
    c4f0:	ea000013 	b	c544 <unlink+0xa8>                              
    c4f4:	e59f3220 	ldr	r3, [pc, #544]	; c71c <unlink+0x280>          
    c4f8:	e593e000 	ldr	lr, [r3]                                      
    c4fc:	e28ee004 	add	lr, lr, #4                                    
    c500:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    c504:	e28dc018 	add	ip, sp, #24                                   
    c508:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    c50c:	e59e3000 	ldr	r3, [lr]                                      
    c510:	e1a04005 	mov	r4, r5                                        
    c514:	e58c3000 	str	r3, [ip]                                      
    c518:	ea000009 	b	c544 <unlink+0xa8>                              
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
    c51c:	e3a0c000 	mov	ip, #0                                        
    c520:	e1a00006 	mov	r0, r6                                        
    c524:	e1a01005 	mov	r1, r5                                        
    c528:	e3a02002 	mov	r2, #2                                        
    c52c:	e28d3018 	add	r3, sp, #24                                   
    c530:	e58dc000 	str	ip, [sp]                                      
    c534:	ebffd4d0 	bl	187c <rtems_filesystem_evaluate_path>          
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
    c538:	e3500000 	cmp	r0, #0                                        
    c53c:	1a000072 	bne	c70c <unlink+0x270>                           
    c540:	e3a04001 	mov	r4, #1                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
    c544:	e28de018 	add	lr, sp, #24                                   
    c548:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
    c54c:	e28dc004 	add	ip, sp, #4                                    
    c550:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    c554:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
    c558:	e0865005 	add	r5, r6, r5                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
    c55c:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
    c560:	e1a00005 	mov	r0, r5                                        
    c564:	eb0005d2 	bl	dcb4 <strlen>                                  
    c568:	e1a01000 	mov	r1, r0                                        
    c56c:	e1a00005 	mov	r0, r5                                        
    c570:	ebffd46d 	bl	172c <rtems_filesystem_prefix_separators>      
    c574:	e0856000 	add	r6, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
    c578:	e1a00006 	mov	r0, r6                                        
    c57c:	eb0005cc 	bl	dcb4 <strlen>                                  
    c580:	e28d5004 	add	r5, sp, #4                                    
    c584:	e3a0c000 	mov	ip, #0                                        
    c588:	e1a01000 	mov	r1, r0                                        
    c58c:	e1a0200c 	mov	r2, ip                                        
    c590:	e1a00006 	mov	r0, r6                                        
    c594:	e1a03005 	mov	r3, r5                                        
    c598:	e58dc000 	str	ip, [sp]                                      
    c59c:	ebffd47e 	bl	179c <rtems_filesystem_evaluate_relative_path> 
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    c5a0:	e3500000 	cmp	r0, #0                                        
    c5a4:	0a00000b 	beq	c5d8 <unlink+0x13c>                           
    if ( free_parentloc )                                             
    c5a8:	e3540000 	cmp	r4, #0                                        
    c5ac:	0a000056 	beq	c70c <unlink+0x270>                           
      rtems_filesystem_freenode( &parentloc );                        
    c5b0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
    c5b4:	e3530000 	cmp	r3, #0                                        
    c5b8:	0a000053 	beq	c70c <unlink+0x270>                           
    c5bc:	e593301c 	ldr	r3, [r3, #28]                                 
    c5c0:	e3530000 	cmp	r3, #0                                        
    c5c4:	0a000050 	beq	c70c <unlink+0x270>                           
    c5c8:	e28d0018 	add	r0, sp, #24                                   
    c5cc:	e1a0e00f 	mov	lr, pc                                        
    c5d0:	e12fff13 	bx	r3                                             
    c5d4:	ea00004c 	b	c70c <unlink+0x270>                             
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    c5d8:	e59d2010 	ldr	r2, [sp, #16]                                 
    c5dc:	e5923010 	ldr	r3, [r2, #16]                                 
    c5e0:	e3530000 	cmp	r3, #0                                        
    c5e4:	0a00001c 	beq	c65c <unlink+0x1c0>                           
    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 ) {
    c5e8:	e1a00005 	mov	r0, r5                                        
    c5ec:	e1a0e00f 	mov	lr, pc                                        
    c5f0:	e12fff13 	bx	r3                                             
    c5f4:	e3500001 	cmp	r0, #1                                        
    c5f8:	e59d2010 	ldr	r2, [sp, #16]                                 
    c5fc:	1a000013 	bne	c650 <unlink+0x1b4>                           
    rtems_filesystem_freenode( &loc );                                
    c600:	e3520000 	cmp	r2, #0                                        
    c604:	0a000004 	beq	c61c <unlink+0x180>                           
    c608:	e592301c 	ldr	r3, [r2, #28]                                 
    c60c:	e3530000 	cmp	r3, #0                                        
    c610:	11a00005 	movne	r0, r5                                      
    c614:	11a0e00f 	movne	lr, pc                                      
    c618:	112fff13 	bxne	r3                                           
    if ( free_parentloc )                                             
    c61c:	e3540000 	cmp	r4, #0                                        
    c620:	0a000007 	beq	c644 <unlink+0x1a8>                           
      rtems_filesystem_freenode( &parentloc );                        
    c624:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
    c628:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c62c:	0a000004 	beq	c644 <unlink+0x1a8>                           <== NOT EXECUTED
    c630:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    c634:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c638:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
    c63c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    c640:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
    c644:	eb0001a9 	bl	ccf0 <__errno>                                 
    c648:	e3a03015 	mov	r3, #21                                       
    c64c:	ea000013 	b	c6a0 <unlink+0x204>                             
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    c650:	e592300c 	ldr	r3, [r2, #12]                                 
    c654:	e3530000 	cmp	r3, #0                                        
    c658:	1a000012 	bne	c6a8 <unlink+0x20c>                           
    rtems_filesystem_freenode( &loc );                                
    c65c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
    c660:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c664:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
    c668:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    c66c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_parentloc )                                             
    c670:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
    c674:	0a000007 	beq	c698 <unlink+0x1fc>                           <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
    c678:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
    c67c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c680:	0a000004 	beq	c698 <unlink+0x1fc>                           <== NOT EXECUTED
    c684:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
    c688:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    c68c:	128d0018 	addne	r0, sp, #24                                 <== NOT EXECUTED
    c690:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
    c694:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    c698:	eb000194 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
    c69c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    c6a0:	e5803000 	str	r3, [r0]                                      
    c6a4:	ea000018 	b	c70c <unlink+0x270>                             
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
    c6a8:	e28d0018 	add	r0, sp, #24                                   
    c6ac:	e1a01005 	mov	r1, r5                                        
    c6b0:	e1a0e00f 	mov	lr, pc                                        
    c6b4:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    c6b8:	e59d3010 	ldr	r3, [sp, #16]                                 
    c6bc:	e3530000 	cmp	r3, #0                                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
    c6c0:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
    c6c4:	0a000004 	beq	c6dc <unlink+0x240>                           
    c6c8:	e593301c 	ldr	r3, [r3, #28]                                 
    c6cc:	e3530000 	cmp	r3, #0                                        
    c6d0:	11a00005 	movne	r0, r5                                      
    c6d4:	11a0e00f 	movne	lr, pc                                      
    c6d8:	112fff13 	bxne	r3                                           
  if ( free_parentloc )                                               
    c6dc:	e3540000 	cmp	r4, #0                                        
    c6e0:	0a00000a 	beq	c710 <unlink+0x274>                           
    rtems_filesystem_freenode( &parentloc );                          
    c6e4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
    c6e8:	e3530000 	cmp	r3, #0                                        
    c6ec:	0a000007 	beq	c710 <unlink+0x274>                           
    c6f0:	e593301c 	ldr	r3, [r3, #28]                                 
    c6f4:	e3530000 	cmp	r3, #0                                        
    c6f8:	0a000004 	beq	c710 <unlink+0x274>                           
    c6fc:	e28d0018 	add	r0, sp, #24                                   
    c700:	e1a0e00f 	mov	lr, pc                                        
    c704:	e12fff13 	bx	r3                                             
    c708:	ea000000 	b	c710 <unlink+0x274>                             
    c70c:	e3e06000 	mvn	r6, #0                                        
                                                                      
  return result;                                                      
}                                                                     
    c710:	e1a00006 	mov	r0, r6                                        
    c714:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
    c718:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    c71c:	000188b8 	.word	0x000188b8                                  
                                                                      
00023b80 <unmount>:                                                   
 */                                                                   
                                                                      
int unmount(                                                          
  const char *path                                                    
)                                                                     
{                                                                     
   23b80:	e92d4030 	push	{r4, r5, lr}                                 
   23b84:	e24dd018 	sub	sp, sp, #24                                   
   23b88:	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 ) )
   23b8c:	eb0070c2 	bl	3fe9c <strlen>                                 
   23b90:	e28d4004 	add	r4, sp, #4                                    
   23b94:	e1a01000 	mov	r1, r0                                        
   23b98:	e3a0c001 	mov	ip, #1                                        
   23b9c:	e1a00005 	mov	r0, r5                                        
   23ba0:	e3a02000 	mov	r2, #0                                        
   23ba4:	e1a03004 	mov	r3, r4                                        
   23ba8:	e58dc000 	str	ip, [sp]                                      
   23bac:	ebff82ed 	bl	4768 <rtems_filesystem_evaluate_path>          
   23bb0:	e3500000 	cmp	r0, #0                                        
   23bb4:	1a000057 	bne	23d18 <unmount+0x198>                         
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
   23bb8:	e59d5014 	ldr	r5, [sp, #20]                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
   23bbc:	e59d3004 	ldr	r3, [sp, #4]                                  
   23bc0:	e595201c 	ldr	r2, [r5, #28]                                 
   23bc4:	e1520003 	cmp	r2, r3                                        
   23bc8:	e59d3010 	ldr	r3, [sp, #16]                                 
   23bcc:	0a000009 	beq	23bf8 <unmount+0x78>                          
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( !rtems_filesystem_nodes_equal( fs_root_loc, &loc) ){           
    rtems_filesystem_freenode( &loc );                                
   23bd0:	e3530000 	cmp	r3, #0                                        
   23bd4:	0a000004 	beq	23bec <unmount+0x6c>                          
   23bd8:	e593301c 	ldr	r3, [r3, #28]                                 
   23bdc:	e3530000 	cmp	r3, #0                                        
   23be0:	11a00004 	movne	r0, r4                                      
   23be4:	11a0e00f 	movne	lr, pc                                      
   23be8:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EACCES );                   
   23bec:	eb00561f 	bl	39470 <__errno>                                
   23bf0:	e3a0300d 	mov	r3, #13                                       
   23bf4:	ea000023 	b	23c88 <unmount+0x108>                           
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   23bf8:	e3530000 	cmp	r3, #0                                        
   23bfc:	0a000004 	beq	23c14 <unmount+0x94>                          
   23c00:	e593301c 	ldr	r3, [r3, #28]                                 
   23c04:	e3530000 	cmp	r3, #0                                        
   23c08:	11a00004 	movne	r0, r4                                      
   23c0c:	11a0e00f 	movne	lr, pc                                      
   23c10:	112fff13 	bxne	r3                                           
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  fs_mount_loc = &mt_entry->mt_point_node;                            
   23c14:	e5953014 	ldr	r3, [r5, #20]                                 
   23c18:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
   23c1c:	e3530000 	cmp	r3, #0                                        
   23c20:	0a000003 	beq	23c34 <unmount+0xb4>                          
  fs_root_loc  = &mt_entry->mt_fs_root;                               
   23c24:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
   23c28:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
   23c2c:	e3530000 	cmp	r3, #0                                        
   23c30:	1a000002 	bne	23c40 <unmount+0xc0>                          
                                                                      
  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 );                  
   23c34:	eb00560d 	bl	39470 <__errno>                                <== NOT EXECUTED
   23c38:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   23c3c:	ea000011 	b	23c88 <unmount+0x108>                           <== NOT EXECUTED
   *        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 )                
   23c40:	e59f30f0 	ldr	r3, [pc, #240]	; 23d38 <unmount+0x1b8>        
   23c44:	e5933000 	ldr	r3, [r3]                                      
   23c48:	e5933014 	ldr	r3, [r3, #20]                                 
   23c4c:	e1530005 	cmp	r3, r5                                        
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
   23c50:	159f20e4 	ldrne	r2, [pc, #228]	; 23d3c <unmount+0x1bc>      
   23c54:	14923004 	ldrne	r3, [r2], #4                                
   *        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 )                
   23c58:	1a000005 	bne	23c74 <unmount+0xf4>                          
   23c5c:	ea000007 	b	23c80 <unmount+0x100>                           
  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;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
   23c60:	e5930018 	ldr	r0, [r3, #24]                                 
   23c64:	e595102c 	ldr	r1, [r5, #44]	; 0x2c                          
   23c68:	e1500001 	cmp	r0, r1                                        
   23c6c:	0a000003 	beq	23c80 <unmount+0x100>                         
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
   23c70:	e5933000 	ldr	r3, [r3]                                      
   23c74:	e1530002 	cmp	r3, r2                                        
   23c78:	1afffff8 	bne	23c60 <unmount+0xe0>                          
   23c7c:	ea000028 	b	23d24 <unmount+0x1a4>                           
   *  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 );                    
   23c80:	eb0055fa 	bl	39470 <__errno>                                
   23c84:	e3a03010 	mov	r3, #16                                       
   23c88:	e5803000 	str	r3, [r0]                                      
   23c8c:	ea000021 	b	23d18 <unmount+0x198>                           
   * 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 )             
   23c90:	e5953014 	ldr	r3, [r5, #20]                                 
   23c94:	e1a00005 	mov	r0, r5                                        
   23c98:	e1a0e00f 	mov	lr, pc                                        
   23c9c:	e593f028 	ldr	pc, [r3, #40]	; 0x28                          
   23ca0:	e2504000 	subs	r4, r0, #0                                   
   23ca4:	1a00001b 	bne	23d18 <unmount+0x198>                         
   *  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){          
   23ca8:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
   23cac:	e1a00005 	mov	r0, r5                                        
   23cb0:	e1a0e00f 	mov	lr, pc                                        
   23cb4:	e593f02c 	ldr	pc, [r3, #44]	; 0x2c                          
   23cb8:	e3500000 	cmp	r0, #0                                        
   23cbc:	0a000007 	beq	23ce0 <unmount+0x160>                         
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
   23cc0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
   23cc4:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
   23cc8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
   23ccc:	e593f020 	ldr	pc, [r3, #32]                                 <== NOT EXECUTED
   23cd0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
   23cd4:	0a00000f 	beq	23d18 <unmount+0x198>                         <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
   23cd8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   23cdc:	ebff9399 	bl	8b48 <rtems_fatal_error_occurred>              <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   23ce0:	e1a00005 	mov	r0, r5                                        
   23ce4:	ebff945c 	bl	8e5c <_Chain_Extract>                          
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
   23ce8:	e5953014 	ldr	r3, [r5, #20]                                 
   23cec:	e3530000 	cmp	r3, #0                                        
   23cf0:	0a000004 	beq	23d08 <unmount+0x188>                         
   23cf4:	e593301c 	ldr	r3, [r3, #28]                                 
   23cf8:	e3530000 	cmp	r3, #0                                        
   23cfc:	12850008 	addne	r0, r5, #8                                  
   23d00:	11a0e00f 	movne	lr, pc                                      
   23d04:	112fff13 	bxne	r3                                           
  free( mt_entry );                                                   
   23d08:	e1a00005 	mov	r0, r5                                        
   23d0c:	ebff82c8 	bl	4834 <free>                                    
   23d10:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
   23d14:	ea000000 	b	23d1c <unmount+0x19c>                           
   23d18:	e3e00000 	mvn	r0, #0                                        
}                                                                     
   23d1c:	e28dd018 	add	sp, sp, #24                                   
   23d20:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  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 )             
   23d24:	e1a00005 	mov	r0, r5                                        
   23d28:	ebff8372 	bl	4af8 <rtems_libio_is_open_files_in_fs>         
   23d2c:	e3500001 	cmp	r0, #1                                        
   23d30:	1affffd6 	bne	23c90 <unmount+0x110>                         
   23d34:	eaffffd1 	b	23c80 <unmount+0x100>                           
   23d38:	00053858 	.word	0x00053858                                  
   23d3c:	000611f0 	.word	0x000611f0                                  
                                                                      
00023d40 <utime>:                                                     
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
   23d40:	e92d4070 	push	{r4, r5, r6, lr}                             
   23d44:	e24dd018 	sub	sp, sp, #24                                   
   23d48:	e1a05001 	mov	r5, r1                                        
   23d4c:	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 ) )
   23d50:	eb007051 	bl	3fe9c <strlen>                                 
   23d54:	e28d4004 	add	r4, sp, #4                                    
   23d58:	e1a01000 	mov	r1, r0                                        
   23d5c:	e3a0c001 	mov	ip, #1                                        
   23d60:	e1a00006 	mov	r0, r6                                        
   23d64:	e3a02000 	mov	r2, #0                                        
   23d68:	e1a03004 	mov	r3, r4                                        
   23d6c:	e58dc000 	str	ip, [sp]                                      
   23d70:	ebff827c 	bl	4768 <rtems_filesystem_evaluate_path>          
   23d74:	e3500000 	cmp	r0, #0                                        
   23d78:	1a00000b 	bne	23dac <utime+0x6c>                            
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
   23d7c:	e59d2010 	ldr	r2, [sp, #16]                                 
   23d80:	e5923030 	ldr	r3, [r2, #48]	; 0x30                          
   23d84:	e3530000 	cmp	r3, #0                                        
   23d88:	1a000009 	bne	23db4 <utime+0x74>                            
    rtems_filesystem_freenode( &temp_loc );                           
   23d8c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
   23d90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
   23d94:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
   23d98:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
   23d9c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   23da0:	eb0055b2 	bl	39470 <__errno>                                <== NOT EXECUTED
   23da4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   23da8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   23dac:	e3e05000 	mvn	r5, #0                                        
   23db0:	ea00000c 	b	23de8 <utime+0xa8>                              
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
   23db4:	e8950006 	ldm	r5, {r1, r2}                                  
   23db8:	e1a00004 	mov	r0, r4                                        
   23dbc:	e1a0e00f 	mov	lr, pc                                        
   23dc0:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   23dc4:	e59d3010 	ldr	r3, [sp, #16]                                 
   23dc8:	e3530000 	cmp	r3, #0                                        
  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 );
   23dcc:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   23dd0:	0a000004 	beq	23de8 <utime+0xa8>                            
   23dd4:	e593301c 	ldr	r3, [r3, #28]                                 
   23dd8:	e3530000 	cmp	r3, #0                                        
   23ddc:	11a00004 	movne	r0, r4                                      
   23de0:	11a0e00f 	movne	lr, pc                                      
   23de4:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
   23de8:	e1a00005 	mov	r0, r5                                        
   23dec:	e28dd018 	add	sp, sp, #24                                   
   23df0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
00018098 <write>:                                                     
)                                                                     
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   18098:	e59f30b0 	ldr	r3, [pc, #176]	; 18150 <write+0xb8>           
   1809c:	e5933000 	ldr	r3, [r3]                                      
   180a0:	e1500003 	cmp	r0, r3                                        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
   180a4:	e92d4070 	push	{r4, r5, r6, lr}                             
   180a8:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   180ac:	2a000005 	bcs	180c8 <write+0x30>                            
  iop = rtems_libio_iop( fd );                                        
   180b0:	e59f309c 	ldr	r3, [pc, #156]	; 18154 <write+0xbc>           
   180b4:	e5934000 	ldr	r4, [r3]                                      
   180b8:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
   180bc:	e5943014 	ldr	r3, [r4, #20]                                 
   180c0:	e3130c01 	tst	r3, #256	; 0x100                              
   180c4:	1a000002 	bne	180d4 <write+0x3c>                            
   180c8:	ebffd308 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   180cc:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
   180d0:	ea00000f 	b	18114 <write+0x7c>                              <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
   180d4:	e3510000 	cmp	r1, #0                                        
   180d8:	0a000004 	beq	180f0 <write+0x58>                            
  rtems_libio_check_count( count );                                   
   180dc:	e3520000 	cmp	r2, #0                                        
   180e0:	01a00002 	moveq	r0, r2                                      
   180e4:	08bd8070 	popeq	{r4, r5, r6, pc}                            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   180e8:	e3130004 	tst	r3, #4                                        
   180ec:	1a000002 	bne	180fc <write+0x64>                            
   180f0:	ebffd2fe 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   180f4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
   180f8:	ea000005 	b	18114 <write+0x7c>                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
   180fc:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   18100:	e593300c 	ldr	r3, [r3, #12]                                 
   18104:	e3530000 	cmp	r3, #0                                        
   18108:	1a000004 	bne	18120 <write+0x88>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   1810c:	ebffd2f7 	bl	ccf0 <__errno>                                 <== NOT EXECUTED
   18110:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
   18114:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
   18118:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   1811c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
   18120:	e1a00004 	mov	r0, r4                                        
   18124:	e1a0e00f 	mov	lr, pc                                        
   18128:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
   1812c:	e3500000 	cmp	r0, #0                                        
   18130:	d8bd8070 	pople	{r4, r5, r6, pc}                            
    iop->offset += rc;                                                
   18134:	e284600c 	add	r6, r4, #12                                   
   18138:	e8960060 	ldm	r6, {r5, r6}                                  
   1813c:	e0952000 	adds	r2, r5, r0                                   
   18140:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
   18144:	e584200c 	str	r2, [r4, #12]                                 
   18148:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
   1814c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   18150:	00018720 	.word	0x00018720                                  
   18154:	0001a08c 	.word	0x0001a08c                                  
                                                                      
00005a88 <writev>:                                                    
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
    5a88:	e59f3164 	ldr	r3, [pc, #356]	; 5bf4 <writev+0x16c>          
    5a8c:	e5933000 	ldr	r3, [r3]                                      
    5a90:	e1500003 	cmp	r0, r3                                        
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
    5a94:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
    5a98:	e1a08002 	mov	r8, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
    5a9c:	2a000005 	bcs	5ab8 <writev+0x30>                            
  iop = rtems_libio_iop( fd );                                        
    5aa0:	e59f3150 	ldr	r3, [pc, #336]	; 5bf8 <writev+0x170>          
    5aa4:	e5936000 	ldr	r6, [r3]                                      
    5aa8:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
    5aac:	e5963014 	ldr	r3, [r6, #20]                                 
    5ab0:	e3130c01 	tst	r3, #256	; 0x100                              
    5ab4:	1a000002 	bne	5ac4 <writev+0x3c>                            
    5ab8:	eb0025ba 	bl	f1a8 <__errno>                                 
    5abc:	e3a03009 	mov	r3, #9                                        
    5ac0:	ea000025 	b	5b5c <writev+0xd4>                              
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
    5ac4:	e3130004 	tst	r3, #4                                        
    5ac8:	0a000021 	beq	5b54 <writev+0xcc>                            
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
    5acc:	e3510000 	cmp	r1, #0                                        
    5ad0:	0a00001f 	beq	5b54 <writev+0xcc>                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    5ad4:	e3520000 	cmp	r2, #0                                        
    5ad8:	da00001d 	ble	5b54 <writev+0xcc>                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    5adc:	e3520b01 	cmp	r2, #1024	; 0x400                             
    5ae0:	ca00001b 	bgt	5b54 <writev+0xcc>                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    5ae4:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
    5ae8:	e593300c 	ldr	r3, [r3, #12]                                 
    5aec:	e3530000 	cmp	r3, #0                                        
    5af0:	1a000002 	bne	5b00 <writev+0x78>                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
    5af4:	eb0025ab 	bl	f1a8 <__errno>                                 <== NOT EXECUTED
    5af8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
    5afc:	ea000016 	b	5b5c <writev+0xd4>                              <== NOT EXECUTED
    5b00:	e3a03000 	mov	r3, #0                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
    5b04:	e59fc0f0 	ldr	ip, [pc, #240]	; 5bfc <writev+0x174>          
                                                                      
  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 );                  
    5b08:	e1a05001 	mov	r5, r1                                        
    5b0c:	e1a02001 	mov	r2, r1                                        
    5b10:	e3a07001 	mov	r7, #1                                        
    5b14:	e1a04003 	mov	r4, r3                                        
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
                                                                      
    if ( !iov[v].iov_base )                                           
    5b18:	e5921000 	ldr	r1, [r2]                                      
    5b1c:	e3510000 	cmp	r1, #0                                        
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
    5b20:	e2833001 	add	r3, r3, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
    5b24:	0a00000a 	beq	5b54 <writev+0xcc>                            
      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 )                                             
    5b28:	e5920004 	ldr	r0, [r2, #4]                                  
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    5b2c:	e0841000 	add	r1, r4, r0                                    
    if ( total < old || total > SSIZE_MAX )                           
    5b30:	e1510004 	cmp	r1, r4                                        
    5b34:	a3a04000 	movge	r4, #0                                      
    5b38:	b3a04001 	movlt	r4, #1                                      
    5b3c:	e151000c 	cmp	r1, ip                                        
    5b40:	c3844001 	orrgt	r4, r4, #1                                  
      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 )                                             
    5b44:	e3500000 	cmp	r0, #0                                        
    5b48:	13a07000 	movne	r7, #0                                      
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
    5b4c:	e3540000 	cmp	r4, #0                                        
    5b50:	0a000003 	beq	5b64 <writev+0xdc>                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    5b54:	eb002593 	bl	f1a8 <__errno>                                 
    5b58:	e3a03016 	mov	r3, #22                                       
    5b5c:	e5803000 	str	r3, [r0]                                      
    5b60:	ea000011 	b	5bac <writev+0x124>                             
   *  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++ ) {                    
    5b64:	e1530008 	cmp	r3, r8                                        
    5b68:	e2822008 	add	r2, r2, #8                                    
    5b6c:	b1a04001 	movlt	r4, r1                                      
    5b70:	baffffe8 	blt	5b18 <writev+0x90>                            
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
    5b74:	e3570000 	cmp	r7, #0                                        
    5b78:	1a00001b 	bne	5bec <writev+0x164>                           
    5b7c:	e1a04007 	mov	r4, r7                                        
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
    5b80:	e5952004 	ldr	r2, [r5, #4]                                  
    5b84:	e3520000 	cmp	r2, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    5b88:	e2877001 	add	r7, r7, #1                                    
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
    5b8c:	0a000013 	beq	5be0 <writev+0x158>                           
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
    5b90:	e5951000 	ldr	r1, [r5]                                      
    5b94:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
    5b98:	e1a00006 	mov	r0, r6                                        
    5b9c:	e1a0e00f 	mov	lr, pc                                        
    5ba0:	e593f00c 	ldr	pc, [r3, #12]                                 
                                                                      
    if ( bytes < 0 )                                                  
    5ba4:	e3500000 	cmp	r0, #0                                        
    5ba8:	aa000001 	bge	5bb4 <writev+0x12c>                           
    5bac:	e3e04000 	mvn	r4, #0                                        
    5bb0:	ea00000d 	b	5bec <writev+0x164>                             
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
    5bb4:	0a000006 	beq	5bd4 <writev+0x14c>                           
      iop->offset += bytes;                                           
    5bb8:	e286c00c 	add	ip, r6, #12                                   
    5bbc:	e89c1800 	ldm	ip, {fp, ip}                                  
    5bc0:	e09b2000 	adds	r2, fp, r0                                   
    5bc4:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
    5bc8:	e586200c 	str	r2, [r6, #12]                                 
    5bcc:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
    5bd0:	e0844000 	add	r4, r4, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
    5bd4:	e5953004 	ldr	r3, [r5, #4]                                  
    5bd8:	e1500003 	cmp	r0, r3                                        
    5bdc:	1a000002 	bne	5bec <writev+0x164>                           
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    5be0:	e1570008 	cmp	r7, r8                                        
    5be4:	e2855008 	add	r5, r5, #8                                    
    5be8:	baffffe4 	blt	5b80 <writev+0xf8>                            
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
    5bec:	e1a00004 	mov	r0, r4                                        
    5bf0:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
    5bf4:	0001c430 	.word	0x0001c430                                  
    5bf8:	0001f1e0 	.word	0x0001f1e0                                  
    5bfc:	00007fff 	.word	0x00007fff