RTEMS 4.10
Annotated Report
Sat May 22 03:56:43 2010

a0008874 <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 ) {                                              
a0008874:	e5903000 	ldr	r3, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a0008878:	e5902010 	ldr	r2, [r0, #16]                                 
  switch( node->type ) {                                              
a000887c:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
a0008880:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
  switch( node->type ) {                                              
a0008884:	e2433001 	sub	r3, r3, #1                                    
a0008888:	e3530006 	cmp	r3, #6                                        
a000888c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0008890:	ea000008 	b	a00088b8 <IMFS_Set_handlers+0x44>               <== NOT EXECUTED
a0008894:	a00088e0 	.word	0xa00088e0                                  <== NOT EXECUTED
a0008898:	a00088f0 	.word	0xa00088f0                                  <== NOT EXECUTED
a000889c:	a00088d0 	.word	0xa00088d0                                  <== NOT EXECUTED
a00088a0:	a00088d0 	.word	0xa00088d0                                  <== NOT EXECUTED
a00088a4:	a00088c0 	.word	0xa00088c0                                  <== NOT EXECUTED
a00088a8:	a00088c0 	.word	0xa00088c0                                  <== NOT EXECUTED
a00088ac:	a00088b0 	.word	0xa00088b0                                  <== NOT EXECUTED
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
a00088b0:	e59f3048 	ldr	r3, [pc, #72]	; a0008900 <IMFS_Set_handlers+0x8c>
a00088b4:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00088b8:	e3a00000 	mov	r0, #0                                        
a00088bc:	e12fff1e 	bx	lr                                             
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
a00088c0:	e5923008 	ldr	r3, [r2, #8]                                  
a00088c4:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00088c8:	e3a00000 	mov	r0, #0                                        
a00088cc:	e12fff1e 	bx	lr                                             
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
a00088d0:	e59f302c 	ldr	r3, [pc, #44]	; a0008904 <IMFS_Set_handlers+0x90>
a00088d4:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00088d8:	e3a00000 	mov	r0, #0                                        
a00088dc:	e12fff1e 	bx	lr                                             
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
a00088e0:	e592300c 	ldr	r3, [r2, #12]                                 
a00088e4:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00088e8:	e3a00000 	mov	r0, #0                                        
a00088ec:	e12fff1e 	bx	lr                                             
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
a00088f0:	e59f3010 	ldr	r3, [pc, #16]	; a0008908 <IMFS_Set_handlers+0x94>
a00088f4:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00088f8:	e3a00000 	mov	r0, #0                                        
a00088fc:	e12fff1e 	bx	lr                                             
                                                                      
a000d7c8 <IMFS_chown>:                                                
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
a000d7c8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000d7cc:	e1a01801 	lsl	r1, r1, #16                                   
a000d7d0:	e1a02802 	lsl	r2, r2, #16                                   
a000d7d4:	e24dd008 	sub	sp, sp, #8                                    
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
a000d7d8:	e5904000 	ldr	r4, [r0]                                      
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
a000d7dc:	e1a07821 	lsr	r7, r1, #16                                   
a000d7e0:	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();                                                 
a000d7e4:	eb0004aa 	bl	a000ea94 <geteuid>                             
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
a000d7e8:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
a000d7ec:	e3500000 	cmp	r0, #0                                        
a000d7f0:	11550000 	cmpne	r5, r0                                      
a000d7f4:	03a05000 	moveq	r5, #0                                      
a000d7f8:	13a05001 	movne	r5, #1                                      
a000d7fc:	1a000009 	bne	a000d828 <IMFS_chown+0x60>                    
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
a000d800:	e1c473bc 	strh	r7, [r4, #60]	; 0x3c                         
  jnode->st_gid = group;                                              
a000d804:	e1c463be 	strh	r6, [r4, #62]	; 0x3e                         
                                                                      
  IMFS_update_ctime( jnode );                                         
a000d808:	e1a0000d 	mov	r0, sp                                        
a000d80c:	e1a01005 	mov	r1, r5                                        
a000d810:	ebffd5fb 	bl	a0003004 <gettimeofday>                        
a000d814:	e59d3000 	ldr	r3, [sp]                                      
a000d818:	e1a00005 	mov	r0, r5                                        
a000d81c:	e5843048 	str	r3, [r4, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a000d820:	e28dd008 	add	sp, sp, #8                                    
a000d824:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000d828:	eb00165c 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a000d82c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000d830:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d834:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d838:	eafffff8 	b	a000d820 <IMFS_chown+0x58>                      <== NOT EXECUTED
                                                                      
a000c238 <IMFS_create_node>:                                          
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a000c238:	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 )                                           
a000c23c:	e2504000 	subs	r4, r0, #0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
a000c240:	e1a05001 	mov	r5, r1                                        
a000c244:	e59d6014 	ldr	r6, [sp, #20]                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
a000c248:	01a07004 	moveq	r7, r4                                      
a000c24c:	1a000001 	bne	a000c258 <IMFS_create_node+0x20>              
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a000c250:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000c254:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
a000c258:	e1a01002 	mov	r1, r2                                        
a000c25c:	e59f210c 	ldr	r2, [pc, #268]	; a000c370 <IMFS_create_node+0x138>
a000c260:	e1a00005 	mov	r0, r5                                        
a000c264:	e5922000 	ldr	r2, [r2]                                      
a000c268:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
a000c26c:	e1c32002 	bic	r2, r3, r2                                    
a000c270:	ebffffc0 	bl	a000c178 <IMFS_allocate_node>                  
  if ( !node )                                                        
a000c274:	e2507000 	subs	r7, r0, #0                                   
a000c278:	0afffff4 	beq	a000c250 <IMFS_create_node+0x18>              
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
a000c27c:	e2455001 	sub	r5, r5, #1                                    
a000c280:	e3550006 	cmp	r5, #6                                        
a000c284:	979ff105 	ldrls	pc, [pc, r5, lsl #2]                        
a000c288:	ea000033 	b	a000c35c <IMFS_create_node+0x124>               <== NOT EXECUTED
a000c28c:	a000c340 	.word	0xa000c340                                  <== NOT EXECUTED
a000c290:	a000c32c 	.word	0xa000c32c                                  <== NOT EXECUTED
a000c294:	a000c2a8 	.word	0xa000c2a8                                  <== NOT EXECUTED
a000c298:	a000c2a8 	.word	0xa000c2a8                                  <== NOT EXECUTED
a000c29c:	a000c2fc 	.word	0xa000c2fc                                  <== NOT EXECUTED
a000c2a0:	a000c2e4 	.word	0xa000c2e4                                  <== NOT EXECUTED
a000c2a4:	a000c320 	.word	0xa000c320                                  <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      node->info.hard_link.link_node = info->hard_link.link_node;     
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
a000c2a8:	e5963000 	ldr	r3, [r6]                                      
a000c2ac:	e5873050 	str	r3, [r7, #80]	; 0x50                          
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
a000c2b0:	e5943010 	ldr	r3, [r4, #16]                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
a000c2b4:	e5940000 	ldr	r0, [r4]                                      
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a000c2b8:	e1a01007 	mov	r1, r7                                        
  fs_info      = parent_loc->mt_entry->fs_info;                       
a000c2bc:	e5932034 	ldr	r2, [r3, #52]	; 0x34                          
                                                                      
  node->Parent = parent;                                              
a000c2c0:	e5870008 	str	r0, [r7, #8]                                  
a000c2c4:	e2800050 	add	r0, r0, #80	; 0x50                            
  node->st_ino = ++fs_info->ino_count;                                
a000c2c8:	e5923004 	ldr	r3, [r2, #4]                                  
a000c2cc:	e2833001 	add	r3, r3, #1                                    
a000c2d0:	e5823004 	str	r3, [r2, #4]                                  
a000c2d4:	e5873038 	str	r3, [r7, #56]	; 0x38                          
a000c2d8:	ebffe555 	bl	a0005834 <_Chain_Append>                       
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
a000c2dc:	e1a00007 	mov	r0, r7                                        
a000c2e0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
a000c2e4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000c2e8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000c2ec:	e5872050 	str	r2, [r7, #80]	; 0x50                          <== NOT EXECUTED
a000c2f0:	e5873054 	str	r3, [r7, #84]	; 0x54                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
a000c2f4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a000c2f8:	e5873058 	str	r3, [r7, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
a000c2fc:	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;                            
a000c300:	e3a01000 	mov	r1, #0                                        
a000c304:	e3a02000 	mov	r2, #0                                        
a000c308:	e5871050 	str	r1, [r7, #80]	; 0x50                          
a000c30c:	e5872054 	str	r2, [r7, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
a000c310:	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;                            
a000c314:	e5873058 	str	r3, [r7, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
a000c318:	e587305c 	str	r3, [r7, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
      break;                                                          
a000c31c:	eaffffe3 	b	a000c2b0 <IMFS_create_node+0x78>                
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
a000c320:	e3a03000 	mov	r3, #0                                        
a000c324:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      break;                                                          
a000c328:	eaffffe0 	b	a000c2b0 <IMFS_create_node+0x78>                
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
a000c32c:	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;                   
a000c330:	e5963000 	ldr	r3, [r6]                                      
      node->info.device.minor = info->device.minor;                   
a000c334:	e5872054 	str	r2, [r7, #84]	; 0x54                          
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
a000c338:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      node->info.device.minor = info->device.minor;                   
      break;                                                          
a000c33c:	eaffffdb 	b	a000c2b0 <IMFS_create_node+0x78>                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a000c340:	e2872054 	add	r2, r7, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a000c344:	e2873050 	add	r3, r7, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a000c348:	e5872050 	str	r2, [r7, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
a000c34c:	e3a02000 	mov	r2, #0                                        
a000c350:	e5872054 	str	r2, [r7, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
a000c354:	e5873058 	str	r3, [r7, #88]	; 0x58                          
a000c358:	eaffffd4 	b	a000c2b0 <IMFS_create_node+0x78>                
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
      break;                                                          
                                                                      
    default:                                                          
      assert(0);                                                      
a000c35c:	e59f0010 	ldr	r0, [pc, #16]	; a000c374 <IMFS_create_node+0x13c><== NOT EXECUTED
a000c360:	e3a0105c 	mov	r1, #92	; 0x5c                                <== NOT EXECUTED
a000c364:	e59f200c 	ldr	r2, [pc, #12]	; a000c378 <IMFS_create_node+0x140><== NOT EXECUTED
a000c368:	e59f300c 	ldr	r3, [pc, #12]	; a000c37c <IMFS_create_node+0x144><== NOT EXECUTED
a000c36c:	ebfff517 	bl	a00097d0 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0003dbc <IMFS_dump_directory>:                                       
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003dbc:	e3500000 	cmp	r0, #0                                        
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
a0003dc0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0003dc4:	e1a05001 	mov	r5, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003dc8:	0a000021 	beq	a0003e54 <IMFS_dump_directory+0x98>           
                                                                      
  assert( level >= 0 );                                               
a0003dcc:	e3510000 	cmp	r1, #0                                        
a0003dd0:	ba000029 	blt	a0003e7c <IMFS_dump_directory+0xc0>           
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
a0003dd4:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
a0003dd8:	e3530001 	cmp	r3, #1                                        
a0003ddc:	1a000021 	bne	a0003e68 <IMFS_dump_directory+0xac>           
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a0003de0:	e5907050 	ldr	r7, [r0, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0003de4:	e2808054 	add	r8, r0, #84	; 0x54                            
a0003de8:	e1570008 	cmp	r7, r8                                        
a0003dec:	0a000013 	beq	a0003e40 <IMFS_dump_directory+0x84>           
a0003df0:	e59f6098 	ldr	r6, [pc, #152]	; a0003e90 <IMFS_dump_directory+0xd4>
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
a0003df4:	e281a001 	add	sl, r1, #1                                    
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
a0003df8:	e3a04000 	mov	r4, #0                                        
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
a0003dfc:	e5963000 	ldr	r3, [r6]                                      
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
a0003e00:	e2844001 	add	r4, r4, #1                                    
      fprintf(stdout, "...." );                                       
a0003e04:	e59f0088 	ldr	r0, [pc, #136]	; a0003e94 <IMFS_dump_directory+0xd8>
a0003e08:	e5933008 	ldr	r3, [r3, #8]                                  
a0003e0c:	e3a01001 	mov	r1, #1                                        
a0003e10:	e3a02004 	mov	r2, #4                                        
a0003e14:	eb0041ff 	bl	a0014618 <fwrite>                              
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
a0003e18:	e1550004 	cmp	r5, r4                                        
a0003e1c:	aafffff6 	bge	a0003dfc <IMFS_dump_directory+0x40>           
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
a0003e20:	e1a00007 	mov	r0, r7                                        
a0003e24:	ebffff7a 	bl	a0003c14 <IMFS_print_jnode>                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
a0003e28:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
a0003e2c:	e3530001 	cmp	r3, #1                                        
a0003e30:	0a000003 	beq	a0003e44 <IMFS_dump_directory+0x88>           
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
a0003e34:	e5977000 	ldr	r7, [r7]                                      
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
a0003e38:	e1570008 	cmp	r7, r8                                        
a0003e3c:	1affffed 	bne	a0003df8 <IMFS_dump_directory+0x3c>           
a0003e40:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
a0003e44:	e1a00007 	mov	r0, r7                                        
a0003e48:	e1a0100a 	mov	r1, sl                                        
a0003e4c:	ebffffda 	bl	a0003dbc <IMFS_dump_directory>                 
a0003e50:	eafffff7 	b	a0003e34 <IMFS_dump_directory+0x78>             
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
a0003e54:	e59f003c 	ldr	r0, [pc, #60]	; a0003e98 <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003e58:	e3a01084 	mov	r1, #132	; 0x84                               <== NOT EXECUTED
a0003e5c:	e59f2038 	ldr	r2, [pc, #56]	; a0003e9c <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003e60:	e59f3038 	ldr	r3, [pc, #56]	; a0003ea0 <IMFS_dump_directory+0xe4><== NOT EXECUTED
a0003e64:	eb000221 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( level >= 0 );                                               
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
a0003e68:	e59f0028 	ldr	r0, [pc, #40]	; a0003e98 <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003e6c:	e3a01088 	mov	r1, #136	; 0x88                               <== NOT EXECUTED
a0003e70:	e59f2024 	ldr	r2, [pc, #36]	; a0003e9c <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003e74:	e59f3028 	ldr	r3, [pc, #40]	; a0003ea4 <IMFS_dump_directory+0xe8><== NOT EXECUTED
a0003e78:	eb00021c 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
                                                                      
  assert( level >= 0 );                                               
a0003e7c:	e59f0014 	ldr	r0, [pc, #20]	; a0003e98 <IMFS_dump_directory+0xdc><== NOT EXECUTED
a0003e80:	e3a01086 	mov	r1, #134	; 0x86                               <== NOT EXECUTED
a0003e84:	e59f2010 	ldr	r2, [pc, #16]	; a0003e9c <IMFS_dump_directory+0xe0><== NOT EXECUTED
a0003e88:	e59f3018 	ldr	r3, [pc, #24]	; a0003ea8 <IMFS_dump_directory+0xec><== NOT EXECUTED
a0003e8c:	eb000217 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0008ab0 <IMFS_eval_path>:                                            
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
a0008ab0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a0008ab4:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
a0008ab8:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0008abc:	e1a07003 	mov	r7, r3                                        
a0008ac0:	e1a0a000 	mov	sl, r0                                        
a0008ac4:	e1a04001 	mov	r4, r1                                        
a0008ac8:	e58d2000 	str	r2, [sp]                                      
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
a0008acc:	e3a05000 	mov	r5, #0                                        
a0008ad0:	e28d8004 	add	r8, sp, #4                                    
a0008ad4:	e28d903c 	add	r9, sp, #60	; 0x3c                            
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a0008ad8:	e1a02008 	mov	r2, r8                                        
a0008adc:	e1a03009 	mov	r3, r9                                        
a0008ae0:	e08a0005 	add	r0, sl, r5                                    
a0008ae4:	e1a01004 	mov	r1, r4                                        
a0008ae8:	eb000223 	bl	a000937c <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0008aec:	e5973000 	ldr	r3, [r7]                                      
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
a0008af0:	e1a0b000 	mov	fp, r0                                        
    pathnamelen -= len;                                               
a0008af4:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
a0008af8:	e3530000 	cmp	r3, #0                                        
a0008afc:	0a00004e 	beq	a0008c3c <IMFS_eval_path+0x18c>               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a0008b00:	e3500000 	cmp	r0, #0                                        
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
    i += len;                                                         
a0008b04:	e0855002 	add	r5, r5, r2                                    
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
a0008b08:	e0624004 	rsb	r4, r2, r4                                    
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
a0008b0c:	1a00000f 	bne	a0008b50 <IMFS_eval_path+0xa0>                
   *  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 ) {                               
a0008b10:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a0008b14:	e3520001 	cmp	r2, #1                                        
a0008b18:	0a000054 	beq	a0008c70 <IMFS_eval_path+0x1c0>               
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0008b1c:	e1a00007 	mov	r0, r7                                        
a0008b20:	ebffff53 	bl	a0008874 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a0008b24:	e59d1000 	ldr	r1, [sp]                                      
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
a0008b28:	e1a0b000 	mov	fp, r0                                        
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
a0008b2c:	e1a00007 	mov	r0, r7                                        
a0008b30:	ebffff75 	bl	a000890c <IMFS_evaluate_permission>            
a0008b34:	e3500000 	cmp	r0, #0                                        
a0008b38:	1a000036 	bne	a0008c18 <IMFS_eval_path+0x168>               
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008b3c:	eb0013fa 	bl	a000db2c <__errno>                             
a0008b40:	e3a0300d 	mov	r3, #13                                       
a0008b44:	e5803000 	str	r3, [r0]                                      
a0008b48:	e3e0b000 	mvn	fp, #0                                        
a0008b4c:	ea000031 	b	a0008c18 <IMFS_eval_path+0x168>                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a0008b50:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
a0008b54:	e3510001 	cmp	r1, #1                                        
a0008b58:	0a000031 	beq	a0008c24 <IMFS_eval_path+0x174>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
a0008b5c:	e35b0003 	cmp	fp, #3                                        
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
a0008b60:	e1a06003 	mov	r6, r3                                        
                                                                      
    switch( type ) {                                                  
a0008b64:	0a000006 	beq	a0008b84 <IMFS_eval_path+0xd4>                
a0008b68:	e35b0004 	cmp	fp, #4                                        
a0008b6c:	0a000025 	beq	a0008c08 <IMFS_eval_path+0x158>               
a0008b70:	e35b0002 	cmp	fp, #2                                        
a0008b74:	0a000013 	beq	a0008bc8 <IMFS_eval_path+0x118>               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
a0008b78:	e35b0004 	cmp	fp, #4                                        
a0008b7c:	1affffd5 	bne	a0008ad8 <IMFS_eval_path+0x28>                
a0008b80:	eaffffe2 	b	a0008b10 <IMFS_eval_path+0x60>                  <== NOT EXECUTED
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a0008b84:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0008b88:	e3530003 	cmp	r3, #3                                        
a0008b8c:	0a00002f 	beq	a0008c50 <IMFS_eval_path+0x1a0>               
                                                                      
          node = pathloc->node_access;                                
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a0008b90:	e3530004 	cmp	r3, #4                                        
a0008b94:	0a000053 	beq	a0008ce8 <IMFS_eval_path+0x238>               
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
a0008b98:	e3530001 	cmp	r3, #1                                        
a0008b9c:	1a00004c 	bne	a0008cd4 <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 ) {                   
a0008ba0:	e596e05c 	ldr	lr, [r6, #92]	; 0x5c                          
a0008ba4:	e35e0000 	cmp	lr, #0                                        
a0008ba8:	1a000033 	bne	a0008c7c <IMFS_eval_path+0x1cc>               
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a0008bac:	e1a00006 	mov	r0, r6                                        
a0008bb0:	e1a01008 	mov	r1, r8                                        
a0008bb4:	eb0001c1 	bl	a00092c0 <IMFS_find_match_in_dir>              
        if ( !node )                                                  
a0008bb8:	e2506000 	subs	r6, r0, #0                                   
a0008bbc:	0a00001e 	beq	a0008c3c <IMFS_eval_path+0x18c>               
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
a0008bc0:	e5876000 	str	r6, [r7]                                      
        break;                                                        
a0008bc4:	eaffffc3 	b	a0008ad8 <IMFS_eval_path+0x28>                  
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a0008bc8:	e59f1144 	ldr	r1, [pc, #324]	; a0008d14 <IMFS_eval_path+0x264>
a0008bcc:	e5912000 	ldr	r2, [r1]                                      
a0008bd0:	e5922018 	ldr	r2, [r2, #24]                                 
a0008bd4:	e1520003 	cmp	r2, r3                                        
a0008bd8:	0affffbe 	beq	a0008ad8 <IMFS_eval_path+0x28>                
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
a0008bdc:	e597e010 	ldr	lr, [r7, #16]                                 
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
a0008be0:	e59e201c 	ldr	r2, [lr, #28]                                 
a0008be4:	e1520003 	cmp	r2, r3                                        
a0008be8:	0a000047 	beq	a0008d0c <IMFS_eval_path+0x25c>               
                                               pathnamelen+len,       
                                               flags,pathloc);        
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a0008bec:	e5936008 	ldr	r6, [r3, #8]                                  
a0008bf0:	e3560000 	cmp	r6, #0                                        
a0008bf4:	1afffff1 	bne	a0008bc0 <IMFS_eval_path+0x110>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
a0008bf8:	eb0013cb 	bl	a000db2c <__errno>                             
a0008bfc:	e580b000 	str	fp, [r0]                                      
a0008c00:	e3e0b000 	mvn	fp, #0                                        
a0008c04:	ea000003 	b	a0008c18 <IMFS_eval_path+0x168>                 
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0008c08:	eb0013c7 	bl	a000db2c <__errno>                             
a0008c0c:	e3a0305b 	mov	r3, #91	; 0x5b                                
a0008c10:	e5803000 	str	r3, [r0]                                      
a0008c14:	e3e0b000 	mvn	fp, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0008c18:	e1a0000b 	mov	r0, fp                                        
a0008c1c:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0008c20:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a0008c24:	e1a00007 	mov	r0, r7                                        
a0008c28:	ebffff37 	bl	a000890c <IMFS_evaluate_permission>            
a0008c2c:	e3500000 	cmp	r0, #0                                        
a0008c30:	0affffc1 	beq	a0008b3c <IMFS_eval_path+0x8c>                
a0008c34:	e5973000 	ldr	r3, [r7]                                      
a0008c38:	eaffffc7 	b	a0008b5c <IMFS_eval_path+0xac>                  
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
a0008c3c:	eb0013ba 	bl	a000db2c <__errno>                             
a0008c40:	e3a03002 	mov	r3, #2                                        
a0008c44:	e5803000 	str	r3, [r0]                                      
a0008c48:	e3e0b000 	mvn	fp, #0                                        
a0008c4c:	eafffff1 	b	a0008c18 <IMFS_eval_path+0x168>                 
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
a0008c50:	e1a00007 	mov	r0, r7                                        
a0008c54:	e3a01000 	mov	r1, #0                                        
a0008c58:	ebffff3e 	bl	a0008958 <IMFS_evaluate_hard_link>             
                                                                      
          node = pathloc->node_access;                                
a0008c5c:	e5976000 	ldr	r6, [r7]                                      
          if ( !node )                                                
a0008c60:	e3560000 	cmp	r6, #0                                        
a0008c64:	0a00001a 	beq	a0008cd4 <IMFS_eval_path+0x224>               
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0008c68:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a0008c6c:	eaffffc9 	b	a0008b98 <IMFS_eval_path+0xe8>                  
   *                                                                  
   *  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 ) {                       
a0008c70:	e593e05c 	ldr	lr, [r3, #92]	; 0x5c                          
a0008c74:	e35e0000 	cmp	lr, #0                                        
a0008c78:	0affffa7 	beq	a0008b1c <IMFS_eval_path+0x6c>                
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a0008c7c:	e28ee01c 	add	lr, lr, #28                                   
a0008c80:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0008c84:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0008c88:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
a0008c8c:	e28d6028 	add	r6, sp, #40	; 0x28                            
a0008c90:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a0008c94:	e1a06007 	mov	r6, r7                                        
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a0008c98:	e59ee000 	ldr	lr, [lr]                                      
      *pathloc = newloc;                                              
a0008c9c:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0008ca0:	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;                                              
a0008ca4:	e586e000 	str	lr, [r6]                                      
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0008ca8:	e597300c 	ldr	r3, [r7, #12]                                 
a0008cac:	e0610005 	rsb	r0, r1, r5                                    
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
a0008cb0:	e58ce000 	str	lr, [ip]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
a0008cb4:	e08a0000 	add	r0, sl, r0                                    
a0008cb8:	e593c000 	ldr	ip, [r3]                                      
a0008cbc:	e0841001 	add	r1, r4, r1                                    
a0008cc0:	e59d2000 	ldr	r2, [sp]                                      
a0008cc4:	e1a03007 	mov	r3, r7                                        
a0008cc8:	e12fff3c 	blx	ip                                            
a0008ccc:	e1a0b000 	mov	fp, r0                                        
a0008cd0:	eaffffd0 	b	a0008c18 <IMFS_eval_path+0x168>                 
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
a0008cd4:	eb001394 	bl	a000db2c <__errno>                             
a0008cd8:	e3a03014 	mov	r3, #20                                       
a0008cdc:	e5803000 	str	r3, [r0]                                      
a0008ce0:	e3e0b000 	mvn	fp, #0                                        
a0008ce4:	eaffffcb 	b	a0008c18 <IMFS_eval_path+0x168>                 
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
a0008ce8:	e1a00007 	mov	r0, r7                                        
a0008cec:	e3a01000 	mov	r1, #0                                        
a0008cf0:	ebffff31 	bl	a00089bc <IMFS_evaluate_sym_link>              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
a0008cf4:	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 );              
a0008cf8:	e1a0b000 	mov	fp, r0                                        
                                                                      
          node = pathloc->node_access;                                
a0008cfc:	e5976000 	ldr	r6, [r7]                                      
          if ( result == -1 )                                         
a0008d00:	0affffc4 	beq	a0008c18 <IMFS_eval_path+0x168>               
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
a0008d04:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
a0008d08:	eaffffa2 	b	a0008b98 <IMFS_eval_path+0xe8>                  
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a0008d0c:	e28ee008 	add	lr, lr, #8                                    
a0008d10:	eaffffda 	b	a0008c80 <IMFS_eval_path+0x1d0>                 
                                                                      
a0008dec <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    */       
)                                                                     
{                                                                     
a0008dec:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a0008df0:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0008df4:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
a0008df8:	e5915000 	ldr	r5, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
a0008dfc:	e58d2000 	str	r2, [sp]                                      
a0008e00:	e1a0a000 	mov	sl, r0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
a0008e04:	eb001739 	bl	a000eaf0 <strlen>                              
a0008e08:	e3a07000 	mov	r7, #0                                        
a0008e0c:	e28d8004 	add	r8, sp, #4                                    
a0008e10:	e1a04000 	mov	r4, r0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a0008e14:	e1a01004 	mov	r1, r4                                        
a0008e18:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0008e1c:	e08a0007 	add	r0, sl, r7                                    
a0008e20:	e1a02008 	mov	r2, r8                                        
a0008e24:	eb000154 	bl	a000937c <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0008e28:	e5963000 	ldr	r3, [r6]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0008e2c:	e59db03c 	ldr	fp, [sp, #60]	; 0x3c                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
a0008e30:	e1a09000 	mov	r9, r0                                        
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0008e34:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
a0008e38:	e06b4004 	rsb	r4, fp, r4                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
a0008e3c:	0a00003a 	beq	a0008f2c <IMFS_evaluate_for_make+0x140>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
a0008e40:	e3500000 	cmp	r0, #0                                        
a0008e44:	1a000006 	bne	a0008e64 <IMFS_evaluate_for_make+0x78>        
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
a0008e48:	eb001337 	bl	a000db2c <__errno>                             
a0008e4c:	e3a03011 	mov	r3, #17                                       
a0008e50:	e5803000 	str	r3, [r0]                                      
a0008e54:	e3e05000 	mvn	r5, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0008e58:	e1a00005 	mov	r0, r5                                        
a0008e5c:	e28dd040 	add	sp, sp, #64	; 0x40                            
a0008e60:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
a0008e64:	e595104c 	ldr	r1, [r5, #76]	; 0x4c                          
a0008e68:	e3510001 	cmp	r1, #1                                        
a0008e6c:	0a00004b 	beq	a0008fa0 <IMFS_evaluate_for_make+0x1b4>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
a0008e70:	e087700b 	add	r7, r7, fp                                    
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
a0008e74:	e1a05003 	mov	r5, r3                                        
                                                                      
    switch( type ) {                                                  
a0008e78:	e3590004 	cmp	r9, #4                                        
a0008e7c:	979ff109 	ldrls	pc, [pc, r9, lsl #2]                        
a0008e80:	eaffffe3 	b	a0008e14 <IMFS_evaluate_for_make+0x28>          <== NOT EXECUTED
a0008e84:	a0008e48 	.word	0xa0008e48                                  <== NOT EXECUTED
a0008e88:	a0008e14 	.word	0xa0008e14                                  <== NOT EXECUTED
a0008e8c:	a0008efc 	.word	0xa0008efc                                  <== NOT EXECUTED
a0008e90:	a0008eac 	.word	0xa0008eac                                  <== NOT EXECUTED
a0008e94:	a0008e98 	.word	0xa0008e98                                  <== NOT EXECUTED
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
a0008e98:	eb001323 	bl	a000db2c <__errno>                             
a0008e9c:	e3a0305b 	mov	r3, #91	; 0x5b                                
a0008ea0:	e5803000 	str	r3, [r0]                                      
a0008ea4:	e3e05000 	mvn	r5, #0                                        
a0008ea8:	eaffffea 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
a0008eac:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0008eb0:	e3530003 	cmp	r3, #3                                        
a0008eb4:	0a00006a 	beq	a0009064 <IMFS_evaluate_for_make+0x278>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
a0008eb8:	e3530004 	cmp	r3, #4                                        
a0008ebc:	0a000068 	beq	a0009064 <IMFS_evaluate_for_make+0x278>       
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
a0008ec0:	e3550000 	cmp	r5, #0                                        
a0008ec4:	0a00004c 	beq	a0008ffc <IMFS_evaluate_for_make+0x210>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
a0008ec8:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a0008ecc:	e3530001 	cmp	r3, #1                                        
a0008ed0:	1a000049 	bne	a0008ffc <IMFS_evaluate_for_make+0x210>       
	/*                                                                   
	 * 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 ) {                   
a0008ed4:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
a0008ed8:	e35e0000 	cmp	lr, #0                                        
a0008edc:	1a00004b 	bne	a0009010 <IMFS_evaluate_for_make+0x224>       
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
a0008ee0:	e1a00005 	mov	r0, r5                                        
a0008ee4:	e1a01008 	mov	r1, r8                                        
a0008ee8:	eb0000f4 	bl	a00092c0 <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
a0008eec:	e2505000 	subs	r5, r0, #0                                   
a0008ef0:	0a000012 	beq	a0008f40 <IMFS_evaluate_for_make+0x154>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
a0008ef4:	e5865000 	str	r5, [r6]                                      
a0008ef8:	eaffffc5 	b	a0008e14 <IMFS_evaluate_for_make+0x28>          
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
a0008efc:	e59f1188 	ldr	r1, [pc, #392]	; a000908c <IMFS_evaluate_for_make+0x2a0>
a0008f00:	e5912000 	ldr	r2, [r1]                                      
a0008f04:	e5922018 	ldr	r2, [r2, #24]                                 
a0008f08:	e1520003 	cmp	r2, r3                                        
a0008f0c:	0affffc0 	beq	a0008e14 <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){
a0008f10:	e596e010 	ldr	lr, [r6, #16]                                 
a0008f14:	e59e201c 	ldr	r2, [lr, #28]                                 
a0008f18:	e1520003 	cmp	r2, r3                                        
a0008f1c:	0a000058 	beq	a0009084 <IMFS_evaluate_for_make+0x298>       
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
a0008f20:	e5935008 	ldr	r5, [r3, #8]                                  
a0008f24:	e3550000 	cmp	r5, #0                                        
a0008f28:	1afffff1 	bne	a0008ef4 <IMFS_evaluate_for_make+0x108>       
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
      rtems_set_errno_and_return_minus_one( ENOENT );                 
a0008f2c:	eb0012fe 	bl	a000db2c <__errno>                             
a0008f30:	e3a03002 	mov	r3, #2                                        
a0008f34:	e5803000 	str	r3, [r0]                                      
a0008f38:	e3e05000 	mvn	r5, #0                                        
a0008f3c:	eaffffc5 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
a0008f40:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
a0008f44:	e59d1000 	ldr	r1, [sp]                                      
a0008f48:	e0633007 	rsb	r3, r3, r7                                    
a0008f4c:	e08a3003 	add	r3, sl, r3                                    
a0008f50:	e5813000 	str	r3, [r1]                                      
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
a0008f54:	e7da3007 	ldrb	r3, [sl, r7]                                 
a0008f58:	e3530000 	cmp	r3, #0                                        
a0008f5c:	0a000015 	beq	a0008fb8 <IMFS_evaluate_for_make+0x1cc>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
a0008f60:	e353002f 	cmp	r3, #47	; 0x2f                                
a0008f64:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0008f68:	1affffef 	bne	a0008f2c <IMFS_evaluate_for_make+0x140>       
      rtems_set_errno_and_return_minus_one( ENOENT );                 
a0008f6c:	e08a7007 	add	r7, sl, r7                                    
  /*                                                                  
   * 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++) {                                      
a0008f70:	e5d73001 	ldrb	r3, [r7, #1]                                 
    if ( !IMFS_is_separator( path[ i ] ) )                            
a0008f74:	e2877001 	add	r7, r7, #1                                    
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
a0008f78:	e3530000 	cmp	r3, #0                                        
a0008f7c:	0a00000d 	beq	a0008fb8 <IMFS_evaluate_for_make+0x1cc>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
a0008f80:	e353005c 	cmp	r3, #92	; 0x5c                                
a0008f84:	1353002f 	cmpne	r3, #47	; 0x2f                              
a0008f88:	0afffff8 	beq	a0008f70 <IMFS_evaluate_for_make+0x184>       
      rtems_set_errno_and_return_minus_one( ENOENT );                 
a0008f8c:	eb0012e6 	bl	a000db2c <__errno>                             
a0008f90:	e3a03002 	mov	r3, #2                                        
a0008f94:	e5803000 	str	r3, [r0]                                      
a0008f98:	e3e05000 	mvn	r5, #0                                        
a0008f9c:	eaffffad 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
a0008fa0:	e1a00006 	mov	r0, r6                                        
a0008fa4:	ebfffe58 	bl	a000890c <IMFS_evaluate_permission>            
a0008fa8:	e3500000 	cmp	r0, #0                                        
a0008fac:	0a00000d 	beq	a0008fe8 <IMFS_evaluate_for_make+0x1fc>       
a0008fb0:	e5963000 	ldr	r3, [r6]                                      
a0008fb4:	eaffffad 	b	a0008e70 <IMFS_evaluate_for_make+0x84>          
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a0008fb8:	e1a00006 	mov	r0, r6                                        
a0008fbc:	ebfffe2c 	bl	a0008874 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
a0008fc0:	e5963000 	ldr	r3, [r6]                                      
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
a0008fc4:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
a0008fc8:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0008fcc:	e3530001 	cmp	r3, #1                                        
a0008fd0:	1a000009 	bne	a0008ffc <IMFS_evaluate_for_make+0x210>       
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
a0008fd4:	e1a00006 	mov	r0, r6                                        
a0008fd8:	e3a01003 	mov	r1, #3                                        
a0008fdc:	ebfffe4a 	bl	a000890c <IMFS_evaluate_permission>            
a0008fe0:	e3500000 	cmp	r0, #0                                        
a0008fe4:	1affff9b 	bne	a0008e58 <IMFS_evaluate_for_make+0x6c>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008fe8:	eb0012cf 	bl	a000db2c <__errno>                             
a0008fec:	e3a0300d 	mov	r3, #13                                       
a0008ff0:	e5803000 	str	r3, [r0]                                      
a0008ff4:	e3e05000 	mvn	r5, #0                                        
a0008ff8:	eaffff96 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0008ffc:	eb0012ca 	bl	a000db2c <__errno>                             
a0009000:	e3a03014 	mov	r3, #20                                       
a0009004:	e5803000 	str	r3, [r0]                                      
a0009008:	e3e05000 	mvn	r5, #0                                        
a000900c:	eaffff91 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a0009010:	e28ee01c 	add	lr, lr, #28                                   
a0009014:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0009018:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000901c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
a0009020:	e28d4028 	add	r4, sp, #40	; 0x28                            
a0009024:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0009028:	e1a04006 	mov	r4, r6                                        
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a000902c:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
a0009030:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a0009034:	e59d003c 	ldr	r0, [sp, #60]	; 0x3c                          
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
a0009038:	e584e000 	str	lr, [r4]                                      
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a000903c:	e596300c 	ldr	r3, [r6, #12]                                 
a0009040:	e0600007 	rsb	r0, r0, r7                                    
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
a0009044:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
a0009048:	e08a0000 	add	r0, sl, r0                                    
a000904c:	e5933004 	ldr	r3, [r3, #4]                                  
a0009050:	e1a01006 	mov	r1, r6                                        
a0009054:	e59d2000 	ldr	r2, [sp]                                      
a0009058:	e12fff33 	blx	r3                                            
a000905c:	e1a05000 	mov	r5, r0                                        
a0009060:	eaffff7c 	b	a0008e58 <IMFS_evaluate_for_make+0x6c>          
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a0009064:	e1a00006 	mov	r0, r6                                        
a0009068:	e3a01000 	mov	r1, #0                                        
a000906c:	ebffff29 	bl	a0008d18 <IMFS_evaluate_link>                  
                                                                      
          if ( result == -1 )                                         
a0009070:	e3700001 	cmn	r0, #1                                        
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
a0009074:	e1a05000 	mov	r5, r0                                        
                                                                      
          if ( result == -1 )                                         
a0009078:	0affff76 	beq	a0008e58 <IMFS_evaluate_for_make+0x6c>        
a000907c:	e5965000 	ldr	r5, [r6]                                      
a0009080:	eaffff8e 	b	a0008ec0 <IMFS_evaluate_for_make+0xd4>          
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
a0009084:	e28ee008 	add	lr, lr, #8                                    
a0009088:	eaffffe1 	b	a0009014 <IMFS_evaluate_for_make+0x228>         
                                                                      
a0008958 <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;       
a0008958:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a000895c:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a0008960:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a0008964:	e1a04000 	mov	r4, r0                                        
a0008968:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
a000896c:	e3520003 	cmp	r2, #3                                        
a0008970:	1a00000e 	bne	a00089b0 <IMFS_evaluate_hard_link+0x58>       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
a0008974:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
a0008978:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
a000897c:	ebffffbc 	bl	a0008874 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a0008980:	e1a00004 	mov	r0, r4                                        
a0008984:	e1a01005 	mov	r1, r5                                        
a0008988:	ebffffdf 	bl	a000890c <IMFS_evaluate_permission>            
a000898c:	e3500000 	cmp	r0, #0                                        
a0008990:	0a000001 	beq	a000899c <IMFS_evaluate_hard_link+0x44>       
a0008994:	e3a00000 	mov	r0, #0                                        
a0008998:	e8bd8030 	pop	{r4, r5, pc}                                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
a000899c:	eb001462 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00089a0:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a00089a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00089a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
a00089ac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
a00089b0:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a00089b4:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a00089b8:	ebfff2d5 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a00089bc <IMFS_evaluate_sym_link>:                                    
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a00089bc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_jnode_t                     *jnode  = node->node_access;       
a00089c0:	e590e000 	ldr	lr, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
a00089c4:	e1a04000 	mov	r4, r0                                        
a00089c8:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
a00089cc:	e59e304c 	ldr	r3, [lr, #76]	; 0x4c                          
a00089d0:	e3530004 	cmp	r3, #4                                        
a00089d4:	1a000031 	bne	a0008aa0 <IMFS_evaluate_sym_link+0xe4>        
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
a00089d8:	e59e3008 	ldr	r3, [lr, #8]                                  
a00089dc:	e3530000 	cmp	r3, #0                                        
a00089e0:	0a00002b 	beq	a0008a94 <IMFS_evaluate_sym_link+0xd8>        
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
a00089e4:	e5803000 	str	r3, [r0]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a00089e8:	e59e2050 	ldr	r2, [lr, #80]	; 0x50                          
a00089ec:	e5d23000 	ldrb	r3, [r2]                                     
a00089f0:	e353002f 	cmp	r3, #47	; 0x2f                                
a00089f4:	1353005c 	cmpne	r3, #92	; 0x5c                              
a00089f8:	13a06000 	movne	r6, #0                                      
a00089fc:	03a06001 	moveq	r6, #1                                      
a0008a00:	1a00001b 	bne	a0008a74 <IMFS_evaluate_sym_link+0xb8>        
a0008a04:	e59f30a0 	ldr	r3, [pc, #160]	; a0008aac <IMFS_evaluate_sym_link+0xf0>
a0008a08:	e1a07004 	mov	r7, r4                                        
a0008a0c:	e3a06001 	mov	r6, #1                                        
a0008a10:	e593c000 	ldr	ip, [r3]                                      
a0008a14:	e28cc018 	add	ip, ip, #24                                   
a0008a18:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0008a1c:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
a0008a20:	e59c2000 	ldr	r2, [ip]                                      
a0008a24:	e5872000 	str	r2, [r7]                                      
a0008a28:	e59e2050 	ldr	r2, [lr, #80]	; 0x50                          
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
a0008a2c:	e0826006 	add	r6, r2, r6                                    
a0008a30:	e1a00006 	mov	r0, r6                                        
a0008a34:	eb00182d 	bl	a000eaf0 <strlen>                              
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a0008a38:	e1a02005 	mov	r2, r5                                        
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
a0008a3c:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
a0008a40:	e1a03004 	mov	r3, r4                                        
a0008a44:	e1a00006 	mov	r0, r6                                        
a0008a48:	eb000018 	bl	a0008ab0 <IMFS_eval_path>                      
a0008a4c:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
a0008a50:	e1a00004 	mov	r0, r4                                        
a0008a54:	ebffff86 	bl	a0008874 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
a0008a58:	e1a00004 	mov	r0, r4                                        
a0008a5c:	e1a01005 	mov	r1, r5                                        
a0008a60:	ebffffa9 	bl	a000890c <IMFS_evaluate_permission>            
a0008a64:	e3500000 	cmp	r0, #0                                        
a0008a68:	0a000004 	beq	a0008a80 <IMFS_evaluate_sym_link+0xc4>        
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
a0008a6c:	e1a00006 	mov	r0, r6                                        
a0008a70:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
a0008a74:	e3530000 	cmp	r3, #0                                        
a0008a78:	1affffeb 	bne	a0008a2c <IMFS_evaluate_sym_link+0x70>        
a0008a7c:	eaffffe0 	b	a0008a04 <IMFS_evaluate_sym_link+0x48>          <== NOT EXECUTED
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008a80:	eb001429 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0008a84:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
a0008a88:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0008a8c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0008a90:	eafffff5 	b	a0008a6c <IMFS_evaluate_sym_link+0xb0>          <== NOT EXECUTED
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    rtems_fatal_error_occurred( 0xBAD00000 );                         
a0008a94:	e3a004ba 	mov	r0, #-1174405120	; 0xba000000                 <== NOT EXECUTED
a0008a98:	e280060d 	add	r0, r0, #13631488	; 0xd00000                  <== NOT EXECUTED
a0008a9c:	ebfff29c 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
a0008aa0:	e3a0032b 	mov	r0, #-1409286144	; 0xac000000                 <== NOT EXECUTED
a0008aa4:	e2400833 	sub	r0, r0, #3342336	; 0x330000                   <== NOT EXECUTED
a0008aa8:	ebfff299 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a000c380 <IMFS_fchmod>:                                               
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
a000c380:	e92d4070 	push	{r4, r5, r6, lr}                             
a000c384:	e24dd008 	sub	sp, sp, #8                                    
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
a000c388:	e5904000 	ldr	r4, [r0]                                      
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
a000c38c:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
a000c390:	ebfff5a0 	bl	a0009a18 <geteuid>                             
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
a000c394:	e1d453bc 	ldrh	r5, [r4, #60]	; 0x3c                         
a000c398:	e3500000 	cmp	r0, #0                                        
a000c39c:	11550000 	cmpne	r5, r0                                      
a000c3a0:	03a05000 	moveq	r5, #0                                      
a000c3a4:	13a05001 	movne	r5, #1                                      
a000c3a8:	1a00000e 	bne	a000c3e8 <IMFS_fchmod+0x68>                   
  /*                                                                  
   * 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);
a000c3ac:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
a000c3b0:	e1a06a06 	lsl	r6, r6, #20                                   
                                                                      
  IMFS_update_ctime( jnode );                                         
a000c3b4:	e1a0000d 	mov	r0, sp                                        
  /*                                                                  
   * 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);
a000c3b8:	e3c33eff 	bic	r3, r3, #4080	; 0xff0                         
a000c3bc:	e3c3300f 	bic	r3, r3, #15                                   
a000c3c0:	e1a06a26 	lsr	r6, r6, #20                                   
a000c3c4:	e1866003 	orr	r6, r6, r3                                    
a000c3c8:	e5846030 	str	r6, [r4, #48]	; 0x30                          
                                                                      
  IMFS_update_ctime( jnode );                                         
a000c3cc:	e1a01005 	mov	r1, r5                                        
a000c3d0:	ebfff595 	bl	a0009a2c <gettimeofday>                        
a000c3d4:	e59d3000 	ldr	r3, [sp]                                      
a000c3d8:	e1a00005 	mov	r0, r5                                        
a000c3dc:	e5843048 	str	r3, [r4, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a000c3e0:	e28dd008 	add	sp, sp, #8                                    
a000c3e4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
a000c3e8:	eb0005cf 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000c3ec:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a000c3f0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000c3f4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000c3f8:	eafffff8 	b	a000c3e0 <IMFS_fchmod+0x60>                     <== NOT EXECUTED
                                                                      
a0009214 <IMFS_fifo_close>:                                           
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0009214:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a0009218:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a000921c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0009220:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
a0009224:	e2850050 	add	r0, r5, #80	; 0x50                            <== NOT EXECUTED
a0009228:	eb000a83 	bl	a000bc3c <pipe_release>                        <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
a000922c:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a0009230:	0a000002 	beq	a0009240 <IMFS_fifo_close+0x2c>               <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
      free(jnode);                                                    
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0009234:	ba00000e 	blt	a0009274 <IMFS_fifo_close+0x60>               <== NOT EXECUTED
}                                                                     
a0009238:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000923c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a0009240:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
a0009244:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
a0009248:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a000924c:	e5843014 	str	r3, [r4, #20]                                 <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
a0009250:	eb000222 	bl	a0009ae0 <rtems_libio_is_file_open>            <== NOT EXECUTED
a0009254:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0009258:	1afffff6 	bne	a0009238 <IMFS_fifo_close+0x24>               <== NOT EXECUTED
a000925c:	e1d533b4 	ldrh	r3, [r5, #52]	; 0x34                         <== NOT EXECUTED
a0009260:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0009264:	1afffff3 	bne	a0009238 <IMFS_fifo_close+0x24>               <== NOT EXECUTED
      free(jnode);                                                    
a0009268:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000926c:	ebffe1d2 	bl	a00019bc <free>                                <== NOT EXECUTED
a0009270:	eafffff0 	b	a0009238 <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0009274:	eb00122c 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009278:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
a000927c:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
a0009280:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a0009284:	eaffffeb 	b	a0009238 <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
                                                                      
a00090e8 <IMFS_fifo_ioctl>:                                           
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a00090e8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a00090ec:	e59f0068 	ldr	r0, [pc, #104]	; a000915c <IMFS_fifo_ioctl+0x74><== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a00090f0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
a00090f4:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
a00090f8:	0a000005 	beq	a0009114 <IMFS_fifo_ioctl+0x2c>               <== NOT EXECUTED
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
a00090fc:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
a0009100:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
a0009104:	eb0009bd 	bl	a000b800 <pipe_ioctl>                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0009108:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000910c:	ba00000d 	blt	a0009148 <IMFS_fifo_ioctl+0x60>               <== NOT EXECUTED
}                                                                     
a0009110:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
a0009114:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0009118:	03a0400e 	moveq	r4, #14                                     <== NOT EXECUTED
a000911c:	0a00000a 	beq	a000914c <IMFS_fifo_ioctl+0x64>               <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
a0009120:	e5920000 	ldr	r0, [r2]                                      <== NOT EXECUTED
a0009124:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a0009128:	15932014 	ldrne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a000912c:	05932014 	ldreq	r2, [r3, #20]                               <== NOT EXECUTED
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
a0009130:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0009134:	13822001 	orrne	r2, r2, #1                                  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a0009138:	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;                           
a000913c:	15832014 	strne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
a0009140:	05832014 	streq	r2, [r3, #20]                               <== NOT EXECUTED
a0009144:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a0009148:	e2604000 	rsb	r4, r0, #0                                    <== NOT EXECUTED
a000914c:	eb001276 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009150:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a0009154:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009158:	eaffffec 	b	a0009110 <IMFS_fifo_ioctl+0x28>                 <== NOT EXECUTED
                                                                      
a0009090 <IMFS_fifo_lseek>:                                           
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
a0009090:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
a0009094:	e590c038 	ldr	ip, [r0, #56]	; 0x38                          <== NOT EXECUTED
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
a0009098:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
a000909c:	e59cc050 	ldr	ip, [ip, #80]	; 0x50                          <== NOT EXECUTED
a00090a0:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
a00090a4:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
a00090a8:	eb0009b6 	bl	a000b788 <pipe_lseek>                          <== NOT EXECUTED
a00090ac:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a00090b0:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a00090b4:	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);       
a00090b8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
a00090bc:	ba000003 	blt	a00090d0 <IMFS_fifo_lseek+0x40>               <== NOT EXECUTED
}                                                                     
a00090c0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00090c4:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a00090c8:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a00090cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
a00090d0:	eb001295 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00090d4:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a00090d8:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a00090dc:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a00090e0:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
a00090e4:	eafffff5 	b	a00090c0 <IMFS_fifo_lseek+0x30>                 <== NOT EXECUTED
                                                                      
a00091bc <IMFS_fifo_read>:                                            
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00091bc:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a00091c0:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00091c4:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a00091c8:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
a00091cc:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a00091d0:	eb0009a5 	bl	a000b86c <pipe_read>                           <== NOT EXECUTED
  if (err > 0)                                                        
a00091d4:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a00091d8:	da000007 	ble	a00091fc <IMFS_fifo_read+0x40>                <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
a00091dc:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00091e0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00091e4:	eb000210 	bl	a0009a2c <gettimeofday>                        <== NOT EXECUTED
a00091e8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a00091ec:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a00091f0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00091f4:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00091f8:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
  if (err > 0)                                                        
    IMFS_update_atime(jnode);                                         
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a00091fc:	0afffffb 	beq	a00091f0 <IMFS_fifo_read+0x34>                <== NOT EXECUTED
a0009200:	eb001249 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009204:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a0009208:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a000920c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0009210:	eafffff6 	b	a00091f0 <IMFS_fifo_read+0x34>                  <== NOT EXECUTED
                                                                      
a0009160 <IMFS_fifo_write>:                                           
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0009160:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
a0009164:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0009168:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000916c:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
a0009170:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0009174:	eb000a29 	bl	a000ba20 <pipe_write>                          <== NOT EXECUTED
  if (err > 0) {                                                      
a0009178:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a000917c:	da000008 	ble	a00091a4 <IMFS_fifo_write+0x44>               <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
a0009180:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a0009184:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0009188:	eb000227 	bl	a0009a2c <gettimeofday>                        <== NOT EXECUTED
a000918c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0009190:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
a0009194:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
a0009198:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000919c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a00091a0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
a00091a4:	0afffffb 	beq	a0009198 <IMFS_fifo_write+0x38>               <== NOT EXECUTED
a00091a8:	eb00125f 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00091ac:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
a00091b0:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
a00091b4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a00091b8:	eafffff6 	b	a0009198 <IMFS_fifo_write+0x38>                 <== NOT EXECUTED
                                                                      
a00092c0 <IMFS_find_match_in_dir>:                                    
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
a00092c0:	e92d4070 	push	{r4, r5, r6, lr}                             
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a00092c4:	e2505000 	subs	r5, r0, #0                                   
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
a00092c8:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a00092cc:	0a000020 	beq	a0009354 <IMFS_find_match_in_dir+0x94>        
  if ( !name )                                                        
a00092d0:	e3510000 	cmp	r1, #0                                        
a00092d4:	0a00000c 	beq	a000930c <IMFS_find_match_in_dir+0x4c>        
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
a00092d8:	e1a00001 	mov	r0, r1                                        
a00092dc:	e59f1084 	ldr	r1, [pc, #132]	; a0009368 <IMFS_find_match_in_dir+0xa8>
a00092e0:	eb00153a 	bl	a000e7d0 <strcmp>                              
a00092e4:	e3500000 	cmp	r0, #0                                        
a00092e8:	0a000005 	beq	a0009304 <IMFS_find_match_in_dir+0x44>        
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a00092ec:	e1a00004 	mov	r0, r4                                        
a00092f0:	e59f1074 	ldr	r1, [pc, #116]	; a000936c <IMFS_find_match_in_dir+0xac>
a00092f4:	eb001535 	bl	a000e7d0 <strcmp>                              
a00092f8:	e3500000 	cmp	r0, #0                                        
    return directory->Parent;                                         
a00092fc:	05955008 	ldreq	r5, [r5, #8]                                
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
a0009300:	1a000004 	bne	a0009318 <IMFS_find_match_in_dir+0x58>        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009304:	e1a00005 	mov	r0, r5                                        
a0009308:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a000930c:	e3a05000 	mov	r5, #0                                        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0009310:	e1a00005 	mov	r0, r5                                        
a0009314:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a0009318:	e5956050 	ldr	r6, [r5, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000931c:	e2855054 	add	r5, r5, #84	; 0x54                            
a0009320:	e1560005 	cmp	r6, r5                                        
a0009324:	1a000003 	bne	a0009338 <IMFS_find_match_in_dir+0x78>        
a0009328:	eafffff7 	b	a000930c <IMFS_find_match_in_dir+0x4c>          
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
a000932c:	e5966000 	ldr	r6, [r6]                                      
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
a0009330:	e1560005 	cmp	r6, r5                                        
a0009334:	0afffff4 	beq	a000930c <IMFS_find_match_in_dir+0x4c>        
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
a0009338:	e1a00004 	mov	r0, r4                                        
a000933c:	e286100c 	add	r1, r6, #12                                   
a0009340:	eb001522 	bl	a000e7d0 <strcmp>                              
a0009344:	e3500000 	cmp	r0, #0                                        
a0009348:	1afffff7 	bne	a000932c <IMFS_find_match_in_dir+0x6c>        
a000934c:	e1a05006 	mov	r5, r6                                        
a0009350:	eaffffeb 	b	a0009304 <IMFS_find_match_in_dir+0x44>          
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
a0009354:	e59f0014 	ldr	r0, [pc, #20]	; a0009370 <IMFS_find_match_in_dir+0xb0><== NOT EXECUTED
a0009358:	e3a0102a 	mov	r1, #42	; 0x2a                                <== NOT EXECUTED
a000935c:	e59f2010 	ldr	r2, [pc, #16]	; a0009374 <IMFS_find_match_in_dir+0xb4><== NOT EXECUTED
a0009360:	e59f3010 	ldr	r3, [pc, #16]	; a0009378 <IMFS_find_match_in_dir+0xb8><== NOT EXECUTED
a0009364:	eb000119 	bl	a00097d0 <__assert_func>                       <== NOT EXECUTED
                                                                      
a000e498 <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                 
)                                                                     
{                                                                     
a000e498:	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;     
a000e49c:	e1a0c000 	mov	ip, r0                                        
a000e4a0:	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                 
)                                                                     
{                                                                     
a000e4a4:	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;                                   
a000e4a8:	e1a0600d 	mov	r6, sp                                        
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a000e4ac:	e1a0e000 	mov	lr, r0                                        
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
a000e4b0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000e4b4:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
a000e4b8:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
a000e4bc:	e3a01000 	mov	r1, #0                                        
a000e4c0:	e58e101c 	str	r1, [lr, #28]                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
a000e4c4:	e1a0500d 	mov	r5, sp                                        
a000e4c8:	e5862000 	str	r2, [r6]                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000e4cc:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
a000e4d0:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
a000e4d4:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
a000e4d8:	ebfffd59 	bl	a000da44 <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
a000e4dc:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000e4e0:	e2842054 	add	r2, r4, #84	; 0x54                            
a000e4e4:	e3530001 	cmp	r3, #1                                        
a000e4e8:	1a000010 	bne	a000e530 <IMFS_fsunmount+0x98>                
a000e4ec:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000e4f0:	e1530002 	cmp	r3, r2                                        
a000e4f4:	0a00000d 	beq	a000e530 <IMFS_fsunmount+0x98>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
a000e4f8:	e3540000 	cmp	r4, #0                                        
a000e4fc:	0a000008 	beq	a000e524 <IMFS_fsunmount+0x8c>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
a000e500:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a000e504:	e3530001 	cmp	r3, #1                                        
a000e508:	1affffef 	bne	a000e4cc <IMFS_fsunmount+0x34>                
a000e50c:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a000e510:	e2842054 	add	r2, r4, #84	; 0x54                            
a000e514:	e1530002 	cmp	r3, r2                                        
a000e518:	0affffeb 	beq	a000e4cc <IMFS_fsunmount+0x34>                
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000e51c:	e2534000 	subs	r4, r3, #0                                   
a000e520:	1affffe9 	bne	a000e4cc <IMFS_fsunmount+0x34>                
a000e524:	e3a00000 	mov	r0, #0                                        
                                                                      
   return 0;                                                          
}                                                                     
a000e528:	e28dd014 	add	sp, sp, #20                                   
a000e52c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
a000e530:	e3a00000 	mov	r0, #0                                        
a000e534:	e1a0100d 	mov	r1, sp                                        
a000e538:	ebffd0e4 	bl	a00028d0 <IMFS_unlink>                         
        if (result != 0)                                              
a000e53c:	e3500000 	cmp	r0, #0                                        
a000e540:	01a04006 	moveq	r4, r6                                      
a000e544:	0affffeb 	beq	a000e4f8 <IMFS_fsunmount+0x60>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
a000e548:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000e54c:	eafffff5 	b	a000e528 <IMFS_fsunmount+0x90>                  <== NOT EXECUTED
                                                                      
a000946c <IMFS_initialize_support>:                                   
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
a000946c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0009470:	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,       
a0009474:	e59f10d4 	ldr	r1, [pc, #212]	; a0009550 <IMFS_initialize_support+0xe4>
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
a0009478:	e1a04000 	mov	r4, r0                                        
a000947c:	e1a08002 	mov	r8, r2                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
a0009480:	e5911000 	ldr	r1, [r1]                                      
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
a0009484:	e1a06003 	mov	r6, r3                                        
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
a0009488:	e3510010 	cmp	r1, #16                                       
a000948c:	0a000008 	beq	a00094b4 <IMFS_initialize_support+0x48>       
a0009490:	e3a03000 	mov	r3, #0                                        
a0009494:	e3a02020 	mov	r2, #32                                       
a0009498:	e1510002 	cmp	r1, r2                                        
a000949c:	e2833001 	add	r3, r3, #1                                    
a00094a0:	0a000003 	beq	a00094b4 <IMFS_initialize_support+0x48>       
a00094a4:	e3530005 	cmp	r3, #5                                        
a00094a8:	e1a02082 	lsl	r2, r2, #1                                    
a00094ac:	1afffff9 	bne	a0009498 <IMFS_initialize_support+0x2c>       
a00094b0:	e3a01080 	mov	r1, #128	; 0x80                               <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
a00094b4:	e59f5098 	ldr	r5, [pc, #152]	; a0009554 <IMFS_initialize_support+0xe8>
a00094b8:	e5851000 	str	r1, [r5]                                      
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
a00094bc:	eb000b4d 	bl	a000c1f8 <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;
a00094c0:	e59fe090 	ldr	lr, [pc, #144]	; a0009558 <IMFS_initialize_support+0xec>
a00094c4:	e284c038 	add	ip, r4, #56	; 0x38                            
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
a00094c8:	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;
a00094cc:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00094d0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00094d4:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a00094d8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00094dc:	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;              
a00094e0:	e5847028 	str	r7, [r4, #40]	; 0x28                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
a00094e4:	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;    
a00094e8:	e5846024 	str	r6, [r4, #36]	; 0x24                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
a00094ec:	e3a00001 	mov	r0, #1                                        
a00094f0:	e3a01010 	mov	r1, #16                                       
a00094f4:	eb0000c8 	bl	a000981c <calloc>                              
  if ( !fs_info ) {                                                   
a00094f8:	e3500000 	cmp	r0, #0                                        
a00094fc:	0a00000c 	beq	a0009534 <IMFS_initialize_support+0xc8>       
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0009500:	e5952004 	ldr	r2, [r5, #4]                                  
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
a0009504:	e594101c 	ldr	r1, [r4, #28]                                 
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
a0009508:	e3a03001 	mov	r3, #1                                        
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a000950c:	e880000c 	stm	r0, {r2, r3}                                  
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
a0009510:	e580600c 	str	r6, [r0, #12]                                 
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
a0009514:	e5808008 	str	r8, [r0, #8]                                  
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0009518:	e0822003 	add	r2, r2, r3                                    
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
a000951c:	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;                                 
a0009520:	e5813038 	str	r3, [r1, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
a0009524:	e5852004 	str	r2, [r5, #4]                                  
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
a0009528:	eb000898 	bl	a000b790 <rtems_pipe_initialize>               
a000952c:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a0009530:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
a0009534:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a0009538:	ebffe11f 	bl	a00019bc <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a000953c:	eb00117a 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009540:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0009544:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009548:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000954c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
a000257c <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 */            
)                                                                     
{                                                                     
a000257c:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a0002580:	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 */            
)                                                                     
{                                                                     
a0002584:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0002588:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
a000258c:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
a0002590:	e1d333b4 	ldrh	r3, [r3, #52]	; 0x34                         
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
a0002594:	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 )               
a0002598:	e3530007 	cmp	r3, #7                                        
a000259c:	8a00001e 	bhi	a000261c <IMFS_link+0xa0>                     
    rtems_set_errno_and_return_minus_one( EMLINK );                   
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
a00025a0:	e1a00002 	mov	r0, r2                                        
a00025a4:	eb0046d6 	bl	a0014104 <strlen>                              
a00025a8:	e28d4004 	add	r4, sp, #4                                    
a00025ac:	e1a01000 	mov	r1, r0                                        
a00025b0:	e1a02004 	mov	r2, r4                                        
a00025b4:	e28d3044 	add	r3, sp, #68	; 0x44                            
a00025b8:	e1a00006 	mov	r0, r6                                        
a00025bc:	eb003012 	bl	a000e60c <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(                                        
a00025c0:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a00025c4:	e28dc028 	add	ip, sp, #40	; 0x28                            
a00025c8:	e1a00005 	mov	r0, r5                                        
a00025cc:	e1a02004 	mov	r2, r4                                        
a00025d0:	e2433001 	sub	r3, r3, #1                                    
a00025d4:	e3a01003 	mov	r1, #3                                        
a00025d8:	e58dc000 	str	ip, [sp]                                      
a00025dc:	eb002cc6 	bl	a000d8fc <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a00025e0:	e3500000 	cmp	r0, #0                                        
a00025e4:	0a000011 	beq	a0002630 <IMFS_link+0xb4>                     
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
a00025e8:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
a00025ec:	e28d003c 	add	r0, sp, #60	; 0x3c                            
a00025f0:	e3a01000 	mov	r1, #0                                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
a00025f4:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a00025f8:	e2822001 	add	r2, r2, #1                                    
a00025fc:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
a0002600:	eb00027f 	bl	a0003004 <gettimeofday>                        
a0002604:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
a0002608:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a000260c:	e3a00000 	mov	r0, #0                                        
a0002610:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
a0002614:	e28dd048 	add	sp, sp, #72	; 0x48                            
a0002618:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
    rtems_set_errno_and_return_minus_one( EMLINK );                   
a000261c:	eb0042df 	bl	a00131a0 <__errno>                             
a0002620:	e3a0301f 	mov	r3, #31                                       
a0002624:	e5803000 	str	r3, [r0]                                      
a0002628:	e3e00000 	mvn	r0, #0                                        
a000262c:	eafffff8 	b	a0002614 <IMFS_link+0x98>                       
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0002630:	eb0042da 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a0002634:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0002638:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000263c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002640:	eafffff3 	b	a0002614 <IMFS_link+0x98>                       <== NOT EXECUTED
                                                                      
a0011278 <IMFS_memfile_addblock>:                                     
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a0011278:	e2503000 	subs	r3, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
a001127c:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a0011280:	0a000010 	beq	a00112c8 <IMFS_memfile_addblock+0x50>         
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011284:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
a0011288:	e3530005 	cmp	r3, #5                                        
a001128c:	1a000013 	bne	a00112e0 <IMFS_memfile_addblock+0x68>         
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a0011290:	e3a02001 	mov	r2, #1                                        
a0011294:	ebfffe90 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
a0011298:	e5904000 	ldr	r4, [r0]                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
a001129c:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
a00112a0:	e3540000 	cmp	r4, #0                                        
a00112a4:	0a000001 	beq	a00112b0 <IMFS_memfile_addblock+0x38>         
a00112a8:	e3a00000 	mov	r0, #0                                        
a00112ac:	e8bd8030 	pop	{r4, r5, pc}                                  
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
a00112b0:	ebfffe7c 	bl	a0010ca8 <memfile_alloc_block>                 
  if ( !memory )                                                      
a00112b4:	e3500000 	cmp	r0, #0                                        
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a00112b8:	15850000 	strne	r0, [r5]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
a00112bc:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
a00112c0:	11a00004 	movne	r0, r4                                      
                                                                      
  return 0;                                                           
}                                                                     
a00112c4:	e8bd8030 	pop	{r4, r5, pc}                                  
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
a00112c8:	e3a01f5a 	mov	r1, #360	; 0x168                              <== NOT EXECUTED
a00112cc:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a00112d0:	e59f0020 	ldr	r0, [pc, #32]	; a00112f8 <IMFS_memfile_addblock+0x80><== NOT EXECUTED
a00112d4:	e59f2020 	ldr	r2, [pc, #32]	; a00112fc <IMFS_memfile_addblock+0x84><== NOT EXECUTED
a00112d8:	e59f3020 	ldr	r3, [pc, #32]	; a0011300 <IMFS_memfile_addblock+0x88><== NOT EXECUTED
a00112dc:	ebfff56d 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a00112e0:	e3a01f5b 	mov	r1, #364	; 0x16c                              <== NOT EXECUTED
a00112e4:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a00112e8:	e59f0008 	ldr	r0, [pc, #8]	; a00112f8 <IMFS_memfile_addblock+0x80><== NOT EXECUTED
a00112ec:	e59f2008 	ldr	r2, [pc, #8]	; a00112fc <IMFS_memfile_addblock+0x84><== NOT EXECUTED
a00112f0:	e59f300c 	ldr	r3, [pc, #12]	; a0011304 <IMFS_memfile_addblock+0x8c><== NOT EXECUTED
a00112f4:	ebfff567 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0011308 <IMFS_memfile_extend>:                                       
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a0011308:	e92d4df0 	push	{r4, r5, r6, r7, r8, sl, fp, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a001130c:	e2504000 	subs	r4, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
a0011310:	e24dd004 	sub	sp, sp, #4                                    
a0011314:	e1a08001 	mov	r8, r1                                        
a0011318:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a001131c:	0a00004f 	beq	a0011460 <IMFS_memfile_extend+0x158>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011320:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a0011324:	e3530005 	cmp	r3, #5                                        
a0011328:	1a000046 	bne	a0011448 <IMFS_memfile_extend+0x140>          
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a001132c:	e3a03000 	mov	r3, #0                                        
a0011330:	e1530002 	cmp	r3, r2                                        
a0011334:	e59f313c 	ldr	r3, [pc, #316]	; a0011478 <IMFS_memfile_extend+0x170>
a0011338:	e593b000 	ldr	fp, [r3]                                      
a001133c:	e1a0312b 	lsr	r3, fp, #2                                    
a0011340:	e0213393 	mla	r1, r3, r3, r3                                
a0011344:	e0223391 	mla	r2, r1, r3, r3                                
a0011348:	e2423001 	sub	r3, r2, #1                                    
a001134c:	e002039b 	mul	r2, fp, r3                                    
a0011350:	da000034 	ble	a0011428 <IMFS_memfile_extend+0x120>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a0011354:	e5947054 	ldr	r7, [r4, #84]	; 0x54                          
a0011358:	e594a050 	ldr	sl, [r4, #80]	; 0x50                          
a001135c:	e1560007 	cmp	r6, r7                                        
a0011360:	da000027 	ble	a0011404 <IMFS_memfile_extend+0xfc>           
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a0011364:	e1a0cfcb 	asr	ip, fp, #31                                   
a0011368:	e1a0300c 	mov	r3, ip                                        
a001136c:	e1a0200b 	mov	r2, fp                                        
a0011370:	e1a00008 	mov	r0, r8                                        
a0011374:	e1a01006 	mov	r1, r6                                        
a0011378:	e58dc000 	str	ip, [sp]                                      
a001137c:	eb002fa5 	bl	a001d218 <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a0011380:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
a0011384:	e1a05000 	mov	r5, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a0011388:	e1a01007 	mov	r1, r7                                        
a001138c:	e1a0000a 	mov	r0, sl                                        
a0011390:	e1a0200b 	mov	r2, fp                                        
a0011394:	e1a0300c 	mov	r3, ip                                        
a0011398:	eb002f9e 	bl	a001d218 <__divdi3>                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a001139c:	e1550000 	cmp	r5, r0                                        
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
a00113a0:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
a00113a4:	3a00001b 	bcc	a0011418 <IMFS_memfile_extend+0x110>          
a00113a8:	e1a07000 	mov	r7, r0                                        
a00113ac:	ea000002 	b	a00113bc <IMFS_memfile_extend+0xb4>             
a00113b0:	e2877001 	add	r7, r7, #1                                    
a00113b4:	e1550007 	cmp	r5, r7                                        
a00113b8:	3a000016 	bcc	a0011418 <IMFS_memfile_extend+0x110>          
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
a00113bc:	e1a00004 	mov	r0, r4                                        
a00113c0:	e1a01007 	mov	r1, r7                                        
a00113c4:	ebffffab 	bl	a0011278 <IMFS_memfile_addblock>               
a00113c8:	e3500000 	cmp	r0, #0                                        
a00113cc:	0afffff7 	beq	a00113b0 <IMFS_memfile_extend+0xa8>           
a00113d0:	ea000003 	b	a00113e4 <IMFS_memfile_extend+0xdc>             <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
a00113d4:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a00113d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
a00113dc:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
a00113e0:	ebfffef0 	bl	a0010fa8 <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-- ) {                        
a00113e4:	e15a0007 	cmp	sl, r7                                        <== NOT EXECUTED
a00113e8:	9afffff9 	bls	a00113d4 <IMFS_memfile_extend+0xcc>           <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
a00113ec:	eb00076b 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a00113f0:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a00113f4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00113f8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
a00113fc:	e28dd004 	add	sp, sp, #4                                    
a0011400:	e8bd8df0 	pop	{r4, r5, r6, r7, r8, sl, fp, pc}              
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
a0011404:	1a000001 	bne	a0011410 <IMFS_memfile_extend+0x108>          
a0011408:	e158000a 	cmp	r8, sl                                        
a001140c:	8affffd4 	bhi	a0011364 <IMFS_memfile_extend+0x5c>           
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a0011410:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
a0011414:	eafffff8 	b	a00113fc <IMFS_memfile_extend+0xf4>             
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
a0011418:	e5846054 	str	r6, [r4, #84]	; 0x54                          
a001141c:	e5848050 	str	r8, [r4, #80]	; 0x50                          
a0011420:	e3a00000 	mov	r0, #0                                        
a0011424:	eafffff4 	b	a00113fc <IMFS_memfile_extend+0xf4>             
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
a0011428:	1a000001 	bne	a0011434 <IMFS_memfile_extend+0x12c>          
a001142c:	e1520008 	cmp	r2, r8                                        
a0011430:	8affffc7 	bhi	a0011354 <IMFS_memfile_extend+0x4c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0011434:	eb000759 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a0011438:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a001143c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0011440:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0011444:	eaffffec 	b	a00113fc <IMFS_memfile_extend+0xf4>             <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011448:	e3a01f4d 	mov	r1, #308	; 0x134                              <== NOT EXECUTED
a001144c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0011450:	e59f0024 	ldr	r0, [pc, #36]	; a001147c <IMFS_memfile_extend+0x174><== NOT EXECUTED
a0011454:	e59f2024 	ldr	r2, [pc, #36]	; a0011480 <IMFS_memfile_extend+0x178><== NOT EXECUTED
a0011458:	e59f3024 	ldr	r3, [pc, #36]	; a0011484 <IMFS_memfile_extend+0x17c><== NOT EXECUTED
a001145c:	ebfff50d 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0011460:	e3a01e13 	mov	r1, #304	; 0x130                              <== NOT EXECUTED
a0011464:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0011468:	e59f000c 	ldr	r0, [pc, #12]	; a001147c <IMFS_memfile_extend+0x174><== NOT EXECUTED
a001146c:	e59f200c 	ldr	r2, [pc, #12]	; a0011480 <IMFS_memfile_extend+0x178><== NOT EXECUTED
a0011470:	e59f3010 	ldr	r3, [pc, #16]	; a0011488 <IMFS_memfile_extend+0x180><== NOT EXECUTED
a0011474:	ebfff507 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0010cdc <IMFS_memfile_get_block_pointer>:                            
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a0010cdc:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0010ce0:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
a0010ce4:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0010ce8:	0a000078 	beq	a0010ed0 <IMFS_memfile_get_block_pointer+0x1f4>
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0010cec:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
a0010cf0:	e3530005 	cmp	r3, #5                                        
a0010cf4:	1a000070 	bne	a0010ebc <IMFS_memfile_get_block_pointer+0x1e0>
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
a0010cf8:	e59f320c 	ldr	r3, [pc, #524]	; a0010f0c <IMFS_memfile_get_block_pointer+0x230>
a0010cfc:	e5935000 	ldr	r5, [r3]                                      
a0010d00:	e1a05125 	lsr	r5, r5, #2                                    
a0010d04:	e2453001 	sub	r3, r5, #1                                    
a0010d08:	e1510003 	cmp	r1, r3                                        
a0010d0c:	9a000019 	bls	a0010d78 <IMFS_memfile_get_block_pointer+0x9c>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
a0010d10:	e0265595 	mla	r6, r5, r5, r5                                <== NOT EXECUTED
a0010d14:	e2463001 	sub	r3, r6, #1                                    <== NOT EXECUTED
a0010d18:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a0010d1c:	8a000025 	bhi	a0010db8 <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
a0010d20:	e0656001 	rsb	r6, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010d24:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0010d28:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0010d2c:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a0010d30:	eb002e8b 	bl	a001c764 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010d34:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010d38:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010d3c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0010d40:	eb002e43 	bl	a001c654 <__aeabi_uidiv>                       <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
a0010d44:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010d48:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
a0010d4c:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    if ( malloc_it ) {                                                
a0010d50:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010d54:	0a000044 	beq	a0010e6c <IMFS_memfile_get_block_pointer+0x190><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
a0010d58:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010d5c:	0a000049 	beq	a0010e88 <IMFS_memfile_get_block_pointer+0x1ac><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
a0010d60:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
a0010d64:	e0835105 	add	r5, r3, r5, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
a0010d68:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010d6c:	0a000034 	beq	a0010e44 <IMFS_memfile_get_block_pointer+0x168><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010d70:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a0010d74:	ea000005 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
a0010d78:	e3520000 	cmp	r2, #0                                        
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
a0010d7c:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
a0010d80:	0a000035 	beq	a0010e5c <IMFS_memfile_get_block_pointer+0x180>
                                                                      
      if ( !p ) {                                                     
a0010d84:	e3500000 	cmp	r0, #0                                        
a0010d88:	0a000002 	beq	a0010d98 <IMFS_memfile_get_block_pointer+0xbc>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
a0010d8c:	e0800101 	add	r0, r0, r1, lsl #2                            
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a0010d90:	e28dd004 	add	sp, sp, #4                                    
a0010d94:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a0010d98:	e58d1000 	str	r1, [sp]                                      
a0010d9c:	ebffffc1 	bl	a0010ca8 <memfile_alloc_block>                 
        if ( !p )                                                     
a0010da0:	e3500000 	cmp	r0, #0                                        
a0010da4:	e59d1000 	ldr	r1, [sp]                                      
           return 0;                                                  
        info->indirect = p;                                           
a0010da8:	15840058 	strne	r0, [r4, #88]	; 0x58                        
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
a0010dac:	1afffff6 	bne	a0010d8c <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010db0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0010db4:	eafffff5 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
a0010db8:	e0235596 	mla	r3, r6, r5, r5                                <== NOT EXECUTED
a0010dbc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0010dc0:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a0010dc4:	8afffff9 	bhi	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
a0010dc8:	e0666001 	rsb	r6, r6, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010dcc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0010dd0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0010dd4:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
a0010dd8:	eb002e61 	bl	a001c764 <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010ddc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010de0:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
a0010de4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0010de8:	eb002e19 	bl	a001c654 <__aeabi_uidiv>                       <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a0010dec:	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;                     
a0010df0:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
a0010df4:	eb002e16 	bl	a001c654 <__aeabi_uidiv>                       <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a0010df8:	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;                       
a0010dfc:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a0010e00:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0010e04:	eb002e56 	bl	a001c764 <__umodsi3>                           <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
a0010e08:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
a0010e0c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
a0010e10:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
a0010e14:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010e18:	0a00001f 	beq	a0010e9c <IMFS_memfile_get_block_pointer+0x1c0><== NOT EXECUTED
      if ( !p ) {                                                     
a0010e1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010e20:	0a000034 	beq	a0010ef8 <IMFS_memfile_get_block_pointer+0x21c><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
a0010e24:	e7932106 	ldr	r2, [r3, r6, lsl #2]                          <== NOT EXECUTED
a0010e28:	e0836106 	add	r6, r3, r6, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
a0010e2c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0010e30:	0a00002b 	beq	a0010ee4 <IMFS_memfile_get_block_pointer+0x208><== NOT EXECUTED
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
a0010e34:	e7920105 	ldr	r0, [r2, r5, lsl #2]                          <== NOT EXECUTED
a0010e38:	e0825105 	add	r5, r2, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
a0010e3c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010e40:	1affffca 	bne	a0010d70 <IMFS_memfile_get_block_pointer+0x94><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
a0010e44:	ebffff97 	bl	a0010ca8 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p2 )                                                    
a0010e48:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
a0010e4c:	15850000 	strne	r0, [r5]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
a0010e50:	0affffd6 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010e54:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a0010e58:	eaffffcc 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
a0010e5c:	e3500000 	cmp	r0, #0                                        
a0010e60:	1affffc9 	bne	a0010d8c <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010e64:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0010e68:	eaffffc8 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a0010e6c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010e70:	0affffce 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
a0010e74:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
    if ( !p )                                                         
a0010e78:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0010e7c:	0affffcb 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010e80:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a0010e84:	eaffffc1 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a0010e88:	ebffff86 	bl	a0010ca8 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a0010e8c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0010e90:	0affffc6 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
a0010e94:	e584305c 	str	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0010e98:	eaffffb0 	b	a0010d60 <IMFS_memfile_get_block_pointer+0x84>  <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
a0010e9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010ea0:	0affffc2 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
a0010ea4:	e7933106 	ldr	r3, [r3, r6, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
a0010ea8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0010eac:	0affffbf 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
a0010eb0:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
a0010eb4:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
a0010eb8:	eaffffb4 	b	a0010d90 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0010ebc:	e59f004c 	ldr	r0, [pc, #76]	; a0010f10 <IMFS_memfile_get_block_pointer+0x234><== NOT EXECUTED
a0010ec0:	e3a01fe3 	mov	r1, #908	; 0x38c                              <== NOT EXECUTED
a0010ec4:	e59f2048 	ldr	r2, [pc, #72]	; a0010f14 <IMFS_memfile_get_block_pointer+0x238><== NOT EXECUTED
a0010ec8:	e59f3048 	ldr	r3, [pc, #72]	; a0010f18 <IMFS_memfile_get_block_pointer+0x23c><== NOT EXECUTED
a0010ecc:	ebfff671 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0010ed0:	e59f0038 	ldr	r0, [pc, #56]	; a0010f10 <IMFS_memfile_get_block_pointer+0x234><== NOT EXECUTED
a0010ed4:	e3a01fe2 	mov	r1, #904	; 0x388                              <== NOT EXECUTED
a0010ed8:	e59f2034 	ldr	r2, [pc, #52]	; a0010f14 <IMFS_memfile_get_block_pointer+0x238><== NOT EXECUTED
a0010edc:	e59f3038 	ldr	r3, [pc, #56]	; a0010f1c <IMFS_memfile_get_block_pointer+0x240><== NOT EXECUTED
a0010ee0:	ebfff66c 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
a0010ee4:	ebffff6f 	bl	a0010ca8 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p1 )                                                    
a0010ee8:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
a0010eec:	0affffaf 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
a0010ef0:	e5862000 	str	r2, [r6]                                      <== NOT EXECUTED
a0010ef4:	eaffffce 	b	a0010e34 <IMFS_memfile_get_block_pointer+0x158> <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
a0010ef8:	ebffff6a 	bl	a0010ca8 <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
a0010efc:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0010f00:	0affffaa 	beq	a0010db0 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
a0010f04:	e5843060 	str	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0010f08:	eaffffc5 	b	a0010e24 <IMFS_memfile_get_block_pointer+0x148> <== NOT EXECUTED
                                                                      
a001191c <IMFS_memfile_read>:                                         
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a001191c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0011920:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
a0011924:	e24dd014 	sub	sp, sp, #20                                   
a0011928:	e1a08003 	mov	r8, r3                                        
a001192c:	e1a0a001 	mov	sl, r1                                        
a0011930:	e1a0b002 	mov	fp, r2                                        
a0011934:	e59d5038 	ldr	r5, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0011938:	0a000089 	beq	a0011b64 <IMFS_memfile_read+0x248>            
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
a001193c:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
a0011940:	e2432005 	sub	r2, r3, #5                                    
a0011944:	e3520001 	cmp	r2, #1                                        
a0011948:	8a000096 	bhi	a0011ba8 <IMFS_memfile_read+0x28c>            
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
a001194c:	e3580000 	cmp	r8, #0                                        
a0011950:	0a00008e 	beq	a0011b90 <IMFS_memfile_read+0x274>            
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a0011954:	e3550000 	cmp	r5, #0                                        
a0011958:	0a000076 	beq	a0011b38 <IMFS_memfile_read+0x21c>            
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a001195c:	e3530006 	cmp	r3, #6                                        
a0011960:	0a00005a 	beq	a0011ad0 <IMFS_memfile_read+0x1b4>            
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
a0011964:	e5992054 	ldr	r2, [r9, #84]	; 0x54                          
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
a0011968:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
a001196c:	e3a01000 	mov	r1, #0                                        
a0011970:	e1510002 	cmp	r1, r2                                        
a0011974:	e5992050 	ldr	r2, [r9, #80]	; 0x50                          
a0011978:	e085100a 	add	r1, r5, sl                                    
a001197c:	da00004f 	ble	a0011ac0 <IMFS_memfile_read+0x1a4>            
    my_length = the_jnode->info.file.size - start;                    
a0011980:	e0635002 	rsb	r5, r3, r2                                    
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a0011984:	e59f624c 	ldr	r6, [pc, #588]	; a0011bd8 <IMFS_memfile_read+0x2bc>
a0011988:	e1a0000a 	mov	r0, sl                                        
a001198c:	e1a0100b 	mov	r1, fp                                        
a0011990:	e5964000 	ldr	r4, [r6]                                      
a0011994:	e1a02004 	mov	r2, r4                                        
a0011998:	e1a03fc2 	asr	r3, r2, #31                                   
a001199c:	e98d000c 	stmib	sp, {r2, r3}                                
a00119a0:	eb002f46 	bl	a001d6c0 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a00119a4:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a00119a8:	e1a0c000 	mov	ip, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a00119ac:	e1a0100b 	mov	r1, fp                                        
a00119b0:	e1a0000a 	mov	r0, sl                                        
a00119b4:	e58dc000 	str	ip, [sp]                                      
a00119b8:	eb002e16 	bl	a001d218 <__divdi3>                            
  if ( start_offset )  {                                              
a00119bc:	e59dc000 	ldr	ip, [sp]                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a00119c0:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
a00119c4:	e35c0000 	cmp	ip, #0                                        
a00119c8:	01a0a00c 	moveq	sl, ip                                      
a00119cc:	0a000013 	beq	a0011a20 <IMFS_memfile_read+0x104>            
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a00119d0:	e1a00009 	mov	r0, r9                                        
a00119d4:	e1a01007 	mov	r1, r7                                        
a00119d8:	e3a02000 	mov	r2, #0                                        
a00119dc:	e58dc000 	str	ip, [sp]                                      
a00119e0:	ebfffcbd 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a00119e4:	e3500000 	cmp	r0, #0                                        
a00119e8:	e59dc000 	ldr	ip, [sp]                                      
a00119ec:	0a000073 	beq	a0011bc0 <IMFS_memfile_read+0x2a4>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
a00119f0:	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;            
a00119f4:	e06ca004 	rsb	sl, ip, r4                                    
a00119f8:	e155000a 	cmp	r5, sl                                        
a00119fc:	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 );           
a0011a00:	e1a00008 	mov	r0, r8                                        
a0011a04:	e081100c 	add	r1, r1, ip                                    
a0011a08:	e1a0200a 	mov	r2, sl                                        
a0011a0c:	eb0007f1 	bl	a00139d8 <memcpy>                              
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a0011a10:	e5964000 	ldr	r4, [r6]                                      
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
a0011a14:	e088800a 	add	r8, r8, sl                                    
    block++;                                                          
a0011a18:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
a0011a1c:	e06a5005 	rsb	r5, sl, r5                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011a20:	e1550004 	cmp	r5, r4                                        
a0011a24:	3a000010 	bcc	a0011a6c <IMFS_memfile_read+0x150>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a0011a28:	e1a00009 	mov	r0, r9                                        
a0011a2c:	e1a01007 	mov	r1, r7                                        
a0011a30:	e3a02000 	mov	r2, #0                                        
a0011a34:	ebfffca8 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a0011a38:	e3500000 	cmp	r0, #0                                        
a0011a3c:	0a000042 	beq	a0011b4c <IMFS_memfile_read+0x230>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
a0011a40:	e5901000 	ldr	r1, [r0]                                      
a0011a44:	e1a02004 	mov	r2, r4                                        
a0011a48:	e1a00008 	mov	r0, r8                                        
a0011a4c:	eb0007e1 	bl	a00139d8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011a50:	e5963000 	ldr	r3, [r6]                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
a0011a54:	e0645005 	rsb	r5, r4, r5                                    
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
a0011a58:	e0888004 	add	r8, r8, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011a5c:	e1530005 	cmp	r3, r5                                        
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
a0011a60:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a0011a64:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011a68:	9affffee 	bls	a0011a28 <IMFS_memfile_read+0x10c>            
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
a0011a6c:	e3550000 	cmp	r5, #0                                        
a0011a70:	0a00000a 	beq	a0011aa0 <IMFS_memfile_read+0x184>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a0011a74:	e1a01007 	mov	r1, r7                                        
a0011a78:	e1a00009 	mov	r0, r9                                        
a0011a7c:	e3a02000 	mov	r2, #0                                        
a0011a80:	ebfffc95 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a0011a84:	e2503000 	subs	r3, r0, #0                                   
a0011a88:	0a00003a 	beq	a0011b78 <IMFS_memfile_read+0x25c>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
a0011a8c:	e1a00008 	mov	r0, r8                                        
a0011a90:	e5931000 	ldr	r1, [r3]                                      
a0011a94:	e1a02005 	mov	r2, r5                                        
a0011a98:	eb0007ce 	bl	a00139d8 <memcpy>                              
    copied += my_length;                                              
a0011a9c:	e08aa005 	add	sl, sl, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a0011aa0:	e28d000c 	add	r0, sp, #12                                   
a0011aa4:	e3a01000 	mov	r1, #0                                        
a0011aa8:	ebffc555 	bl	a0003004 <gettimeofday>                        
a0011aac:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
a0011ab0:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
a0011ab4:	e5893040 	str	r3, [r9, #64]	; 0x40                          
                                                                      
  return copied;                                                      
}                                                                     
a0011ab8:	e28dd014 	add	sp, sp, #20                                   
a0011abc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
a0011ac0:	1affffaf 	bne	a0011984 <IMFS_memfile_read+0x68>             
a0011ac4:	e1510002 	cmp	r1, r2                                        
a0011ac8:	9affffad 	bls	a0011984 <IMFS_memfile_read+0x68>             
a0011acc:	eaffffab 	b	a0011980 <IMFS_memfile_read+0x64>               
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a0011ad0:	e2894050 	add	r4, r9, #80	; 0x50                            <== NOT EXECUTED
a0011ad4:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
a0011ad8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0011adc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0011ae0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0011ae4:	e050000a 	subs	r0, r0, sl                                   <== NOT EXECUTED
a0011ae8:	e0c1100b 	sbc	r1, r1, fp                                    <== NOT EXECUTED
a0011aec:	e1520001 	cmp	r2, r1                                        <== NOT EXECUTED
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
a0011af0:	e5992058 	ldr	r2, [r9, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a0011af4:	da00000b 	ble	a0011b28 <IMFS_memfile_read+0x20c>            <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
a0011af8:	e06a5003 	rsb	r5, sl, r3                                    <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
a0011afc:	e082100a 	add	r1, r2, sl                                    <== NOT EXECUTED
a0011b00:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0011b04:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0011b08:	eb0007b2 	bl	a00139d8 <memcpy>                              <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
a0011b0c:	e28d000c 	add	r0, sp, #12                                   <== NOT EXECUTED
a0011b10:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0011b14:	ebffc53a 	bl	a0003004 <gettimeofday>                        <== NOT EXECUTED
a0011b18:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
                                                                      
    return my_length;                                                 
a0011b1c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
                                                                      
    IMFS_update_atime( the_jnode );                                   
a0011b20:	e5893040 	str	r3, [r9, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
    return my_length;                                                 
a0011b24:	eaffffe3 	b	a0011ab8 <IMFS_memfile_read+0x19c>              <== NOT EXECUTED
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
a0011b28:	1afffff3 	bne	a0011afc <IMFS_memfile_read+0x1e0>            <== NOT EXECUTED
a0011b2c:	e1550000 	cmp	r5, r0                                        <== NOT EXECUTED
a0011b30:	8afffff0 	bhi	a0011af8 <IMFS_memfile_read+0x1dc>            <== NOT EXECUTED
a0011b34:	eafffff0 	b	a0011afc <IMFS_memfile_read+0x1e0>              <== NOT EXECUTED
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0011b38:	eb000598 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a0011b3c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0011b40:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0011b44:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0011b48:	eaffffda 	b	a0011ab8 <IMFS_memfile_read+0x19c>              <== NOT EXECUTED
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a0011b4c:	e3a01fa9 	mov	r1, #676	; 0x2a4                              <== NOT EXECUTED
a0011b50:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a0011b54:	e59f0080 	ldr	r0, [pc, #128]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011b58:	e59f2080 	ldr	r2, [pc, #128]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011b5c:	e59f3080 	ldr	r3, [pc, #128]	; a0011be4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a0011b60:	ebfff34c 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0011b64:	e59f0070 	ldr	r0, [pc, #112]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011b68:	e3a01f93 	mov	r1, #588	; 0x24c                              <== NOT EXECUTED
a0011b6c:	e59f206c 	ldr	r2, [pc, #108]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011b70:	e59f3070 	ldr	r3, [pc, #112]	; a0011be8 <IMFS_memfile_read+0x2cc><== NOT EXECUTED
a0011b74:	ebfff347 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a0011b78:	e3a01fae 	mov	r1, #696	; 0x2b8                              <== NOT EXECUTED
a0011b7c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0011b80:	e59f0054 	ldr	r0, [pc, #84]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011b84:	e59f2054 	ldr	r2, [pc, #84]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011b88:	e59f3054 	ldr	r3, [pc, #84]	; a0011be4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a0011b8c:	ebfff341 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
a0011b90:	e3a01f96 	mov	r1, #600	; 0x258                              <== NOT EXECUTED
a0011b94:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0011b98:	e59f003c 	ldr	r0, [pc, #60]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011b9c:	e59f203c 	ldr	r2, [pc, #60]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011ba0:	e59f3044 	ldr	r3, [pc, #68]	; a0011bec <IMFS_memfile_read+0x2d0><== NOT EXECUTED
a0011ba4:	ebfff33b 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
a0011ba8:	e3a01e25 	mov	r1, #592	; 0x250                              <== NOT EXECUTED
a0011bac:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0011bb0:	e59f0024 	ldr	r0, [pc, #36]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011bb4:	e59f2024 	ldr	r2, [pc, #36]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011bb8:	e59f3030 	ldr	r3, [pc, #48]	; a0011bf0 <IMFS_memfile_read+0x2d4><== NOT EXECUTED
a0011bbc:	ebfff335 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a0011bc0:	e3a01fa5 	mov	r1, #660	; 0x294                              <== NOT EXECUTED
a0011bc4:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0011bc8:	e59f000c 	ldr	r0, [pc, #12]	; a0011bdc <IMFS_memfile_read+0x2c0><== NOT EXECUTED
a0011bcc:	e59f200c 	ldr	r2, [pc, #12]	; a0011be0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
a0011bd0:	e59f300c 	ldr	r3, [pc, #12]	; a0011be4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
a0011bd4:	ebfff32f 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0010ff8 <IMFS_memfile_remove>:                                       
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
a0010ff8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0010ffc:	e250a000 	subs	sl, r0, #0                                   
a0011000:	0a000052 	beq	a0011150 <IMFS_memfile_remove+0x158>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011004:	e59a304c 	ldr	r3, [sl, #76]	; 0x4c                          
a0011008:	e3530005 	cmp	r3, #5                                        
a001100c:	1a000055 	bne	a0011168 <IMFS_memfile_remove+0x170>          
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
a0011010:	e59f6168 	ldr	r6, [pc, #360]	; a0011180 <IMFS_memfile_remove+0x188>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a0011014:	e59a3058 	ldr	r3, [sl, #88]	; 0x58                          
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
a0011018:	e5967000 	ldr	r7, [r6]                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a001101c:	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;                                 
a0011020:	e1a07127 	lsr	r7, r7, #2                                    
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
a0011024:	0a000002 	beq	a0011034 <IMFS_memfile_remove+0x3c>           
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
a0011028:	e28a0058 	add	r0, sl, #88	; 0x58                            
a001102c:	e1a01007 	mov	r1, r7                                        
a0011030:	ebffffba 	bl	a0010f20 <memfile_free_blocks_in_table>        
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
a0011034:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          
a0011038:	e3530000 	cmp	r3, #0                                        
a001103c:	0a000015 	beq	a0011098 <IMFS_memfile_remove+0xa0>           
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a0011040:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0011044:	e1b02122 	lsrs	r2, r2, #2                                   <== NOT EXECUTED
a0011048:	0a00000f 	beq	a001108c <IMFS_memfile_remove+0x94>           <== NOT EXECUTED
a001104c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0011050:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
a0011054:	ea000000 	b	a001105c <IMFS_memfile_remove+0x64>             <== NOT EXECUTED
a0011058:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
a001105c:	e7931102 	ldr	r1, [r3, r2, lsl #2]                          <== NOT EXECUTED
a0011060:	e1a02102 	lsl	r2, r2, #2                                    <== NOT EXECUTED
a0011064:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a0011068:	0a000002 	beq	a0011078 <IMFS_memfile_remove+0x80>           <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
a001106c:	e0830002 	add	r0, r3, r2                                    <== NOT EXECUTED
a0011070:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0011074:	ebffffa9 	bl	a0010f20 <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++ ) {                  
a0011078:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a001107c:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
a0011080:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0011084:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a0011088:	3afffff2 	bcc	a0011058 <IMFS_memfile_remove+0x60>           <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
a001108c:	e28a005c 	add	r0, sl, #92	; 0x5c                            <== NOT EXECUTED
a0011090:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0011094:	ebffffa1 	bl	a0010f20 <memfile_free_blocks_in_table>        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
a0011098:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          
a001109c:	e3500000 	cmp	r0, #0                                        
a00110a0:	0a000028 	beq	a0011148 <IMFS_memfile_remove+0x150>          
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
a00110a4:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a00110a8:	e1b03123 	lsrs	r3, r3, #2                                   <== NOT EXECUTED
a00110ac:	0a000022 	beq	a001113c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a00110b0:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a00110b4:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a00110b8:	13a09000 	movne	r9, #0                                      <== NOT EXECUTED
a00110bc:	11a08009 	movne	r8, r9                                      <== NOT EXECUTED
a00110c0:	0a00001d 	beq	a001113c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
a00110c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00110c8:	0a00000e 	beq	a0011108 <IMFS_memfile_remove+0x110>          <== NOT EXECUTED
a00110cc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00110d0:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
        if ( p[j] ) {                                                 
a00110d4:	e7953100 	ldr	r3, [r5, r0, lsl #2]                          <== NOT EXECUTED
a00110d8:	e1a00100 	lsl	r0, r0, #2                                    <== NOT EXECUTED
a00110dc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00110e0:	0a000002 	beq	a00110f0 <IMFS_memfile_remove+0xf8>           <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
a00110e4:	e0850000 	add	r0, r5, r0                                    <== NOT EXECUTED
a00110e8:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a00110ec:	ebffff8b 	bl	a0010f20 <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++ ) {                
a00110f0:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a00110f4:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
a00110f8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00110fc:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
a0011100:	3afffff3 	bcc	a00110d4 <IMFS_memfile_remove+0xdc>           <== NOT EXECUTED
a0011104:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
a0011108:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
a001110c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0011110:	ebffff82 	bl	a0010f20 <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++ ) {                  
a0011114:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0011118:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
a001111c:	e1a03123 	lsr	r3, r3, #2                                    <== NOT EXECUTED
a0011120:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a0011124:	9a000004 	bls	a001113c <IMFS_memfile_remove+0x144>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
a0011128:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a001112c:	e1a09108 	lsl	r9, r8, #2                                    <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
a0011130:	e7905108 	ldr	r5, [r0, r8, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
a0011134:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0011138:	1affffe1 	bne	a00110c4 <IMFS_memfile_remove+0xcc>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
a001113c:	e28a0060 	add	r0, sl, #96	; 0x60                            <== NOT EXECUTED
a0011140:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0011144:	ebffff75 	bl	a0010f20 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a0011148:	e3a00000 	mov	r0, #0                                        
a001114c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a0011150:	e3a01f7b 	mov	r1, #492	; 0x1ec                              <== NOT EXECUTED
a0011154:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0011158:	e59f0024 	ldr	r0, [pc, #36]	; a0011184 <IMFS_memfile_remove+0x18c><== NOT EXECUTED
a001115c:	e59f2024 	ldr	r2, [pc, #36]	; a0011188 <IMFS_memfile_remove+0x190><== NOT EXECUTED
a0011160:	e59f3024 	ldr	r3, [pc, #36]	; a001118c <IMFS_memfile_remove+0x194><== NOT EXECUTED
a0011164:	ebfff5cb 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011168:	e3a01e1f 	mov	r1, #496	; 0x1f0                              <== NOT EXECUTED
a001116c:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0011170:	e59f000c 	ldr	r0, [pc, #12]	; a0011184 <IMFS_memfile_remove+0x18c><== NOT EXECUTED
a0011174:	e59f200c 	ldr	r2, [pc, #12]	; a0011188 <IMFS_memfile_remove+0x190><== NOT EXECUTED
a0011178:	e59f3010 	ldr	r3, [pc, #16]	; a0011190 <IMFS_memfile_remove+0x198><== NOT EXECUTED
a001117c:	ebfff5c5 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0010fa8 <IMFS_memfile_remove_block>:                                 
                                                                      
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
a0010fa8:	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 );  
a0010fac:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0010fb0:	ebffff49 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  assert( block_ptr );                                                
a0010fb4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0010fb8:	0a000005 	beq	a0010fd4 <IMFS_memfile_remove_block+0x2c>     <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
a0010fbc:	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;                                                 
a0010fc0:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
a0010fc4:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
a0010fc8:	ebffff2e 	bl	a0010c88 <memfile_free_block>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
a0010fcc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0010fd0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  assert( block_ptr );                                                
a0010fd4:	e3a01f65 	mov	r1, #404	; 0x194                              <== NOT EXECUTED
a0010fd8:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a0010fdc:	e59f0008 	ldr	r0, [pc, #8]	; a0010fec <IMFS_memfile_remove_block+0x44><== NOT EXECUTED
a0010fe0:	e59f2008 	ldr	r2, [pc, #8]	; a0010ff0 <IMFS_memfile_remove_block+0x48><== NOT EXECUTED
a0010fe4:	e59f3008 	ldr	r3, [pc, #8]	; a0010ff4 <IMFS_memfile_remove_block+0x4c><== NOT EXECUTED
a0010fe8:	ebfff62a 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a00115a0 <IMFS_memfile_write>:                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a00115a0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a00115a4:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
a00115a8:	e24dd014 	sub	sp, sp, #20                                   
a00115ac:	e1a06001 	mov	r6, r1                                        
a00115b0:	e1a07002 	mov	r7, r2                                        
a00115b4:	e1a08003 	mov	r8, r3                                        
a00115b8:	e59da038 	ldr	sl, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a00115bc:	0a000079 	beq	a00117a8 <IMFS_memfile_write+0x208>           
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a00115c0:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
a00115c4:	e3530005 	cmp	r3, #5                                        
a00115c8:	1a000070 	bne	a0011790 <IMFS_memfile_write+0x1f0>           
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
a00115cc:	e3580000 	cmp	r8, #0                                        
a00115d0:	0a000085 	beq	a00117ec <IMFS_memfile_write+0x24c>           
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
a00115d4:	e35a0000 	cmp	sl, #0                                        
a00115d8:	0a000062 	beq	a0011768 <IMFS_memfile_write+0x1c8>           
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
a00115dc:	e5993054 	ldr	r3, [r9, #84]	; 0x54                          
a00115e0:	e08a1001 	add	r1, sl, r1                                    
a00115e4:	e3530000 	cmp	r3, #0                                        
a00115e8:	ba000054 	blt	a0011740 <IMFS_memfile_write+0x1a0>           
a00115ec:	0a000050 	beq	a0011734 <IMFS_memfile_write+0x194>           
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a00115f0:	e59f520c 	ldr	r5, [pc, #524]	; a0011804 <IMFS_memfile_write+0x264>
a00115f4:	e1a00006 	mov	r0, r6                                        
a00115f8:	e1a01007 	mov	r1, r7                                        
a00115fc:	e5954000 	ldr	r4, [r5]                                      
a0011600:	e1a02004 	mov	r2, r4                                        
a0011604:	e1a03fc2 	asr	r3, r2, #31                                   
a0011608:	e98d000c 	stmib	sp, {r2, r3}                                
a001160c:	eb00302b 	bl	a001d6c0 <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a0011610:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
a0011614:	e1a0b000 	mov	fp, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a0011618:	e1a01007 	mov	r1, r7                                        
a001161c:	e1a00006 	mov	r0, r6                                        
a0011620:	eb002efc 	bl	a001d218 <__divdi3>                            
  if ( start_offset )  {                                              
a0011624:	e35b0000 	cmp	fp, #0                                        
a0011628:	01a0700a 	moveq	r7, sl                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
a001162c:	e1a06000 	mov	r6, r0                                        
  if ( start_offset )  {                                              
a0011630:	01a0a00b 	moveq	sl, fp                                      
a0011634:	1a000028 	bne	a00116dc <IMFS_memfile_write+0x13c>           
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011638:	e1570004 	cmp	r7, r4                                        
a001163c:	3a000010 	bcc	a0011684 <IMFS_memfile_write+0xe4>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a0011640:	e1a00009 	mov	r0, r9                                        
a0011644:	e1a01006 	mov	r1, r6                                        
a0011648:	e3a02000 	mov	r2, #0                                        
a001164c:	ebfffda2 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a0011650:	e3500000 	cmp	r0, #0                                        
a0011654:	0a000048 	beq	a001177c <IMFS_memfile_write+0x1dc>           
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
a0011658:	e1a01008 	mov	r1, r8                                        
a001165c:	e5900000 	ldr	r0, [r0]                                      
a0011660:	e1a02004 	mov	r2, r4                                        
a0011664:	eb0008db 	bl	a00139d8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011668:	e5953000 	ldr	r3, [r5]                                      
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
a001166c:	e0647007 	rsb	r7, r4, r7                                    
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
a0011670:	e0888004 	add	r8, r8, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011674:	e1530007 	cmp	r3, r7                                        
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
    block++;                                                          
a0011678:	e2866001 	add	r6, r6, #1                                    
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
                                                                      
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
a001167c:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
a0011680:	9affffee 	bls	a0011640 <IMFS_memfile_write+0xa0>            
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
a0011684:	e3570000 	cmp	r7, #0                                        
a0011688:	0a00000a 	beq	a00116b8 <IMFS_memfile_write+0x118>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a001168c:	e1a01006 	mov	r1, r6                                        
a0011690:	e1a00009 	mov	r0, r9                                        
a0011694:	e3a02000 	mov	r2, #0                                        
a0011698:	ebfffd8f 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a001169c:	e3500000 	cmp	r0, #0                                        
a00116a0:	0a00004b 	beq	a00117d4 <IMFS_memfile_write+0x234>           
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
a00116a4:	e5900000 	ldr	r0, [r0]                                      
a00116a8:	e1a01008 	mov	r1, r8                                        
a00116ac:	e1a02007 	mov	r2, r7                                        
a00116b0:	eb0008c8 	bl	a00139d8 <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
a00116b4:	e08aa007 	add	sl, sl, r7                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
a00116b8:	e28d000c 	add	r0, sp, #12                                   
a00116bc:	e3a01000 	mov	r1, #0                                        
a00116c0:	ebffc64f 	bl	a0003004 <gettimeofday>                        
a00116c4:	e59d300c 	ldr	r3, [sp, #12]                                 
a00116c8:	e5893048 	str	r3, [r9, #72]	; 0x48                          
a00116cc:	e5893044 	str	r3, [r9, #68]	; 0x44                          
                                                                      
  return copied;                                                      
}                                                                     
a00116d0:	e1a0000a 	mov	r0, sl                                        
a00116d4:	e28dd014 	add	sp, sp, #20                                   
a00116d8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
a00116dc:	e1a00009 	mov	r0, r9                                        
a00116e0:	e1a01006 	mov	r1, r6                                        
a00116e4:	e3a02000 	mov	r2, #0                                        
a00116e8:	ebfffd7b 	bl	a0010cdc <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
a00116ec:	e3500000 	cmp	r0, #0                                        
a00116f0:	0a000032 	beq	a00117c0 <IMFS_memfile_write+0x220>           
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a00116f4:	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;            
a00116f8:	e06b3004 	rsb	r3, fp, r4                                    
a00116fc:	e153000a 	cmp	r3, sl                                        
a0011700:	21a0300a 	movcs	r3, sl                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
a0011704:	e1a01008 	mov	r1, r8                                        
a0011708:	e1a02003 	mov	r2, r3                                        
a001170c:	e080000b 	add	r0, r0, fp                                    
a0011710:	e58d3000 	str	r3, [sp]                                      
a0011714:	eb0008af 	bl	a00139d8 <memcpy>                              
    src += to_copy;                                                   
a0011718:	e59d3000 	ldr	r3, [sp]                                      
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a001171c:	e5954000 	ldr	r4, [r5]                                      
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
a0011720:	e2866001 	add	r6, r6, #1                                    
    my_length -= to_copy;                                             
a0011724:	e063700a 	rsb	r7, r3, sl                                    
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
a0011728:	e0888003 	add	r8, r8, r3                                    
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
a001172c:	e1a0a003 	mov	sl, r3                                        
a0011730:	eaffffc0 	b	a0011638 <IMFS_memfile_write+0x98>              
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
a0011734:	e5993050 	ldr	r3, [r9, #80]	; 0x50                          
a0011738:	e1530001 	cmp	r3, r1                                        
a001173c:	2affffab 	bcs	a00115f0 <IMFS_memfile_write+0x50>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
a0011740:	e1a00009 	mov	r0, r9                                        
a0011744:	e3a02000 	mov	r2, #0                                        
a0011748:	ebfffeee 	bl	a0011308 <IMFS_memfile_extend>                 
    if ( status )                                                     
a001174c:	e3500000 	cmp	r0, #0                                        
a0011750:	0affffa6 	beq	a00115f0 <IMFS_memfile_write+0x50>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a0011754:	eb000691 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a0011758:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a001175c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0011760:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
a0011764:	eaffffd9 	b	a00116d0 <IMFS_memfile_write+0x130>             <== NOT EXECUTED
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0011768:	eb00068c 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a001176c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0011770:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0011774:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
a0011778:	eaffffd4 	b	a00116d0 <IMFS_memfile_write+0x130>             <== NOT EXECUTED
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a001177c:	e59f0084 	ldr	r0, [pc, #132]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a0011780:	e3a01e33 	mov	r1, #816	; 0x330                              <== NOT EXECUTED
a0011784:	e59f2080 	ldr	r2, [pc, #128]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a0011788:	e59f3080 	ldr	r3, [pc, #128]	; a0011810 <IMFS_memfile_write+0x270><== NOT EXECUTED
a001178c:	ebfff441 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
a0011790:	e3a01fb9 	mov	r1, #740	; 0x2e4                              <== NOT EXECUTED
a0011794:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a0011798:	e59f0068 	ldr	r0, [pc, #104]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a001179c:	e59f2068 	ldr	r2, [pc, #104]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a00117a0:	e59f306c 	ldr	r3, [pc, #108]	; a0011814 <IMFS_memfile_write+0x274><== NOT EXECUTED
a00117a4:	ebfff43b 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
a00117a8:	e3a01e2e 	mov	r1, #736	; 0x2e0                              <== NOT EXECUTED
a00117ac:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a00117b0:	e59f0050 	ldr	r0, [pc, #80]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a00117b4:	e59f2050 	ldr	r2, [pc, #80]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a00117b8:	e59f3058 	ldr	r3, [pc, #88]	; a0011818 <IMFS_memfile_write+0x278><== NOT EXECUTED
a00117bc:	ebfff435 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a00117c0:	e59f0040 	ldr	r0, [pc, #64]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a00117c4:	e3a01fc7 	mov	r1, #796	; 0x31c                              <== NOT EXECUTED
a00117c8:	e59f203c 	ldr	r2, [pc, #60]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a00117cc:	e59f303c 	ldr	r3, [pc, #60]	; a0011810 <IMFS_memfile_write+0x270><== NOT EXECUTED
a00117d0:	ebfff430 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
a00117d4:	e3a01fd1 	mov	r1, #836	; 0x344                              <== NOT EXECUTED
a00117d8:	e2811002 	add	r1, r1, #2                                    <== NOT EXECUTED
a00117dc:	e59f0024 	ldr	r0, [pc, #36]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a00117e0:	e59f2024 	ldr	r2, [pc, #36]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a00117e4:	e59f3024 	ldr	r3, [pc, #36]	; a0011810 <IMFS_memfile_write+0x270><== NOT EXECUTED
a00117e8:	ebfff42a 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
a00117ec:	e3a01fbb 	mov	r1, #748	; 0x2ec                              <== NOT EXECUTED
a00117f0:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a00117f4:	e59f000c 	ldr	r0, [pc, #12]	; a0011808 <IMFS_memfile_write+0x268><== NOT EXECUTED
a00117f8:	e59f200c 	ldr	r2, [pc, #12]	; a001180c <IMFS_memfile_write+0x26c><== NOT EXECUTED
a00117fc:	e59f3018 	ldr	r3, [pc, #24]	; a001181c <IMFS_memfile_write+0x27c><== NOT EXECUTED
a0011800:	ebfff424 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a000955c <IMFS_mknod>:                                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
a000955c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0009560:	e24dd040 	sub	sp, sp, #64	; 0x40                            
a0009564:	e1a04001 	mov	r4, r1                                        
a0009568:	e1a07002 	mov	r7, r2                                        
a000956c:	e1a06003 	mov	r6, r3                                        
a0009570:	e1a08000 	mov	r8, r0                                        
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
a0009574:	eb00155d 	bl	a000eaf0 <strlen>                              
a0009578:	e28d5004 	add	r5, sp, #4                                    
a000957c:	e1a01000 	mov	r1, r0                                        
a0009580:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0009584:	e1a00008 	mov	r0, r8                                        
a0009588:	e1a02005 	mov	r2, r5                                        
a000958c:	ebffff7a 	bl	a000937c <IMFS_get_token>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
a0009590:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
a0009594:	e3530901 	cmp	r3, #16384	; 0x4000                           
a0009598:	0a00001b 	beq	a000960c <IMFS_mknod+0xb0>                    
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
a000959c:	e3530902 	cmp	r3, #32768	; 0x8000                           
a00095a0:	03a01005 	moveq	r1, #5                                      
a00095a4:	0a000005 	beq	a00095c0 <IMFS_mknod+0x64>                    
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
a00095a8:	e3530a06 	cmp	r3, #24576	; 0x6000                           
a00095ac:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
a00095b0:	058d7028 	streq	r7, [sp, #40]	; 0x28                        
a00095b4:	058d602c 	streq	r6, [sp, #44]	; 0x2c                        
a00095b8:	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) ) {                        
a00095bc:	1a00000a 	bne	a00095ec <IMFS_mknod+0x90>                    
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
a00095c0:	e28dc028 	add	ip, sp, #40	; 0x28                            
a00095c4:	e59d0058 	ldr	r0, [sp, #88]	; 0x58                          
a00095c8:	e1a02005 	mov	r2, r5                                        
a00095cc:	e1a03004 	mov	r3, r4                                        
a00095d0:	e58dc000 	str	ip, [sp]                                      
a00095d4:	eb000b17 	bl	a000c238 <IMFS_create_node>                    
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
a00095d8:	e3500000 	cmp	r0, #0                                        
a00095dc:	13a00000 	movne	r0, #0                                      
a00095e0:	0a00000b 	beq	a0009614 <IMFS_mknod+0xb8>                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
}                                                                     
a00095e4:	e28dd040 	add	sp, sp, #64	; 0x40                            
a00095e8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
a00095ec:	e3530a01 	cmp	r3, #4096	; 0x1000                            
a00095f0:	03a01007 	moveq	r1, #7                                      
a00095f4:	0afffff1 	beq	a00095c0 <IMFS_mknod+0x64>                    
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00095f8:	eb00114b 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00095fc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0009600:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009604:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009608:	eafffff5 	b	a00095e4 <IMFS_mknod+0x88>                      <== NOT EXECUTED
a000960c:	e3a01001 	mov	r1, #1                                        
a0009610:	eaffffea 	b	a00095c0 <IMFS_mknod+0x64>                      
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
a0009614:	eb001144 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009618:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a000961c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009620:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0009624:	eaffffee 	b	a00095e4 <IMFS_mknod+0x88>                      <== NOT EXECUTED
                                                                      
a0002710 <IMFS_mount>:                                                
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
a0002710:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a0002714:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a0002718:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a000271c:	e3520001 	cmp	r2, #1                                        
a0002720:	1a000002 	bne	a0002730 <IMFS_mount+0x20>                    
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
a0002724:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
a0002728:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a000272c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a0002730:	eb00429a 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a0002734:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a0002738:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000273c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002740:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a0003c14 <IMFS_print_jnode>:                                          
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
a0003c14:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
a0003c18:	e2504000 	subs	r4, r0, #0                                   
a0003c1c:	0a000055 	beq	a0003d78 <IMFS_print_jnode+0x164>             
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
a0003c20:	e59f5164 	ldr	r5, [pc, #356]	; a0003d8c <IMFS_print_jnode+0x178>
a0003c24:	e284000c 	add	r0, r4, #12                                   
a0003c28:	e5953000 	ldr	r3, [r5]                                      
a0003c2c:	e5931008 	ldr	r1, [r3, #8]                                  
a0003c30:	eb003f63 	bl	a00139c4 <fputs>                               
  switch( the_jnode->type ) {                                         
a0003c34:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
a0003c38:	e2423001 	sub	r3, r2, #1                                    
a0003c3c:	e3530006 	cmp	r3, #6                                        
a0003c40:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
a0003c44:	ea000011 	b	a0003c90 <IMFS_print_jnode+0x7c>                <== NOT EXECUTED
a0003c48:	a0003cb4 	.word	0xa0003cb4                                  <== NOT EXECUTED
a0003c4c:	a0003cd0 	.word	0xa0003cd0                                  <== NOT EXECUTED
a0003c50:	a0003cec 	.word	0xa0003cec                                  <== NOT EXECUTED
a0003c54:	a0003d18 	.word	0xa0003d18                                  <== NOT EXECUTED
a0003c58:	a0003d44 	.word	0xa0003d44                                  <== NOT EXECUTED
a0003c5c:	a0003d5c 	.word	0xa0003d5c                                  <== NOT EXECUTED
a0003c60:	a0003c64 	.word	0xa0003c64                                  <== NOT EXECUTED
      fprintf(stdout, " links not printed\n" );                       
      assert(0);                                                      
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
a0003c64:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003c68:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003c6c:	e3a02012 	mov	r2, #18                                       <== NOT EXECUTED
a0003c70:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003c74:	e59f0114 	ldr	r0, [pc, #276]	; a0003d90 <IMFS_print_jnode+0x17c><== NOT EXECUTED
a0003c78:	eb004266 	bl	a0014618 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003c7c:	e59f0110 	ldr	r0, [pc, #272]	; a0003d94 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003c80:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
a0003c84:	e59f210c 	ldr	r2, [pc, #268]	; a0003d98 <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003c88:	e59f310c 	ldr	r3, [pc, #268]	; a0003d9c <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003c8c:	eb000297 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
a0003c90:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003c94:	e59f1104 	ldr	r1, [pc, #260]	; a0003da0 <IMFS_print_jnode+0x18c><== NOT EXECUTED
a0003c98:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0003c9c:	eb003ee7 	bl	a0013840 <fprintf>                             <== NOT EXECUTED
      assert(0);                                                      
a0003ca0:	e59f00ec 	ldr	r0, [pc, #236]	; a0003d94 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003ca4:	e3a0106c 	mov	r1, #108	; 0x6c                               <== NOT EXECUTED
a0003ca8:	e59f20e8 	ldr	r2, [pc, #232]	; a0003d98 <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003cac:	e59f30e8 	ldr	r3, [pc, #232]	; a0003d9c <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003cb0:	eb00028e 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
  assert( the_jnode );                                                
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
a0003cb4:	e5953000 	ldr	r3, [r5]                                      
a0003cb8:	e3a0002f 	mov	r0, #47	; 0x2f                                
a0003cbc:	e5931008 	ldr	r1, [r3, #8]                                  
a0003cc0:	eb003efa 	bl	a00138b0 <fputc>                               
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003cc4:	e59f00d8 	ldr	r0, [pc, #216]	; a0003da4 <IMFS_print_jnode+0x190>
}                                                                     
a0003cc8:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
a0003ccc:	ea004641 	b	a00155d8 <puts>                                 
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
a0003cd0:	e5952000 	ldr	r2, [r5]                                      
a0003cd4:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a0003cd8:	e59f10c8 	ldr	r1, [pc, #200]	; a0003da8 <IMFS_print_jnode+0x194>
a0003cdc:	e5920008 	ldr	r0, [r2, #8]                                  
a0003ce0:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003ce4:	eb003ed5 	bl	a0013840 <fprintf>                             
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
a0003ce8:	eafffff5 	b	a0003cc4 <IMFS_print_jnode+0xb0>                
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
a0003cec:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003cf0:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003cf4:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
a0003cf8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003cfc:	e59f00a8 	ldr	r0, [pc, #168]	; a0003dac <IMFS_print_jnode+0x198><== NOT EXECUTED
a0003d00:	eb004244 	bl	a0014618 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003d04:	e59f0088 	ldr	r0, [pc, #136]	; a0003d94 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003d08:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
a0003d0c:	e59f2084 	ldr	r2, [pc, #132]	; a0003d98 <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003d10:	e59f3084 	ldr	r3, [pc, #132]	; a0003d9c <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003d14:	eb000275 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
a0003d18:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0003d1c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003d20:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
a0003d24:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003d28:	e59f007c 	ldr	r0, [pc, #124]	; a0003dac <IMFS_print_jnode+0x198><== NOT EXECUTED
a0003d2c:	eb004239 	bl	a0014618 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
a0003d30:	e59f005c 	ldr	r0, [pc, #92]	; a0003d94 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003d34:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
a0003d38:	e59f2058 	ldr	r2, [pc, #88]	; a0003d98 <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003d3c:	e59f3058 	ldr	r3, [pc, #88]	; a0003d9c <IMFS_print_jnode+0x188><== NOT EXECUTED
a0003d40:	eb00026a 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
a0003d44:	e5953000 	ldr	r3, [r5]                                      
a0003d48:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
a0003d4c:	e59f105c 	ldr	r1, [pc, #92]	; a0003db0 <IMFS_print_jnode+0x19c>
a0003d50:	e5930008 	ldr	r0, [r3, #8]                                  
a0003d54:	eb003eb9 	bl	a0013840 <fprintf>                             
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
a0003d58:	eaffffd9 	b	a0003cc4 <IMFS_print_jnode+0xb0>                
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
a0003d5c:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
a0003d60:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0003d64:	e59f1048 	ldr	r1, [pc, #72]	; a0003db4 <IMFS_print_jnode+0x1a0><== NOT EXECUTED
a0003d68:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
a0003d6c:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          <== NOT EXECUTED
a0003d70:	eb003eb2 	bl	a0013840 <fprintf>                             <== NOT EXECUTED
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
a0003d74:	eaffffd2 	b	a0003cc4 <IMFS_print_jnode+0xb0>                <== NOT EXECUTED
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  assert( the_jnode );                                                
a0003d78:	e59f0014 	ldr	r0, [pc, #20]	; a0003d94 <IMFS_print_jnode+0x180><== NOT EXECUTED
a0003d7c:	e3a01038 	mov	r1, #56	; 0x38                                <== NOT EXECUTED
a0003d80:	e59f2010 	ldr	r2, [pc, #16]	; a0003d98 <IMFS_print_jnode+0x184><== NOT EXECUTED
a0003d84:	e59f302c 	ldr	r3, [pc, #44]	; a0003db8 <IMFS_print_jnode+0x1a4><== NOT EXECUTED
a0003d88:	eb000258 	bl	a00046f0 <__assert_func>                       <== NOT EXECUTED
                                                                      
a0002750 <IMFS_readlink>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
a0002750:	e5903000 	ldr	r3, [r0]                                      
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
a0002754:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
a0002758:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
a000275c:	e3500004 	cmp	r0, #4                                        
a0002760:	1a000015 	bne	a00027bc <IMFS_readlink+0x6c>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0002764:	e3520000 	cmp	r2, #0                                        
a0002768:	0a000011 	beq	a00027b4 <IMFS_readlink+0x64>                 
a000276c:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a0002770:	e5d0c000 	ldrb	ip, [r0]                                     
a0002774:	e35c0000 	cmp	ip, #0                                        
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0002778:	13a04000 	movne	r4, #0                                      
a000277c:	11a00004 	movne	r0, r4                                      
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a0002780:	1a000004 	bne	a0002798 <IMFS_readlink+0x48>                 
a0002784:	ea00000a 	b	a00027b4 <IMFS_readlink+0x64>                   <== NOT EXECUTED
a0002788:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
a000278c:	e7dcc000 	ldrb	ip, [ip, r0]                                 
a0002790:	e35c0000 	cmp	ip, #0                                        
a0002794:	0a000005 	beq	a00027b0 <IMFS_readlink+0x60>                 
a0002798:	e2800001 	add	r0, r0, #1                                    
a000279c:	e1520000 	cmp	r2, r0                                        
    buf[i] = node->info.sym_link.name[i];                             
a00027a0:	e7c1c004 	strb	ip, [r1, r4]                                 
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a00027a4:	e1a04000 	mov	r4, r0                                        
a00027a8:	8afffff6 	bhi	a0002788 <IMFS_readlink+0x38>                 
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
a00027ac:	e8bd8010 	pop	{r4, pc}                                      
a00027b0:	e8bd8010 	pop	{r4, pc}                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
a00027b4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00027b8:	eafffffb 	b	a00027ac <IMFS_readlink+0x5c>                   <== NOT EXECUTED
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00027bc:	eb004277 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a00027c0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00027c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00027c8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00027cc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a00096ec <IMFS_stat>:                                                 
{                                                                     
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
a00096ec:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a00096f0:	e92d4810 	push	{r4, fp, lr}                                 
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
a00096f4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a00096f8:	e2422002 	sub	r2, r2, #2                                    
a00096fc:	e3520005 	cmp	r2, #5                                        
a0009700:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0009704:	ea000027 	b	a00097a8 <IMFS_stat+0xbc>                       <== NOT EXECUTED
a0009708:	a0009794 	.word	0xa0009794                                  <== NOT EXECUTED
a000970c:	a00097a8 	.word	0xa00097a8                                  <== NOT EXECUTED
a0009710:	a0009720 	.word	0xa0009720                                  <== NOT EXECUTED
a0009714:	a00097bc 	.word	0xa00097bc                                  <== NOT EXECUTED
a0009718:	a00097bc 	.word	0xa00097bc                                  <== NOT EXECUTED
a000971c:	a0009720 	.word	0xa0009720                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
a0009720:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
a0009724:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
a0009728:	e581b020 	str	fp, [r1, #32]                                 <== NOT EXECUTED
a000972c:	e581c024 	str	ip, [r1, #36]	; 0x24                          <== NOT EXECUTED
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a0009730:	e593c030 	ldr	ip, [r3, #48]	; 0x30                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a0009734:	e5902010 	ldr	r2, [r0, #16]                                 
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0009738:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
a000973c:	e581c00c 	str	ip, [r1, #12]                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a0009740:	e593c038 	ldr	ip, [r3, #56]	; 0x38                          
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
a0009744:	e1c101b0 	strh	r0, [r1, #16]                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0009748:	e1d343bc 	ldrh	r4, [r3, #60]	; 0x3c                         
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
a000974c:	e581c008 	str	ip, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a0009750:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a0009754:	e5920034 	ldr	r0, [r2, #52]	; 0x34                          
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0009758:	e3a02cff 	mov	r2, #65280	; 0xff00                           
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
a000975c:	e581c028 	str	ip, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
a0009760:	e593c044 	ldr	ip, [r3, #68]	; 0x44                          
a0009764:	e28220fe 	add	r2, r2, #254	; 0xfe                           
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
a0009768:	e1c141b2 	strh	r4, [r1, #18]                                
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
a000976c:	e581c030 	str	ip, [r1, #48]	; 0x30                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
a0009770:	e5900000 	ldr	r0, [r0]                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a0009774:	e5812000 	str	r2, [r1]                                      
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0009778:	e5932048 	ldr	r2, [r3, #72]	; 0x48                          
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
a000977c:	e1d333be 	ldrh	r3, [r3, #62]	; 0x3e                         
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
a0009780:	e5810004 	str	r0, [r1, #4]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
a0009784:	e5812038 	str	r2, [r1, #56]	; 0x38                          
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
a0009788:	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;                              
a000978c:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a0009790:	e8bd8810 	pop	{r4, fp, pc}                                  
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
a0009794:	e593c054 	ldr	ip, [r3, #84]	; 0x54                          
a0009798:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
a000979c:	e581c01c 	str	ip, [r1, #28]                                 
a00097a0:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
a00097a4:	eaffffe1 	b	a0009730 <IMFS_stat+0x44>                       
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
a00097a8:	eb0010df 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00097ac:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00097b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00097b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00097b8:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
a00097bc:	e283c050 	add	ip, r3, #80	; 0x50                            
a00097c0:	e89c1800 	ldm	ip, {fp, ip}                                  
a00097c4:	e581b020 	str	fp, [r1, #32]                                 
a00097c8:	e581c024 	str	ip, [r1, #36]	; 0x24                          
      break;                                                          
a00097cc:	eaffffd7 	b	a0009730 <IMFS_stat+0x44>                       
                                                                      
a0002838 <IMFS_symlink>:                                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a0002838:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000283c:	e1a06000 	mov	r6, r0                                        
a0002840:	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 );     
a0002844:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
a0002848:	e1a07002 	mov	r7, r2                                        
a000284c:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
a0002850:	eb00462b 	bl	a0014104 <strlen>                              
a0002854:	e28d4004 	add	r4, sp, #4                                    
a0002858:	e1a01000 	mov	r1, r0                                        
a000285c:	e1a02004 	mov	r2, r4                                        
a0002860:	e28d303c 	add	r3, sp, #60	; 0x3c                            
a0002864:	e1a00007 	mov	r0, r7                                        
a0002868:	eb002f67 	bl	a000e60c <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
a000286c:	e1a00005 	mov	r0, r5                                        
a0002870:	eb00460f 	bl	a00140b4 <strdup>                              
  if (info.sym_link.name == NULL) {                                   
a0002874:	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);                             
a0002878:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
a000287c:	0a00000e 	beq	a00028bc <IMFS_symlink+0x84>                  
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
a0002880:	e3a03ca2 	mov	r3, #41472	; 0xa200                           
a0002884:	e28dc028 	add	ip, sp, #40	; 0x28                            
a0002888:	e1a00006 	mov	r0, r6                                        
a000288c:	e1a02004 	mov	r2, r4                                        
a0002890:	e2433001 	sub	r3, r3, #1                                    
a0002894:	e3a01004 	mov	r1, #4                                        
a0002898:	e58dc000 	str	ip, [sp]                                      
a000289c:	eb002c16 	bl	a000d8fc <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
a00028a0:	e3500000 	cmp	r0, #0                                        
a00028a4:	13a00000 	movne	r0, #0                                      
a00028a8:	0a000001 	beq	a00028b4 <IMFS_symlink+0x7c>                  
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
a00028ac:	e28dd040 	add	sp, sp, #64	; 0x40                            
a00028b0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
a00028b4:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
a00028b8:	eb00019d 	bl	a0002f34 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
a00028bc:	eb004237 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a00028c0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00028c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00028c8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00028cc:	eafffff6 	b	a00028ac <IMFS_symlink+0x74>                    <== NOT EXECUTED
                                                                      
a00028d0 <IMFS_unlink>:                                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00028d0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
a00028d4:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00028d8:	e24dd01c 	sub	sp, sp, #28                                   
a00028dc:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a00028e0:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
a00028e4:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
a00028e8:	e3530003 	cmp	r3, #3                                        
a00028ec:	0a000006 	beq	a000290c <IMFS_unlink+0x3c>                   
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
a00028f0:	e5943008 	ldr	r3, [r4, #8]                                  
a00028f4:	e1a00006 	mov	r0, r6                                        
a00028f8:	e1a01004 	mov	r1, r4                                        
a00028fc:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0002900:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0002904:	e28dd01c 	add	sp, sp, #28                                   
a0002908:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
a000290c:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
a0002910:	e35e0000 	cmp	lr, #0                                        
a0002914:	0a00001f 	beq	a0002998 <IMFS_unlink+0xc8>                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
a0002918:	e1a0c00d 	mov	ip, sp                                        
a000291c:	e1a07001 	mov	r7, r1                                        
a0002920:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0002924:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0002928:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
a000292c:	e28d701c 	add	r7, sp, #28                                   
a0002930:	e527e01c 	str	lr, [r7, #-28]!                               
    IMFS_Set_handlers( &the_link );                                   
a0002934:	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;                                                  
a0002938:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
a000293c:	eb002c40 	bl	a000da44 <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)               
a0002940:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a0002944:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
a0002948:	e3520001 	cmp	r2, #1                                        
a000294c:	0a000008 	beq	a0002974 <IMFS_unlink+0xa4>                   
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
a0002950:	e2422001 	sub	r2, r2, #1                                    
a0002954:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
a0002958:	e28d0014 	add	r0, sp, #20                                   
a000295c:	e3a01000 	mov	r1, #0                                        
a0002960:	eb0001a7 	bl	a0003004 <gettimeofday>                        
a0002964:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
a0002968:	e59d2014 	ldr	r2, [sp, #20]                                 
a000296c:	e5832048 	str	r2, [r3, #72]	; 0x48                          
a0002970:	eaffffde 	b	a00028f0 <IMFS_unlink+0x20>                     
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
a0002974:	e59d3008 	ldr	r3, [sp, #8]                                  
a0002978:	e1a0100d 	mov	r1, sp                                        
a000297c:	e1a00006 	mov	r0, r6                                        
a0002980:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a0002984:	e12fff33 	blx	r3                                            
        if ( result != 0 )                                            
a0002988:	e3500000 	cmp	r0, #0                                        
a000298c:	13e00000 	mvnne	r0, #0                                      
a0002990:	0affffd6 	beq	a00028f0 <IMFS_unlink+0x20>                   
a0002994:	eaffffda 	b	a0002904 <IMFS_unlink+0x34>                     
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0002998:	eb004200 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a000299c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00029a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00029a4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00029a8:	eaffffd5 	b	a0002904 <IMFS_unlink+0x34>                     <== NOT EXECUTED
                                                                      
a00029ac <IMFS_unmount>:                                              
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
a00029ac:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
a00029b0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
a00029b4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
a00029b8:	e3520001 	cmp	r2, #1                                        
a00029bc:	1a000005 	bne	a00029d8 <IMFS_unmount+0x2c>                  
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
a00029c0:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
a00029c4:	e3520000 	cmp	r2, #0                                        
a00029c8:	0a000007 	beq	a00029ec <IMFS_unmount+0x40>                  
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
a00029cc:	e3a00000 	mov	r0, #0                                        
a00029d0:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
a00029d4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00029d8:	eb0041f0 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a00029dc:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
a00029e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00029e4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00029e8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
a00029ec:	eb0041eb 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a00029f0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00029f4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00029f8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00029fc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a0001be4 <RTEMS_Malloc_Initialize>:                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001be4:	e59f30d4 	ldr	r3, [pc, #212]	; a0001cc0 <RTEMS_Malloc_Initialize+0xdc>
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001be8:	e92d4070 	push	{r4, r5, r6, lr}                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001bec:	e5933000 	ldr	r3, [r3]                                      
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001bf0:	e1a05000 	mov	r5, r0                                        
a0001bf4:	e1a06001 	mov	r6, r1                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001bf8:	e3530000 	cmp	r3, #0                                        
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
a0001bfc:	e1a04002 	mov	r4, r2                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
a0001c00:	0a000001 	beq	a0001c0c <RTEMS_Malloc_Initialize+0x28>       
    (*rtems_malloc_statistics_helpers->initialize)();                 
a0001c04:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0001c08:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
a0001c0c:	ebffffe0 	bl	a0001b94 <malloc_deferred_frees_initialize>    
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
a0001c10:	e59f30ac 	ldr	r3, [pc, #172]	; a0001cc4 <RTEMS_Malloc_Initialize+0xe0>
a0001c14:	e5933000 	ldr	r3, [r3]                                      
a0001c18:	e3530000 	cmp	r3, #0                                        
a0001c1c:	0a000006 	beq	a0001c3c <RTEMS_Malloc_Initialize+0x58>       
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
a0001c20:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001c24:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0001c28:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0001c2c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
a0001c30:	e0856006 	add	r6, r5, r6                                    <== NOT EXECUTED
a0001c34:	e0606006 	rsb	r6, r0, r6                                    <== NOT EXECUTED
a0001c38:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if (                                                                
a0001c3c:	e59f4084 	ldr	r4, [pc, #132]	; a0001cc8 <RTEMS_Malloc_Initialize+0xe4>
a0001c40:	e5d41000 	ldrb	r1, [r4]                                     
a0001c44:	e3510000 	cmp	r1, #0                                        
a0001c48:	1a000018 	bne	a0001cb0 <RTEMS_Malloc_Initialize+0xcc>       
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
a0001c4c:	e59f3078 	ldr	r3, [pc, #120]	; a0001ccc <RTEMS_Malloc_Initialize+0xe8>
a0001c50:	e5d33028 	ldrb	r3, [r3, #40]	; 0x28                         
a0001c54:	e3530000 	cmp	r3, #0                                        
a0001c58:	1a00000e 	bne	a0001c98 <RTEMS_Malloc_Initialize+0xb4>       
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
a0001c5c:	e59f406c 	ldr	r4, [pc, #108]	; a0001cd0 <RTEMS_Malloc_Initialize+0xec>
a0001c60:	e1a01005 	mov	r1, r5                                        
a0001c64:	e1a02006 	mov	r2, r6                                        
a0001c68:	e5940000 	ldr	r0, [r4]                                      
a0001c6c:	e3a03004 	mov	r3, #4                                        
a0001c70:	eb001026 	bl	a0005d10 <_Heap_Initialize>                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
a0001c74:	e3500000 	cmp	r0, #0                                        
a0001c78:	0a00000e 	beq	a0001cb8 <RTEMS_Malloc_Initialize+0xd4>       
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
a0001c7c:	e59f5050 	ldr	r5, [pc, #80]	; a0001cd4 <RTEMS_Malloc_Initialize+0xf0>
a0001c80:	e5940000 	ldr	r0, [r4]                                      
a0001c84:	e5954000 	ldr	r4, [r5]                                      
a0001c88:	eb001337 	bl	a000696c <_Protected_heap_Get_size>            
a0001c8c:	e0800004 	add	r0, r0, r4                                    
a0001c90:	e5850000 	str	r0, [r5]                                      
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
a0001c94:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
a0001c98:	e1a00005 	mov	r0, r5                                        
a0001c9c:	e1a02006 	mov	r2, r6                                        
a0001ca0:	eb0031eb 	bl	a000e454 <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 ) {                                   
a0001ca4:	e5d43000 	ldrb	r3, [r4]                                     
a0001ca8:	e3530000 	cmp	r3, #0                                        
a0001cac:	0affffea 	beq	a0001c5c <RTEMS_Malloc_Initialize+0x78>       
a0001cb0:	e59f4018 	ldr	r4, [pc, #24]	; a0001cd0 <RTEMS_Malloc_Initialize+0xec>
a0001cb4:	eafffff0 	b	a0001c7c <RTEMS_Malloc_Initialize+0x98>         
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
a0001cb8:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
a0001cbc:	eb000e14 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a0001290 <Stack_check_Dump_threads_usage>:                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0001290:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
a0001294:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
a0001298:	e24dd010 	sub	sp, sp, #16                                   <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
a000129c:	0a000030 	beq	a0001364 <Stack_check_Dump_threads_usage+0xd4><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
a00012a0:	e59f4108 	ldr	r4, [pc, #264]	; a00013b0 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
a00012a4:	e5947004 	ldr	r7, [r4, #4]                                  <== NOT EXECUTED
a00012a8:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a00012ac:	0a00002c 	beq	a0001364 <Stack_check_Dump_threads_usage+0xd4><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
a00012b0:	e37a0001 	cmn	sl, #1                                        <== NOT EXECUTED
a00012b4:	0a000031 	beq	a0001380 <Stack_check_Dump_threads_usage+0xf0><== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
a00012b8:	e59a80f4 	ldr	r8, [sl, #244]	; 0xf4                         <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
a00012bc:	e28a50c4 	add	r5, sl, #196	; 0xc4                           <== NOT EXECUTED
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
a00012c0:	e8950240 	ldm	r5, {r6, r9}                                  <== NOT EXECUTED
a00012c4:	e2899010 	add	r9, r9, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
a00012c8:	e2466010 	sub	r6, r6, #16                                   <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
a00012cc:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a00012d0:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a00012d4:	ebffffd8 	bl	a000123c <Stack_check_find_high_water_mark>    <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
a00012d8:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
a00012dc:	10899006 	addne	r9, r9, r6                                  <== NOT EXECUTED
a00012e0:	106bb009 	rsbne	fp, fp, r9                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
a00012e4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a00012e8:	0a00002b 	beq	a000139c <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
    (*print_handler)(                                                 
a00012ec:	e59aa008 	ldr	sl, [sl, #8]                                  <== NOT EXECUTED
a00012f0:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
a00012f4:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
a00012f8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a00012fc:	e5949008 	ldr	r9, [r4, #8]                                  <== NOT EXECUTED
a0001300:	eb000e84 	bl	a0004d18 <rtems_object_get_name>               <== NOT EXECUTED
a0001304:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a0001308:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000130c:	e59f10a0 	ldr	r1, [pc, #160]	; a00013b4 <Stack_check_Dump_threads_usage+0x124><== NOT EXECUTED
a0001310:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0001314:	e12fff37 	blx	r7                                            <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
a0001318:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a000131c:	e5952004 	ldr	r2, [r5, #4]                                  <== NOT EXECUTED
a0001320:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a0001324:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0001328:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a000132c:	e58d8000 	str	r8, [sp]                                      <== NOT EXECUTED
a0001330:	e58d6004 	str	r6, [sp, #4]                                  <== NOT EXECUTED
a0001334:	e594c004 	ldr	ip, [r4, #4]                                  <== NOT EXECUTED
a0001338:	e59f1078 	ldr	r1, [pc, #120]	; a00013b8 <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
a000133c:	e12fff3c 	blx	ip                                            <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a0001340:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
a0001344:	e59f3064 	ldr	r3, [pc, #100]	; a00013b0 <Stack_check_Dump_threads_usage+0x120><== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
a0001348:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000134c:	0a000006 	beq	a000136c <Stack_check_Dump_threads_usage+0xdc><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
a0001350:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0001354:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a0001358:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000135c:	e59f1058 	ldr	r1, [pc, #88]	; a00013bc <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
a0001360:	e12fff33 	blx	r3                                            <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
a0001364:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0001368:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
a000136c:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0001370:	e59f1048 	ldr	r1, [pc, #72]	; a00013c0 <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
a0001374:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0001378:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a000137c:	eafffff8 	b	a0001364 <Stack_check_Dump_threads_usage+0xd4>  <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    if (Stack_check_Interrupt_stack.area) {                           
a0001380:	e59f503c 	ldr	r5, [pc, #60]	; a00013c4 <Stack_check_Dump_threads_usage+0x134><== NOT EXECUTED
a0001384:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
a0001388:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000138c:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
a0001390:	11a0a008 	movne	sl, r8                                      <== NOT EXECUTED
a0001394:	1affffc9 	bne	a00012c0 <Stack_check_Dump_threads_usage+0x30><== NOT EXECUTED
a0001398:	eafffff1 	b	a0001364 <Stack_check_Dump_threads_usage+0xd4>  <== NOT EXECUTED
      "0x%08" PRIx32 "  %4s",                                         
      the_thread->Object.id,                                          
      rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
a000139c:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
a00013a0:	e59f1020 	ldr	r1, [pc, #32]	; a00013c8 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
a00013a4:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a00013a8:	e12fff37 	blx	r7                                            <== NOT EXECUTED
a00013ac:	eaffffd9 	b	a0001318 <Stack_check_Dump_threads_usage+0x88>  <== NOT EXECUTED
                                                                      
a000123c <Stack_check_find_high_water_mark>:                          
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
a000123c:	e2803010 	add	r3, r0, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
a0001240:	e3c11003 	bic	r1, r1, #3                                    <== NOT EXECUTED
a0001244:	e0831001 	add	r1, r3, r1                                    <== NOT EXECUTED
a0001248:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
a000124c:	2a00000a 	bcs	a000127c <Stack_check_find_high_water_mark+0x40><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
a0001250:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0001254:	e59f2030 	ldr	r2, [pc, #48]	; a000128c <Stack_check_find_high_water_mark+0x50><== NOT EXECUTED
a0001258:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
a000125c:	0a000003 	beq	a0001270 <Stack_check_find_high_water_mark+0x34><== NOT EXECUTED
a0001260:	ea000007 	b	a0001284 <Stack_check_find_high_water_mark+0x48><== NOT EXECUTED
a0001264:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
a0001268:	e1520000 	cmp	r2, r0                                        <== NOT EXECUTED
a000126c:	1a000004 	bne	a0001284 <Stack_check_find_high_water_mark+0x48><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
a0001270:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0001274:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a0001278:	8afffff9 	bhi	a0001264 <Stack_check_find_high_water_mark+0x28><== NOT EXECUTED
a000127c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
a0001280:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
a0001284:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001288:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0016b78 <_CORE_message_queue_Broadcast>:                             
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0016b78:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a0016b7c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0016b80:	e1530002 	cmp	r3, r2                                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
a0016b84:	e1a07000 	mov	r7, r0                                        
a0016b88:	e1a05002 	mov	r5, r2                                        
a0016b8c:	e1a08001 	mov	r8, r1                                        
a0016b90:	e59da020 	ldr	sl, [sp, #32]                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0016b94:	3a000013 	bcc	a0016be8 <_CORE_message_queue_Broadcast+0x70> 
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
a0016b98:	e5906048 	ldr	r6, [r0, #72]	; 0x48                          
a0016b9c:	e3560000 	cmp	r6, #0                                        
a0016ba0:	0a000009 	beq	a0016bcc <_CORE_message_queue_Broadcast+0x54> 
    *count = 0;                                                       
a0016ba4:	e3a00000 	mov	r0, #0                                        
a0016ba8:	e58a0000 	str	r0, [sl]                                      
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
a0016bac:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
a0016bb0:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
a0016bb4:	e1a01008 	mov	r1, r8                                        
a0016bb8:	e1a02005 	mov	r2, r5                                        
a0016bbc:	eb002615 	bl	a0020418 <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0016bc0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
a0016bc4:	e2866001 	add	r6, r6, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
a0016bc8:	e5835000 	str	r5, [r3]                                      
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
a0016bcc:	e1a00007 	mov	r0, r7                                        
a0016bd0:	eb000a29 	bl	a001947c <_Thread_queue_Dequeue>               
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
a0016bd4:	e2504000 	subs	r4, r0, #0                                   
a0016bd8:	1afffff4 	bne	a0016bb0 <_CORE_message_queue_Broadcast+0x38> 
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
a0016bdc:	e58a6000 	str	r6, [sl]                                      
a0016be0:	e1a00004 	mov	r0, r4                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
a0016be4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
a0016be8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0016bec:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
a000ad28 <_Heap_Allocate_aligned_with_boundary>:                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000ad28:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000ad2c:	e1a08002 	mov	r8, r2                                        
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
a000ad30:	e5902010 	ldr	r2, [r0, #16]                                 
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000ad34:	e24dd01c 	sub	sp, sp, #28                                   
a000ad38:	e1a05001 	mov	r5, r1                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000ad3c:	e2911004 	adds	r1, r1, #4                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000ad40:	e1a07000 	mov	r7, r0                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000ad44:	e58d1000 	str	r1, [sp]                                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
a000ad48:	e1a0b003 	mov	fp, r3                                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a000ad4c:	e590a008 	ldr	sl, [r0, #8]                                  
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
a000ad50:	e58d200c 	str	r2, [sp, #12]                                 
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
a000ad54:	2a000074 	bcs	a000af2c <_Heap_Allocate_aligned_with_boundary+0x204>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
a000ad58:	e3530000 	cmp	r3, #0                                        
a000ad5c:	1a000070 	bne	a000af24 <_Heap_Allocate_aligned_with_boundary+0x1fc>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000ad60:	e157000a 	cmp	r7, sl                                        
a000ad64:	03a06000 	moveq	r6, #0                                      
a000ad68:	0a000072 	beq	a000af38 <_Heap_Allocate_aligned_with_boundary+0x210>
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000ad6c:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000ad70:	e2651004 	rsb	r1, r5, #4                                    
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000ad74:	e3a06000 	mov	r6, #0                                        
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000ad78:	e2833007 	add	r3, r3, #7                                    
a000ad7c:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000ad80:	e58d1014 	str	r1, [sp, #20]                                 
a000ad84:	ea000004 	b	a000ad9c <_Heap_Allocate_aligned_with_boundary+0x74>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
a000ad88:	e3540000 	cmp	r4, #0                                        
a000ad8c:	1a000057 	bne	a000aef0 <_Heap_Allocate_aligned_with_boundary+0x1c8>
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
a000ad90:	e59aa008 	ldr	sl, [sl, #8]                                  
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000ad94:	e157000a 	cmp	r7, sl                                        
a000ad98:	0a000066 	beq	a000af38 <_Heap_Allocate_aligned_with_boundary+0x210>
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
a000ad9c:	e59a9004 	ldr	r9, [sl, #4]                                  
a000ada0:	e59d2000 	ldr	r2, [sp]                                      
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
a000ada4:	e2866001 	add	r6, r6, #1                                    
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
a000ada8:	e1520009 	cmp	r2, r9                                        
a000adac:	2afffff7 	bcs	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68>
      if ( alignment == 0 ) {                                         
a000adb0:	e3580000 	cmp	r8, #0                                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
a000adb4:	028a4008 	addeq	r4, sl, #8                                  
a000adb8:	0afffff2 	beq	a000ad88 <_Heap_Allocate_aligned_with_boundary+0x60>
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000adbc:	e59d1014 	ldr	r1, [sp, #20]                                 
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a000adc0:	e5973014 	ldr	r3, [r7, #20]                                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000adc4:	e59d2010 	ldr	r2, [sp, #16]                                 
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
a000adc8:	e3c99001 	bic	r9, r9, #1                                    
a000adcc:	e08a9009 	add	r9, sl, r9                                    
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
a000add0:	e0814009 	add	r4, r1, r9                                    
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
a000add4:	e58d3004 	str	r3, [sp, #4]                                  
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000add8:	e1a00004 	mov	r0, r4                                        
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
a000addc:	e0633002 	rsb	r3, r3, r2                                    
a000ade0:	e1a01008 	mov	r1, r8                                        
a000ade4:	e0839009 	add	r9, r3, r9                                    
a000ade8:	eb003116 	bl	a0017248 <__umodsi3>                           
a000adec:	e0604004 	rsb	r4, r0, r4                                    
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
a000adf0:	e28a3008 	add	r3, sl, #8                                    
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
a000adf4:	e1590004 	cmp	r9, r4                                        
a000adf8:	e58d3008 	str	r3, [sp, #8]                                  
a000adfc:	2a000003 	bcs	a000ae10 <_Heap_Allocate_aligned_with_boundary+0xe8>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a000ae00:	e1a00009 	mov	r0, r9                                        
a000ae04:	e1a01008 	mov	r1, r8                                        
a000ae08:	eb00310e 	bl	a0017248 <__umodsi3>                           
a000ae0c:	e0604009 	rsb	r4, r0, r9                                    
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
a000ae10:	e35b0000 	cmp	fp, #0                                        
a000ae14:	0a000025 	beq	a000aeb0 <_Heap_Allocate_aligned_with_boundary+0x188>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
a000ae18:	e0849005 	add	r9, r4, r5                                    
a000ae1c:	e1a00009 	mov	r0, r9                                        
a000ae20:	e1a0100b 	mov	r1, fp                                        
a000ae24:	eb003107 	bl	a0017248 <__umodsi3>                           
a000ae28:	e0600009 	rsb	r0, r0, r9                                    
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
a000ae2c:	e1590000 	cmp	r9, r0                                        
a000ae30:	93a03000 	movls	r3, #0                                      
a000ae34:	83a03001 	movhi	r3, #1                                      
a000ae38:	e1540000 	cmp	r4, r0                                        
a000ae3c:	23a03000 	movcs	r3, #0                                      
a000ae40:	e3530000 	cmp	r3, #0                                        
a000ae44:	0a000019 	beq	a000aeb0 <_Heap_Allocate_aligned_with_boundary+0x188>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
a000ae48:	e59d1008 	ldr	r1, [sp, #8]                                  
a000ae4c:	e0819005 	add	r9, r1, r5                                    
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
a000ae50:	e1590000 	cmp	r9, r0                                        
a000ae54:	958d6018 	strls	r6, [sp, #24]                               
a000ae58:	9a000002 	bls	a000ae68 <_Heap_Allocate_aligned_with_boundary+0x140>
a000ae5c:	eaffffcb 	b	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68>
a000ae60:	e1590000 	cmp	r9, r0                                        
a000ae64:	8a000035 	bhi	a000af40 <_Heap_Allocate_aligned_with_boundary+0x218>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
a000ae68:	e0654000 	rsb	r4, r5, r0                                    
a000ae6c:	e1a01008 	mov	r1, r8                                        
a000ae70:	e1a00004 	mov	r0, r4                                        
a000ae74:	eb0030f3 	bl	a0017248 <__umodsi3>                           
a000ae78:	e0604004 	rsb	r4, r0, r4                                    
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
a000ae7c:	e0846005 	add	r6, r4, r5                                    
a000ae80:	e1a00006 	mov	r0, r6                                        
a000ae84:	e1a0100b 	mov	r1, fp                                        
a000ae88:	eb0030ee 	bl	a0017248 <__umodsi3>                           
a000ae8c:	e0600006 	rsb	r0, r0, r6                                    
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
a000ae90:	e1560000 	cmp	r6, r0                                        
a000ae94:	93a03000 	movls	r3, #0                                      
a000ae98:	83a03001 	movhi	r3, #1                                      
a000ae9c:	e1540000 	cmp	r4, r0                                        
a000aea0:	23a03000 	movcs	r3, #0                                      
a000aea4:	e3530000 	cmp	r3, #0                                        
a000aea8:	1affffec 	bne	a000ae60 <_Heap_Allocate_aligned_with_boundary+0x138>
a000aeac:	e59d6018 	ldr	r6, [sp, #24]                                 
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
a000aeb0:	e59d2008 	ldr	r2, [sp, #8]                                  
a000aeb4:	e1520004 	cmp	r2, r4                                        
a000aeb8:	8affffb4 	bhi	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68>
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
a000aebc:	e59d100c 	ldr	r1, [sp, #12]                                 
a000aec0:	e1a00004 	mov	r0, r4                                        
a000aec4:	eb0030df 	bl	a0017248 <__umodsi3>                           
a000aec8:	e3e09007 	mvn	r9, #7                                        
a000aecc:	e06a9009 	rsb	r9, sl, r9                                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
a000aed0:	e59d1004 	ldr	r1, [sp, #4]                                  
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
a000aed4:	e0899004 	add	r9, r9, r4                                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
a000aed8:	e0603009 	rsb	r3, r0, r9                                    
a000aedc:	e1590000 	cmp	r9, r0                                        
a000aee0:	11510003 	cmpne	r1, r3                                      
a000aee4:	8affffa9 	bhi	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
a000aee8:	e3540000 	cmp	r4, #0                                        
a000aeec:	0affffa7 	beq	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68>
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000aef0:	e597204c 	ldr	r2, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000aef4:	e1a0100a 	mov	r1, sl                                        
a000aef8:	e1a03005 	mov	r3, r5                                        
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
a000aefc:	e0822006 	add	r2, r2, r6                                    
a000af00:	e587204c 	str	r2, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
a000af04:	e1a00007 	mov	r0, r7                                        
a000af08:	e1a02004 	mov	r2, r4                                        
a000af0c:	ebffec1a 	bl	a0005f7c <_Heap_Block_allocate>                
a000af10:	e1a00004 	mov	r0, r4                                        
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
a000af14:	e5973044 	ldr	r3, [r7, #68]	; 0x44                          
a000af18:	e1530006 	cmp	r3, r6                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
a000af1c:	35876044 	strcc	r6, [r7, #68]	; 0x44                        
a000af20:	ea000002 	b	a000af30 <_Heap_Allocate_aligned_with_boundary+0x208>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
a000af24:	e1550003 	cmp	r5, r3                                        
a000af28:	9a000006 	bls	a000af48 <_Heap_Allocate_aligned_with_boundary+0x220>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
a000af2c:	e3a00000 	mov	r0, #0                                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
a000af30:	e28dd01c 	add	sp, sp, #28                                   
a000af34:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
a000af38:	e3a00000 	mov	r0, #0                                        
a000af3c:	eafffff4 	b	a000af14 <_Heap_Allocate_aligned_with_boundary+0x1ec>
a000af40:	e59d6018 	ldr	r6, [sp, #24]                                 <== NOT EXECUTED
a000af44:	eaffff91 	b	a000ad90 <_Heap_Allocate_aligned_with_boundary+0x68><== NOT EXECUTED
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
a000af48:	e3580000 	cmp	r8, #0                                        
a000af4c:	01a08002 	moveq	r8, r2                                      
a000af50:	eaffff82 	b	a000ad60 <_Heap_Allocate_aligned_with_boundary+0x38>
                                                                      
a0010090 <_Heap_Extend>:                                              
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a0010090:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
a0010094:	e590c01c 	ldr	ip, [r0, #28]                                 
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a0010098:	e1a04000 	mov	r4, r0                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a001009c:	e5900018 	ldr	r0, [r0, #24]                                 
a00100a0:	e151000c 	cmp	r1, ip                                        
a00100a4:	23a05000 	movcs	r5, #0                                      
a00100a8:	33a05001 	movcc	r5, #1                                      
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
a00100ac:	e1a07003 	mov	r7, r3                                        
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a00100b0:	e1510000 	cmp	r1, r0                                        
a00100b4:	33a05000 	movcc	r5, #0                                      
a00100b8:	e3550000 	cmp	r5, #0                                        
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
a00100bc:	e5946024 	ldr	r6, [r4, #36]	; 0x24                          
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a00100c0:	1a000012 	bne	a0010110 <_Heap_Extend+0x80>                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
a00100c4:	e151000c 	cmp	r1, ip                                        
a00100c8:	0a000001 	beq	a00100d4 <_Heap_Extend+0x44>                  
a00100cc:	e3a00002 	mov	r0, #2                                        
a00100d0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
a00100d4:	e3e08007 	mvn	r8, #7                                        
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
a00100d8:	e0811002 	add	r1, r1, r2                                    
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
a00100dc:	e0668008 	rsb	r8, r6, r8                                    
a00100e0:	e0888001 	add	r8, r8, r1                                    
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
a00100e4:	e584101c 	str	r1, [r4, #28]                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
a00100e8:	e1a00008 	mov	r0, r8                                        
a00100ec:	e5941010 	ldr	r1, [r4, #16]                                 
a00100f0:	ebffcc36 	bl	a00031d0 <__umodsi3>                           
a00100f4:	e0600008 	rsb	r0, r0, r8                                    
                                                                      
  extend_size = new_heap_area_end                                     
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
a00100f8:	e5870000 	str	r0, [r7]                                      
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
a00100fc:	e5943014 	ldr	r3, [r4, #20]                                 
a0010100:	e1530000 	cmp	r3, r0                                        
a0010104:	9a000003 	bls	a0010118 <_Heap_Extend+0x88>                  
a0010108:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a001010c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
a0010110:	e3a00001 	mov	r0, #1                                        
a0010114:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
a0010118:	e5961004 	ldr	r1, [r6, #4]                                  
  if( extend_size >= heap->min_block_size ) {                         
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
a001011c:	e5942020 	ldr	r2, [r4, #32]                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0010120:	e0803006 	add	r3, r0, r6                                    
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
a0010124:	e2011001 	and	r1, r1, #1                                    
a0010128:	e0632002 	rsb	r2, r3, r2                                    
a001012c:	e1801001 	orr	r1, r0, r1                                    
a0010130:	e3822001 	orr	r2, r2, #1                                    
a0010134:	e5861004 	str	r1, [r6, #4]                                  
a0010138:	e5832004 	str	r2, [r3, #4]                                  
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a001013c:	e594802c 	ldr	r8, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a0010140:	e5941040 	ldr	r1, [r4, #64]	; 0x40                          
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010144:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a0010148:	e0880000 	add	r0, r8, r0                                    
    ++stats->used_blocks;                                             
a001014c:	e2811001 	add	r1, r1, #1                                    
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010150:	e2422001 	sub	r2, r2, #1                                    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
a0010154:	e584002c 	str	r0, [r4, #44]	; 0x2c                          
    ++stats->used_blocks;                                             
a0010158:	e5841040 	str	r1, [r4, #64]	; 0x40                          
                                                                      
    new_last_block->size_and_flag =                                   
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
a001015c:	e5843024 	str	r3, [r4, #36]	; 0x24                          
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
a0010160:	e5842050 	str	r2, [r4, #80]	; 0x50                          
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
a0010164:	e1a00004 	mov	r0, r4                                        
a0010168:	e2861008 	add	r1, r6, #8                                    
a001016c:	ebffe8bc 	bl	a000a464 <_Heap_Free>                          
a0010170:	e1a00005 	mov	r0, r5                                        
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
a0010174:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
                                                                      
a0006cfc <_Heap_Walk>:                                                
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a0006cfc:	e59f357c 	ldr	r3, [pc, #1404]	; a0007280 <_Heap_Walk+0x584> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a0006d00:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a0006d04:	e31200ff 	tst	r2, #255	; 0xff                               
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a0006d08:	e5933000 	ldr	r3, [r3]                                      
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a0006d0c:	e59f2570 	ldr	r2, [pc, #1392]	; a0007284 <_Heap_Walk+0x588> 
a0006d10:	e59fa570 	ldr	sl, [pc, #1392]	; a0007288 <_Heap_Walk+0x58c> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a0006d14:	e24dd038 	sub	sp, sp, #56	; 0x38                            
a0006d18:	e1a04000 	mov	r4, r0                                        
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
a0006d1c:	01a0a002 	moveq	sl, r2                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a0006d20:	e3530003 	cmp	r3, #3                                        
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0006d24:	e5902010 	ldr	r2, [r0, #16]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
a0006d28:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
a0006d2c:	e1a08001 	mov	r8, r1                                        
  uintptr_t const page_size = heap->page_size;                        
a0006d30:	e58d2020 	str	r2, [sp, #32]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
a0006d34:	e590b014 	ldr	fp, [r0, #20]                                 
  Heap_Block *const last_block = heap->last_block;                    
a0006d38:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
  Heap_Block *block = heap->first_block;                              
a0006d3c:	e5905020 	ldr	r5, [r0, #32]                                 
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
a0006d40:	0a000002 	beq	a0006d50 <_Heap_Walk+0x54>                    
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a0006d44:	e3a00001 	mov	r0, #1                                        
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a0006d48:	e28dd038 	add	sp, sp, #56	; 0x38                            
a0006d4c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
a0006d50:	e5900018 	ldr	r0, [r0, #24]                                 
a0006d54:	e594101c 	ldr	r1, [r4, #28]                                 
a0006d58:	e5942008 	ldr	r2, [r4, #8]                                  
a0006d5c:	e594300c 	ldr	r3, [r4, #12]                                 
a0006d60:	e59dc024 	ldr	ip, [sp, #36]	; 0x24                          
a0006d64:	e98d0003 	stmib	sp, {r0, r1}                                
a0006d68:	e58d2014 	str	r2, [sp, #20]                                 
a0006d6c:	e58d3018 	str	r3, [sp, #24]                                 
a0006d70:	e59f2514 	ldr	r2, [pc, #1300]	; a000728c <_Heap_Walk+0x590> 
a0006d74:	e58db000 	str	fp, [sp]                                      
a0006d78:	e58d500c 	str	r5, [sp, #12]                                 
a0006d7c:	e58dc010 	str	ip, [sp, #16]                                 
a0006d80:	e1a00008 	mov	r0, r8                                        
a0006d84:	e3a01000 	mov	r1, #0                                        
a0006d88:	e59d3020 	ldr	r3, [sp, #32]                                 
a0006d8c:	e12fff3a 	blx	sl                                            
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
a0006d90:	e59d2020 	ldr	r2, [sp, #32]                                 
a0006d94:	e3520000 	cmp	r2, #0                                        
a0006d98:	0a000030 	beq	a0006e60 <_Heap_Walk+0x164>                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
a0006d9c:	e59d3020 	ldr	r3, [sp, #32]                                 
a0006da0:	e2139003 	ands	r9, r3, #3                                   
a0006da4:	1a000033 	bne	a0006e78 <_Heap_Walk+0x17c>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
a0006da8:	e1a0000b 	mov	r0, fp                                        
a0006dac:	e59d1020 	ldr	r1, [sp, #32]                                 
a0006db0:	ebffe74c 	bl	a0000ae8 <__umodsi3>                           
a0006db4:	e2506000 	subs	r6, r0, #0                                   
a0006db8:	1a000034 	bne	a0006e90 <_Heap_Walk+0x194>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
a0006dbc:	e2850008 	add	r0, r5, #8                                    
a0006dc0:	e59d1020 	ldr	r1, [sp, #32]                                 
a0006dc4:	ebffe747 	bl	a0000ae8 <__umodsi3>                           
a0006dc8:	e2509000 	subs	r9, r0, #0                                   
a0006dcc:	1a000036 	bne	a0006eac <_Heap_Walk+0x1b0>                   
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a0006dd0:	e5957004 	ldr	r7, [r5, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
a0006dd4:	e2176001 	ands	r6, r7, #1                                   
a0006dd8:	0a00003a 	beq	a0006ec8 <_Heap_Walk+0x1cc>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
a0006ddc:	e5953000 	ldr	r3, [r5]                                      
a0006de0:	e59dc020 	ldr	ip, [sp, #32]                                 
a0006de4:	e15c0003 	cmp	ip, r3                                        
a0006de8:	1a000015 	bne	a0006e44 <_Heap_Walk+0x148>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
a0006dec:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a0006df0:	e5923004 	ldr	r3, [r2, #4]                                  
a0006df4:	e3c33001 	bic	r3, r3, #1                                    
a0006df8:	e0823003 	add	r3, r2, r3                                    
a0006dfc:	e5939004 	ldr	r9, [r3, #4]                                  
a0006e00:	e2199001 	ands	r9, r9, #1                                   
a0006e04:	0a000101 	beq	a0007210 <_Heap_Walk+0x514>                   
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a0006e08:	e5949008 	ldr	r9, [r4, #8]                                  
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0006e0c:	e5943010 	ldr	r3, [r4, #16]                                 
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0006e10:	e1540009 	cmp	r4, r9                                        
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
a0006e14:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0006e18:	0a000065 	beq	a0006fb4 <_Heap_Walk+0x2b8>                   
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0006e1c:	e594c020 	ldr	ip, [r4, #32]                                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a0006e20:	e15c0009 	cmp	ip, r9                                        
a0006e24:	9a00002d 	bls	a0006ee0 <_Heap_Walk+0x1e4>                   
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
a0006e28:	e1a00008 	mov	r0, r8                                        
a0006e2c:	e1a03009 	mov	r3, r9                                        
a0006e30:	e3a01001 	mov	r1, #1                                        
a0006e34:	e59f2454 	ldr	r2, [pc, #1108]	; a0007290 <_Heap_Walk+0x594> 
a0006e38:	e12fff3a 	blx	sl                                            
a0006e3c:	e3a00000 	mov	r0, #0                                        
a0006e40:	eaffffc0 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
a0006e44:	e1a00008 	mov	r0, r8                                        
a0006e48:	e58dc000 	str	ip, [sp]                                      
a0006e4c:	e3a01001 	mov	r1, #1                                        
a0006e50:	e59f243c 	ldr	r2, [pc, #1084]	; a0007294 <_Heap_Walk+0x598> 
a0006e54:	e12fff3a 	blx	sl                                            
a0006e58:	e1a00009 	mov	r0, r9                                        
a0006e5c:	eaffffb9 	b	a0006d48 <_Heap_Walk+0x4c>                      
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
a0006e60:	e1a00008 	mov	r0, r8                                        
a0006e64:	e3a01001 	mov	r1, #1                                        
a0006e68:	e59f2428 	ldr	r2, [pc, #1064]	; a0007298 <_Heap_Walk+0x59c> 
a0006e6c:	e12fff3a 	blx	sl                                            
a0006e70:	e59d0020 	ldr	r0, [sp, #32]                                 
a0006e74:	eaffffb3 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
a0006e78:	e1a00008 	mov	r0, r8                                        
a0006e7c:	e3a01001 	mov	r1, #1                                        
a0006e80:	e59f2414 	ldr	r2, [pc, #1044]	; a000729c <_Heap_Walk+0x5a0> 
a0006e84:	e12fff3a 	blx	sl                                            
a0006e88:	e3a00000 	mov	r0, #0                                        
a0006e8c:	eaffffad 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
a0006e90:	e1a00008 	mov	r0, r8                                        
a0006e94:	e1a0300b 	mov	r3, fp                                        
a0006e98:	e3a01001 	mov	r1, #1                                        
a0006e9c:	e59f23fc 	ldr	r2, [pc, #1020]	; a00072a0 <_Heap_Walk+0x5a4> 
a0006ea0:	e12fff3a 	blx	sl                                            
a0006ea4:	e1a00009 	mov	r0, r9                                        
a0006ea8:	eaffffa6 	b	a0006d48 <_Heap_Walk+0x4c>                      
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
a0006eac:	e1a00008 	mov	r0, r8                                        
a0006eb0:	e1a03005 	mov	r3, r5                                        
a0006eb4:	e3a01001 	mov	r1, #1                                        
a0006eb8:	e59f23e4 	ldr	r2, [pc, #996]	; a00072a4 <_Heap_Walk+0x5a8>  
a0006ebc:	e12fff3a 	blx	sl                                            
a0006ec0:	e1a00006 	mov	r0, r6                                        
a0006ec4:	eaffff9f 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
a0006ec8:	e1a00008 	mov	r0, r8                                        
a0006ecc:	e3a01001 	mov	r1, #1                                        
a0006ed0:	e59f23d0 	ldr	r2, [pc, #976]	; a00072a8 <_Heap_Walk+0x5ac>  
a0006ed4:	e12fff3a 	blx	sl                                            
a0006ed8:	e1a00006 	mov	r0, r6                                        
a0006edc:	eaffff99 	b	a0006d48 <_Heap_Walk+0x4c>                      
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0006ee0:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a0006ee4:	e1520009 	cmp	r2, r9                                        
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
a0006ee8:	e58d202c 	str	r2, [sp, #44]	; 0x2c                          
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a0006eec:	3affffcd 	bcc	a0006e28 <_Heap_Walk+0x12c>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a0006ef0:	e2890008 	add	r0, r9, #8                                    
a0006ef4:	e1a01003 	mov	r1, r3                                        
a0006ef8:	e58dc01c 	str	ip, [sp, #28]                                 
a0006efc:	ebffe6f9 	bl	a0000ae8 <__umodsi3>                           
a0006f00:	e3500000 	cmp	r0, #0                                        
a0006f04:	e59dc01c 	ldr	ip, [sp, #28]                                 
a0006f08:	1a0000c6 	bne	a0007228 <_Heap_Walk+0x52c>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0006f0c:	e5993004 	ldr	r3, [r9, #4]                                  
a0006f10:	e3c33001 	bic	r3, r3, #1                                    
a0006f14:	e0893003 	add	r3, r9, r3                                    
a0006f18:	e5933004 	ldr	r3, [r3, #4]                                  
a0006f1c:	e3130001 	tst	r3, #1                                        
a0006f20:	1a0000cf 	bne	a0007264 <_Heap_Walk+0x568>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a0006f24:	e599200c 	ldr	r2, [r9, #12]                                 
a0006f28:	e1540002 	cmp	r4, r2                                        
a0006f2c:	1a0000c4 	bne	a0007244 <_Heap_Walk+0x548>                   
a0006f30:	e58d7030 	str	r7, [sp, #48]	; 0x30                          
a0006f34:	e58db034 	str	fp, [sp, #52]	; 0x34                          
a0006f38:	e59d702c 	ldr	r7, [sp, #44]	; 0x2c                          
a0006f3c:	e59db028 	ldr	fp, [sp, #40]	; 0x28                          
a0006f40:	e58d502c 	str	r5, [sp, #44]	; 0x2c                          
a0006f44:	e58d6028 	str	r6, [sp, #40]	; 0x28                          
a0006f48:	e1a0600c 	mov	r6, ip                                        
a0006f4c:	ea000011 	b	a0006f98 <_Heap_Walk+0x29c>                     
a0006f50:	e1590006 	cmp	r9, r6                                        
a0006f54:	3affffb3 	bcc	a0006e28 <_Heap_Walk+0x12c>                   
a0006f58:	e1570009 	cmp	r7, r9                                        
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
a0006f5c:	e2890008 	add	r0, r9, #8                                    
a0006f60:	e1a0100b 	mov	r1, fp                                        
a0006f64:	3affffaf 	bcc	a0006e28 <_Heap_Walk+0x12c>                   
a0006f68:	ebffe6de 	bl	a0000ae8 <__umodsi3>                           
a0006f6c:	e3500000 	cmp	r0, #0                                        
a0006f70:	1a0000ac 	bne	a0007228 <_Heap_Walk+0x52c>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
a0006f74:	e5993004 	ldr	r3, [r9, #4]                                  
a0006f78:	e3c33001 	bic	r3, r3, #1                                    
a0006f7c:	e0833009 	add	r3, r3, r9                                    
a0006f80:	e5933004 	ldr	r3, [r3, #4]                                  
a0006f84:	e3130001 	tst	r3, #1                                        
a0006f88:	1a0000b5 	bne	a0007264 <_Heap_Walk+0x568>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
a0006f8c:	e599200c 	ldr	r2, [r9, #12]                                 
a0006f90:	e1520005 	cmp	r2, r5                                        
a0006f94:	1a0000aa 	bne	a0007244 <_Heap_Walk+0x548>                   
      (*printer)(                                                     
a0006f98:	e1a05009 	mov	r5, r9                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
a0006f9c:	e5999008 	ldr	r9, [r9, #8]                                  
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0006fa0:	e1540009 	cmp	r4, r9                                        
a0006fa4:	1affffe9 	bne	a0006f50 <_Heap_Walk+0x254>                   
a0006fa8:	e28d502c 	add	r5, sp, #44	; 0x2c                            
a0006fac:	e89508a0 	ldm	r5, {r5, r7, fp}                              
a0006fb0:	e59d6028 	ldr	r6, [sp, #40]	; 0x28                          
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a0006fb4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006fb8:	e1530005 	cmp	r3, r5                                        
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
a0006fbc:	158db028 	strne	fp, [sp, #40]	; 0x28                        
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a0006fc0:	0affff5f 	beq	a0006d44 <_Heap_Walk+0x48>                    
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a0006fc4:	e3c77001 	bic	r7, r7, #1                                    
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
a0006fc8:	e21610ff 	ands	r1, r6, #255	; 0xff                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0006fcc:	e0876005 	add	r6, r7, r5                                    
a0006fd0:	0a000010 	beq	a0007018 <_Heap_Walk+0x31c>                   
      (*printer)(                                                     
a0006fd4:	e1a03005 	mov	r3, r5                                        
a0006fd8:	e58d7000 	str	r7, [sp]                                      
a0006fdc:	e1a00008 	mov	r0, r8                                        
a0006fe0:	e3a01000 	mov	r1, #0                                        
a0006fe4:	e59f22c0 	ldr	r2, [pc, #704]	; a00072ac <_Heap_Walk+0x5b0>  
a0006fe8:	e12fff3a 	blx	sl                                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
a0006fec:	e5943020 	ldr	r3, [r4, #32]                                 
a0006ff0:	e1530006 	cmp	r3, r6                                        
a0006ff4:	9a000011 	bls	a0007040 <_Heap_Walk+0x344>                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
a0006ff8:	e1a00008 	mov	r0, r8                                        
a0006ffc:	e58d6000 	str	r6, [sp]                                      
a0007000:	e1a03005 	mov	r3, r5                                        
a0007004:	e3a01001 	mov	r1, #1                                        
a0007008:	e59f22a0 	ldr	r2, [pc, #672]	; a00072b0 <_Heap_Walk+0x5b4>  
a000700c:	e12fff3a 	blx	sl                                            
a0007010:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a0007014:	eaffff4b 	b	a0006d48 <_Heap_Walk+0x4c>                      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
a0007018:	e58d7000 	str	r7, [sp]                                      
a000701c:	e5953000 	ldr	r3, [r5]                                      
a0007020:	e1a00008 	mov	r0, r8                                        
a0007024:	e59f2288 	ldr	r2, [pc, #648]	; a00072b4 <_Heap_Walk+0x5b8>  
a0007028:	e58d3004 	str	r3, [sp, #4]                                  
a000702c:	e1a03005 	mov	r3, r5                                        
a0007030:	e12fff3a 	blx	sl                                            
a0007034:	e5943020 	ldr	r3, [r4, #32]                                 
a0007038:	e1530006 	cmp	r3, r6                                        
a000703c:	8affffed 	bhi	a0006ff8 <_Heap_Walk+0x2fc>                   
a0007040:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
a0007044:	e1530006 	cmp	r3, r6                                        
a0007048:	3affffea 	bcc	a0006ff8 <_Heap_Walk+0x2fc>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
a000704c:	e1a00007 	mov	r0, r7                                        
a0007050:	e59d1020 	ldr	r1, [sp, #32]                                 
a0007054:	ebffe6a3 	bl	a0000ae8 <__umodsi3>                           
a0007058:	e2509000 	subs	r9, r0, #0                                   
a000705c:	1a000051 	bne	a00071a8 <_Heap_Walk+0x4ac>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
a0007060:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0007064:	e1530007 	cmp	r3, r7                                        
a0007068:	8a000056 	bhi	a00071c8 <_Heap_Walk+0x4cc>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
a000706c:	e1550006 	cmp	r5, r6                                        
a0007070:	2a00005e 	bcs	a00071f0 <_Heap_Walk+0x4f4>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
a0007074:	e5963004 	ldr	r3, [r6, #4]                                  
a0007078:	e3130001 	tst	r3, #1                                        
a000707c:	1a000034 	bne	a0007154 <_Heap_Walk+0x458>                   
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
a0007080:	e595b004 	ldr	fp, [r5, #4]                                  
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a0007084:	e595200c 	ldr	r2, [r5, #12]                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a0007088:	e5943008 	ldr	r3, [r4, #8]                                  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
a000708c:	e3cb7001 	bic	r7, fp, #1                                    
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
a0007090:	e594100c 	ldr	r1, [r4, #12]                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a0007094:	e1530002 	cmp	r3, r2                                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
a0007098:	e0859007 	add	r9, r5, r7                                    
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
a000709c:	059f0214 	ldreq	r0, [pc, #532]	; a00072b8 <_Heap_Walk+0x5bc>
a00070a0:	0a000003 	beq	a00070b4 <_Heap_Walk+0x3b8>                   
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
a00070a4:	e59fc210 	ldr	ip, [pc, #528]	; a00072bc <_Heap_Walk+0x5c0>  
a00070a8:	e1520004 	cmp	r2, r4                                        
a00070ac:	e59f020c 	ldr	r0, [pc, #524]	; a00072c0 <_Heap_Walk+0x5c4>  
a00070b0:	11a0000c 	movne	r0, ip                                      
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00070b4:	e5953008 	ldr	r3, [r5, #8]                                  
a00070b8:	e1510003 	cmp	r1, r3                                        
a00070bc:	059f1200 	ldreq	r1, [pc, #512]	; a00072c4 <_Heap_Walk+0x5c8>
a00070c0:	0a000003 	beq	a00070d4 <_Heap_Walk+0x3d8>                   
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
a00070c4:	e59fc1f0 	ldr	ip, [pc, #496]	; a00072bc <_Heap_Walk+0x5c0>  
a00070c8:	e1530004 	cmp	r3, r4                                        
a00070cc:	e59f11f4 	ldr	r1, [pc, #500]	; a00072c8 <_Heap_Walk+0x5cc>  
a00070d0:	11a0100c 	movne	r1, ip                                      
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
a00070d4:	e58d2000 	str	r2, [sp]                                      
a00070d8:	e98d0009 	stmib	sp, {r0, r3}                                
a00070dc:	e58d100c 	str	r1, [sp, #12]                                 
a00070e0:	e1a03005 	mov	r3, r5                                        
a00070e4:	e1a00008 	mov	r0, r8                                        
a00070e8:	e3a01000 	mov	r1, #0                                        
a00070ec:	e59f21d8 	ldr	r2, [pc, #472]	; a00072cc <_Heap_Walk+0x5d0>  
a00070f0:	e12fff3a 	blx	sl                                            
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
a00070f4:	e5993000 	ldr	r3, [r9]                                      
a00070f8:	e1570003 	cmp	r7, r3                                        
a00070fc:	0a000009 	beq	a0007128 <_Heap_Walk+0x42c>                   
    (*printer)(                                                       
a0007100:	e58d3004 	str	r3, [sp, #4]                                  
a0007104:	e1a00008 	mov	r0, r8                                        
a0007108:	e58d7000 	str	r7, [sp]                                      
a000710c:	e58d9008 	str	r9, [sp, #8]                                  
a0007110:	e1a03005 	mov	r3, r5                                        
a0007114:	e3a01001 	mov	r1, #1                                        
a0007118:	e59f21b0 	ldr	r2, [pc, #432]	; a00072d0 <_Heap_Walk+0x5d4>  
a000711c:	e12fff3a 	blx	sl                                            
a0007120:	e3a00000 	mov	r0, #0                                        
a0007124:	eaffff07 	b	a0006d48 <_Heap_Walk+0x4c>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
a0007128:	e21b9001 	ands	r9, fp, #1                                   
a000712c:	0a000016 	beq	a000718c <_Heap_Walk+0x490>                   
a0007130:	e5943008 	ldr	r3, [r4, #8]                                  
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007134:	e1530004 	cmp	r3, r4                                        
a0007138:	1a000003 	bne	a000714c <_Heap_Walk+0x450>                   
a000713c:	ea00000b 	b	a0007170 <_Heap_Walk+0x474>                     <== NOT EXECUTED
    if ( free_block == block ) {                                      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
a0007140:	e5933008 	ldr	r3, [r3, #8]                                  
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007144:	e1530004 	cmp	r3, r4                                        
a0007148:	0a000008 	beq	a0007170 <_Heap_Walk+0x474>                   
    if ( free_block == block ) {                                      
a000714c:	e1530005 	cmp	r3, r5                                        
a0007150:	1afffffa 	bne	a0007140 <_Heap_Walk+0x444>                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
a0007154:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
a0007158:	e1520006 	cmp	r2, r6                                        
a000715c:	0afffef8 	beq	a0006d44 <_Heap_Walk+0x48>                    
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
a0007160:	e5967004 	ldr	r7, [r6, #4]                                  
a0007164:	e1a05006 	mov	r5, r6                                        
a0007168:	e2076001 	and	r6, r7, #1                                    
a000716c:	eaffff94 	b	a0006fc4 <_Heap_Walk+0x2c8>                     
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
a0007170:	e1a00008 	mov	r0, r8                                        
a0007174:	e1a03005 	mov	r3, r5                                        
a0007178:	e3a01001 	mov	r1, #1                                        
a000717c:	e59f2150 	ldr	r2, [pc, #336]	; a00072d4 <_Heap_Walk+0x5d8>  
a0007180:	e12fff3a 	blx	sl                                            
a0007184:	e3a00000 	mov	r0, #0                                        
a0007188:	eafffeee 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
a000718c:	e1a00008 	mov	r0, r8                                        
a0007190:	e1a03005 	mov	r3, r5                                        
a0007194:	e3a01001 	mov	r1, #1                                        
a0007198:	e59f2138 	ldr	r2, [pc, #312]	; a00072d8 <_Heap_Walk+0x5dc>  
a000719c:	e12fff3a 	blx	sl                                            
a00071a0:	e1a00009 	mov	r0, r9                                        
a00071a4:	eafffee7 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
a00071a8:	e1a00008 	mov	r0, r8                                        
a00071ac:	e58d7000 	str	r7, [sp]                                      
a00071b0:	e1a03005 	mov	r3, r5                                        
a00071b4:	e3a01001 	mov	r1, #1                                        
a00071b8:	e59f211c 	ldr	r2, [pc, #284]	; a00072dc <_Heap_Walk+0x5e0>  
a00071bc:	e12fff3a 	blx	sl                                            
a00071c0:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
a00071c4:	eafffedf 	b	a0006d48 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
      (*printer)(                                                     
a00071c8:	e58d3004 	str	r3, [sp, #4]                                  
a00071cc:	e1a00008 	mov	r0, r8                                        
a00071d0:	e1a0b003 	mov	fp, r3                                        
a00071d4:	e58d7000 	str	r7, [sp]                                      
a00071d8:	e1a03005 	mov	r3, r5                                        
a00071dc:	e3a01001 	mov	r1, #1                                        
a00071e0:	e59f20f8 	ldr	r2, [pc, #248]	; a00072e0 <_Heap_Walk+0x5e4>  
a00071e4:	e12fff3a 	blx	sl                                            
a00071e8:	e1a00009 	mov	r0, r9                                        
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
a00071ec:	eafffed5 	b	a0006d48 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
      (*printer)(                                                     
a00071f0:	e1a00008 	mov	r0, r8                                        
a00071f4:	e58d6000 	str	r6, [sp]                                      
a00071f8:	e1a03005 	mov	r3, r5                                        
a00071fc:	e3a01001 	mov	r1, #1                                        
a0007200:	e59f20dc 	ldr	r2, [pc, #220]	; a00072e4 <_Heap_Walk+0x5e8>  
a0007204:	e12fff3a 	blx	sl                                            
a0007208:	e1a00009 	mov	r0, r9                                        
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
a000720c:	eafffecd 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
a0007210:	e1a00008 	mov	r0, r8                                        
a0007214:	e3a01001 	mov	r1, #1                                        
a0007218:	e59f20c8 	ldr	r2, [pc, #200]	; a00072e8 <_Heap_Walk+0x5ec>  
a000721c:	e12fff3a 	blx	sl                                            
a0007220:	e1a00009 	mov	r0, r9                                        
a0007224:	eafffec7 	b	a0006d48 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
a0007228:	e1a00008 	mov	r0, r8                                        
a000722c:	e1a03009 	mov	r3, r9                                        
a0007230:	e3a01001 	mov	r1, #1                                        
a0007234:	e59f20b0 	ldr	r2, [pc, #176]	; a00072ec <_Heap_Walk+0x5f0>  
a0007238:	e12fff3a 	blx	sl                                            
a000723c:	e3a00000 	mov	r0, #0                                        
a0007240:	eafffec0 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
a0007244:	e58d2000 	str	r2, [sp]                                      
a0007248:	e1a00008 	mov	r0, r8                                        
a000724c:	e1a03009 	mov	r3, r9                                        
a0007250:	e3a01001 	mov	r1, #1                                        
a0007254:	e59f2094 	ldr	r2, [pc, #148]	; a00072f0 <_Heap_Walk+0x5f4>  
a0007258:	e12fff3a 	blx	sl                                            
a000725c:	e3a00000 	mov	r0, #0                                        
a0007260:	eafffeb8 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
a0007264:	e1a00008 	mov	r0, r8                                        
a0007268:	e1a03009 	mov	r3, r9                                        
a000726c:	e3a01001 	mov	r1, #1                                        
a0007270:	e59f207c 	ldr	r2, [pc, #124]	; a00072f4 <_Heap_Walk+0x5f8>  
a0007274:	e12fff3a 	blx	sl                                            
a0007278:	e3a00000 	mov	r0, #0                                        
a000727c:	eafffeb1 	b	a0006d48 <_Heap_Walk+0x4c>                      
                                                                      
a00061e4 <_Objects_Extend_information>:                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a00061e4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00061e8:	e5908034 	ldr	r8, [r0, #52]	; 0x34                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
a00061ec:	e24dd014 	sub	sp, sp, #20                                   
a00061f0:	e1a05000 	mov	r5, r0                                        
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00061f4:	e3580000 	cmp	r8, #0                                        
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. The block variable ends up set
   *  to block_count + 1 if the table needs to be extended.           
   */                                                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
a00061f8:	e1d070b8 	ldrh	r7, [r0, #8]                                 
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a00061fc:	0a00009d 	beq	a0006478 <_Objects_Extend_information+0x294>  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
a0006200:	e1d091b4 	ldrh	r9, [r0, #20]                                
a0006204:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a0006208:	e1a01009 	mov	r1, r9                                        
a000620c:	e1a0000a 	mov	r0, sl                                        
a0006210:	eb0043c8 	bl	a0017138 <__aeabi_uidiv>                       
a0006214:	e1a03800 	lsl	r3, r0, #16                                   
                                                                      
    for ( ; block < block_count; block++ ) {                          
a0006218:	e1b03823 	lsrs	r3, r3, #16                                  
a000621c:	01a01009 	moveq	r1, r9                                      
a0006220:	01a06007 	moveq	r6, r7                                      
a0006224:	01a04003 	moveq	r4, r3                                      
a0006228:	0a00000f 	beq	a000626c <_Objects_Extend_information+0x88>   
      if ( information->object_blocks[ block ] == NULL )              
a000622c:	e5984000 	ldr	r4, [r8]                                      
a0006230:	e3540000 	cmp	r4, #0                                        
a0006234:	11a01009 	movne	r1, r9                                      
a0006238:	11a06007 	movne	r6, r7                                      
a000623c:	13a04000 	movne	r4, #0                                      
a0006240:	01a01009 	moveq	r1, r9                                      
a0006244:	01a06007 	moveq	r6, r7                                      
a0006248:	1a000003 	bne	a000625c <_Objects_Extend_information+0x78>   
a000624c:	ea000006 	b	a000626c <_Objects_Extend_information+0x88>     <== NOT EXECUTED
a0006250:	e7982104 	ldr	r2, [r8, r4, lsl #2]                          
a0006254:	e3520000 	cmp	r2, #0                                        
a0006258:	0a000003 	beq	a000626c <_Objects_Extend_information+0x88>   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a000625c:	e2844001 	add	r4, r4, #1                                    
a0006260:	e1530004 	cmp	r3, r4                                        
      if ( information->object_blocks[ block ] == NULL )              
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
a0006264:	e0866009 	add	r6, r6, r9                                    
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
a0006268:	8afffff8 	bhi	a0006250 <_Objects_Extend_information+0x6c>   
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
a000626c:	e08aa001 	add	sl, sl, r1                                    
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
a0006270:	e35a0801 	cmp	sl, #65536	; 0x10000                          
a0006274:	2a000065 	bcs	a0006410 <_Objects_Extend_information+0x22c>  
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
a0006278:	e5d50012 	ldrb	r0, [r5, #18]                                
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
a000627c:	e5952018 	ldr	r2, [r5, #24]                                 
  if ( information->auto_extend ) {                                   
a0006280:	e3500000 	cmp	r0, #0                                        
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
a0006284:	e0000192 	mul	r0, r2, r1                                    
  if ( information->auto_extend ) {                                   
a0006288:	1a000062 	bne	a0006418 <_Objects_Extend_information+0x234>  
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
a000628c:	e58d3000 	str	r3, [sp]                                      
a0006290:	eb000848 	bl	a00083b8 <_Workspace_Allocate_or_fatal_error>  
a0006294:	e59d3000 	ldr	r3, [sp]                                      
a0006298:	e1a09000 	mov	r9, r0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
a000629c:	e1d521b0 	ldrh	r2, [r5, #16]                                
a00062a0:	e1560002 	cmp	r6, r2                                        
a00062a4:	3a000039 	bcc	a0006390 <_Objects_Extend_information+0x1ac>  
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
a00062a8:	e283c001 	add	ip, r3, #1                                    
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
a00062ac:	e08c008c 	add	r0, ip, ip, lsl #1                            
a00062b0:	e08a0000 	add	r0, sl, r0                                    
a00062b4:	e0800007 	add	r0, r0, r7                                    
a00062b8:	e1a00100 	lsl	r0, r0, #2                                    
a00062bc:	e88d1008 	stm	sp, {r3, ip}                                  
a00062c0:	eb000848 	bl	a00083e8 <_Workspace_Allocate>                 
                                                                      
    if ( !object_blocks ) {                                           
a00062c4:	e250b000 	subs	fp, r0, #0                                   
a00062c8:	e89d1008 	ldm	sp, {r3, ip}                                  
a00062cc:	0a00006f 	beq	a0006490 <_Objects_Extend_information+0x2ac>  
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
a00062d0:	e1d521b0 	ldrh	r2, [r5, #16]                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
a00062d4:	e08b818c 	add	r8, fp, ip, lsl #3                            
a00062d8:	e08bc10c 	add	ip, fp, ip, lsl #2                            
a00062dc:	e1570002 	cmp	r7, r2                                        
a00062e0:	3a000052 	bcc	a0006430 <_Objects_Extend_information+0x24c>  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a00062e4:	e3570000 	cmp	r7, #0                                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
a00062e8:	13a02000 	movne	r2, #0                                      
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
a00062ec:	11a01002 	movne	r1, r2                                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a00062f0:	0a000003 	beq	a0006304 <_Objects_Extend_information+0x120>  
        local_table[ index ] = NULL;                                  
a00062f4:	e7881102 	str	r1, [r8, r2, lsl #2]                          
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
a00062f8:	e2822001 	add	r2, r2, #1                                    
a00062fc:	e1570002 	cmp	r7, r2                                        
a0006300:	8afffffb 	bhi	a00062f4 <_Objects_Extend_information+0x110>  
a0006304:	e1a03103 	lsl	r3, r3, #2                                    
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a0006308:	e1d511b4 	ldrh	r1, [r5, #20]                                
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a000630c:	e3a00000 	mov	r0, #0                                        
    inactive_per_block[block_count] = 0;                              
a0006310:	e78c0003 	str	r0, [ip, r3]                                  
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
a0006314:	e0861001 	add	r1, r6, r1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006318:	e1560001 	cmp	r6, r1                                        
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
a000631c:	e78b0003 	str	r0, [fp, r3]                                  
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006320:	2a000005 	bcs	a000633c <_Objects_Extend_information+0x158>  
a0006324:	e0882106 	add	r2, r8, r6, lsl #2                            
a0006328:	e1a03006 	mov	r3, r6                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
a000632c:	e2833001 	add	r3, r3, #1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006330:	e1530001 	cmp	r3, r1                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
a0006334:	e4820004 	str	r0, [r2], #4                                  
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
a0006338:	3afffffb 	bcc	a000632c <_Objects_Extend_information+0x148>  
a000633c:	e10f3000 	mrs	r3, CPSR                                      
a0006340:	e3832080 	orr	r2, r3, #128	; 0x80                           
a0006344:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
a0006348:	e5952000 	ldr	r2, [r5]                                      
a000634c:	e1d510b4 	ldrh	r1, [r5, #4]                                 
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
a0006350:	e1a0a80a 	lsl	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
a0006354:	e1a02c02 	lsl	r2, r2, #24                                   
a0006358:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
a000635c:	e1a0a82a 	lsr	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
a0006360:	e1822d81 	orr	r2, r2, r1, lsl #27                           
a0006364:	e182200a 	orr	r2, r2, sl                                    
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
a0006368:	e5950034 	ldr	r0, [r5, #52]	; 0x34                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
a000636c:	e585c030 	str	ip, [r5, #48]	; 0x30                          
    information->local_table = local_table;                           
a0006370:	e585801c 	str	r8, [r5, #28]                                 
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
a0006374:	e585200c 	str	r2, [r5, #12]                                 
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
a0006378:	e1c5a1b0 	strh	sl, [r5, #16]                                
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
a000637c:	e585b034 	str	fp, [r5, #52]	; 0x34                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006380:	e129f003 	msr	CPSR_fc, r3                                   
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
a0006384:	e3500000 	cmp	r0, #0                                        
a0006388:	0a000000 	beq	a0006390 <_Objects_Extend_information+0x1ac>  
      _Workspace_Free( old_tables );                                  
a000638c:	eb00081b 	bl	a0008400 <_Workspace_Free>                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a0006390:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a0006394:	e28d7008 	add	r7, sp, #8                                    
a0006398:	e1a01009 	mov	r1, r9                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a000639c:	e7839104 	str	r9, [r3, r4, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
a00063a0:	e1a00007 	mov	r0, r7                                        
a00063a4:	e1d521b4 	ldrh	r2, [r5, #20]                                
a00063a8:	e5953018 	ldr	r3, [r5, #24]                                 
a00063ac:	eb0011bd 	bl	a000aaa8 <_Chain_Initialize>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
a00063b0:	e1a04104 	lsl	r4, r4, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a00063b4:	e2858020 	add	r8, r5, #32                                   
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
a00063b8:	ea000008 	b	a00063e0 <_Objects_Extend_information+0x1fc>    
                                                                      
    the_object->id = _Objects_Build_id(                               
a00063bc:	e5952000 	ldr	r2, [r5]                                      
a00063c0:	e1d5c0b4 	ldrh	ip, [r5, #4]                                 
a00063c4:	e1a02c02 	lsl	r2, r2, #24                                   
a00063c8:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
a00063cc:	e1822d8c 	orr	r2, r2, ip, lsl #27                           
a00063d0:	e1822006 	orr	r2, r2, r6                                    
a00063d4:	e5832008 	str	r2, [r3, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a00063d8:	ebfffd15 	bl	a0005834 <_Chain_Append>                       
                                                                      
    index++;                                                          
a00063dc:	e2866001 	add	r6, r6, #1                                    
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
a00063e0:	e1a00007 	mov	r0, r7                                        
a00063e4:	ebfffd1d 	bl	a0005860 <_Chain_Get>                          
a00063e8:	e2503000 	subs	r3, r0, #0                                   
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
a00063ec:	e1a01003 	mov	r1, r3                                        
a00063f0:	e1a00008 	mov	r0, r8                                        
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
a00063f4:	1afffff0 	bne	a00063bc <_Objects_Extend_information+0x1d8>  
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a00063f8:	e1d531b4 	ldrh	r3, [r5, #20]                                
  information->inactive =                                             
a00063fc:	e1d522bc 	ldrh	r2, [r5, #44]	; 0x2c                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006400:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  information->inactive =                                             
a0006404:	e0832002 	add	r2, r3, r2                                    
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
a0006408:	e7813004 	str	r3, [r1, r4]                                  
  information->inactive =                                             
a000640c:	e1c522bc 	strh	r2, [r5, #44]	; 0x2c                         
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
a0006410:	e28dd014 	add	sp, sp, #20                                   
a0006414:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
a0006418:	e58d3000 	str	r3, [sp]                                      
a000641c:	eb0007f1 	bl	a00083e8 <_Workspace_Allocate>                 
    if ( !new_object_block )                                          
a0006420:	e2509000 	subs	r9, r0, #0                                   
a0006424:	e59d3000 	ldr	r3, [sp]                                      
a0006428:	1affff9b 	bne	a000629c <_Objects_Extend_information+0xb8>   
a000642c:	eafffff7 	b	a0006410 <_Objects_Extend_information+0x22c>    
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
a0006430:	e1a03103 	lsl	r3, r3, #2                                    
a0006434:	e1a02003 	mov	r2, r3                                        
a0006438:	e5951034 	ldr	r1, [r5, #52]	; 0x34                          
a000643c:	e88d1008 	stm	sp, {r3, ip}                                  
a0006440:	eb001fc7 	bl	a000e364 <memcpy>                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
a0006444:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006448:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
a000644c:	e1a0000c 	mov	r0, ip                                        
a0006450:	e1a02003 	mov	r2, r3                                        
a0006454:	eb001fc2 	bl	a000e364 <memcpy>                              
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
a0006458:	e1d521b0 	ldrh	r2, [r5, #16]                                
a000645c:	e1a00008 	mov	r0, r8                                        
a0006460:	e595101c 	ldr	r1, [r5, #28]                                 
a0006464:	e0872002 	add	r2, r7, r2                                    
a0006468:	e1a02102 	lsl	r2, r2, #2                                    
a000646c:	eb001fbc 	bl	a000e364 <memcpy>                              
a0006470:	e89d1008 	ldm	sp, {r3, ip}                                  
a0006474:	eaffffa3 	b	a0006308 <_Objects_Extend_information+0x124>    
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
a0006478:	e1a04008 	mov	r4, r8                                        
a000647c:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
a0006480:	e1d011b4 	ldrh	r1, [r0, #20]                                
a0006484:	e1a06007 	mov	r6, r7                                        
a0006488:	e1a03008 	mov	r3, r8                                        
a000648c:	eaffff76 	b	a000626c <_Objects_Extend_information+0x88>     
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
a0006490:	e1a00009 	mov	r0, r9                                        
a0006494:	eb0007d9 	bl	a0008400 <_Workspace_Free>                     
      return;                                                         
a0006498:	eaffffdc 	b	a0006410 <_Objects_Extend_information+0x22c>    
                                                                      
a0006e80 <_Objects_Set_name>:                                         
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a0006e80:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0006e84:	e1a05000 	mov	r5, r0                                        
a0006e88:	e1a06001 	mov	r6, r1                                        
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a0006e8c:	e1a00002 	mov	r0, r2                                        
a0006e90:	e1d513ba 	ldrh	r1, [r5, #58]	; 0x3a                         
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
a0006e94:	e1a07002 	mov	r7, r2                                        
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a0006e98:	eb00242c 	bl	a000ff50 <strnlen>                             
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
a0006e9c:	e5d53038 	ldrb	r3, [r5, #56]	; 0x38                         
{                                                                     
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
a0006ea0:	e1a04000 	mov	r4, r0                                        
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
a0006ea4:	e3530000 	cmp	r3, #0                                        
a0006ea8:	1a000017 	bne	a0006f0c <_Objects_Set_name+0x8c>             
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a0006eac:	e5d72000 	ldrb	r2, [r7]                                     
a0006eb0:	e3500001 	cmp	r0, #1                                        
a0006eb4:	e1a02c02 	lsl	r2, r2, #24                                   
a0006eb8:	9a00000c 	bls	a0006ef0 <_Objects_Set_name+0x70>             
a0006ebc:	e5d73001 	ldrb	r3, [r7, #1]                                 
a0006ec0:	e3500002 	cmp	r0, #2                                        
a0006ec4:	e1822803 	orr	r2, r2, r3, lsl #16                           
a0006ec8:	0a000009 	beq	a0006ef4 <_Objects_Set_name+0x74>             
a0006ecc:	e5d73002 	ldrb	r3, [r7, #2]                                 
a0006ed0:	e3500003 	cmp	r0, #3                                        
a0006ed4:	e1822403 	orr	r2, r2, r3, lsl #8                            
a0006ed8:	15d73003 	ldrbne	r3, [r7, #3]                               
a0006edc:	0a000005 	beq	a0006ef8 <_Objects_Set_name+0x78>             
a0006ee0:	e1823003 	orr	r3, r2, r3                                    
a0006ee4:	e586300c 	str	r3, [r6, #12]                                 
a0006ee8:	e3a00001 	mov	r0, #1                                        
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a0006eec:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
a0006ef0:	e3822602 	orr	r2, r2, #2097152	; 0x200000                   
a0006ef4:	e3822a02 	orr	r2, r2, #8192	; 0x2000                        
a0006ef8:	e3a03020 	mov	r3, #32                                       
a0006efc:	e1823003 	orr	r3, r2, r3                                    
a0006f00:	e586300c 	str	r3, [r6, #12]                                 
a0006f04:	e3a00001 	mov	r0, #1                                        
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
a0006f08:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
a0006f0c:	e2800001 	add	r0, r0, #1                                    
a0006f10:	eb00070b 	bl	a0008b44 <_Workspace_Allocate>                 
    if ( !d )                                                         
a0006f14:	e2505000 	subs	r5, r0, #0                                   
a0006f18:	0a00000e 	beq	a0006f58 <_Objects_Set_name+0xd8>             
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
a0006f1c:	e596000c 	ldr	r0, [r6, #12]                                 
a0006f20:	e3500000 	cmp	r0, #0                                        
a0006f24:	0a000002 	beq	a0006f34 <_Objects_Set_name+0xb4>             
      _Workspace_Free( (void *)the_object->name.name_p );             
a0006f28:	eb00070b 	bl	a0008b5c <_Workspace_Free>                     
      the_object->name.name_p = NULL;                                 
a0006f2c:	e3a03000 	mov	r3, #0                                        
a0006f30:	e586300c 	str	r3, [r6, #12]                                 
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
a0006f34:	e1a01007 	mov	r1, r7                                        
a0006f38:	e1a00005 	mov	r0, r5                                        
a0006f3c:	e1a02004 	mov	r2, r4                                        
a0006f40:	eb0023c8 	bl	a000fe68 <strncpy>                             
    d[length] = '\0';                                                 
a0006f44:	e3a03000 	mov	r3, #0                                        
a0006f48:	e7c53004 	strb	r3, [r5, r4]                                 
    the_object->name.name_p = d;                                      
a0006f4c:	e3a00001 	mov	r0, #1                                        
a0006f50:	e586500c 	str	r5, [r6, #12]                                 
a0006f54:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
a0006f58:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0006f5c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
a0005fb0 <_POSIX_Condition_variables_Wait_support>:                   
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
a0005fb0:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0005fb4:	e1a04001 	mov	r4, r1                                        
a0005fb8:	e24dd004 	sub	sp, sp, #4                                    
a0005fbc:	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 ) ) {                      
a0005fc0:	e1a0100d 	mov	r1, sp                                        
a0005fc4:	e1a00004 	mov	r0, r4                                        
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
a0005fc8:	e1a08002 	mov	r8, r2                                        
a0005fcc:	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 ) ) {                      
a0005fd0:	eb000076 	bl	a00061b0 <_POSIX_Mutex_Get>                    
a0005fd4:	e3500000 	cmp	r0, #0                                        
a0005fd8:	0a00000a 	beq	a0006008 <_POSIX_Condition_variables_Wait_support+0x58>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
a0005fdc:	e59f30dc 	ldr	r3, [pc, #220]	; a00060c0 <_POSIX_Condition_variables_Wait_support+0x110>
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
a0005fe0:	e1a0100d 	mov	r1, sp                                        
a0005fe4:	e1a00006 	mov	r0, r6                                        
a0005fe8:	e5932000 	ldr	r2, [r3]                                      
a0005fec:	e2422001 	sub	r2, r2, #1                                    
a0005ff0:	e5832000 	str	r2, [r3]                                      
a0005ff4:	ebffff76 	bl	a0005dd4 <_POSIX_Condition_variables_Get>      
  switch ( location ) {                                               
a0005ff8:	e59d3000 	ldr	r3, [sp]                                      
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
a0005ffc:	e1a0a000 	mov	sl, r0                                        
  switch ( location ) {                                               
a0006000:	e3530000 	cmp	r3, #0                                        
a0006004:	0a000003 	beq	a0006018 <_POSIX_Condition_variables_Wait_support+0x68>
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
      if ( mutex_status )                                             
a0006008:	e3a05016 	mov	r5, #22                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
a000600c:	e1a00005 	mov	r0, r5                                        
a0006010:	e28dd004 	add	sp, sp, #4                                    
a0006014:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
a0006018:	e5903014 	ldr	r3, [r0, #20]                                 
a000601c:	e3530000 	cmp	r3, #0                                        
a0006020:	0a000005 	beq	a000603c <_POSIX_Condition_variables_Wait_support+0x8c>
a0006024:	e5942000 	ldr	r2, [r4]                                      
a0006028:	e1530002 	cmp	r3, r2                                        
a000602c:	0a000002 	beq	a000603c <_POSIX_Condition_variables_Wait_support+0x8c>
        _Thread_Enable_dispatch();                                    
a0006030:	eb000c76 	bl	a0009210 <_Thread_Enable_dispatch>             
a0006034:	e3a05016 	mov	r5, #22                                       
        return EINVAL;                                                
a0006038:	eafffff3 	b	a000600c <_POSIX_Condition_variables_Wait_support+0x5c>
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
a000603c:	e1a00004 	mov	r0, r4                                        
a0006040:	eb0000e6 	bl	a00063e0 <pthread_mutex_unlock>                
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
a0006044:	e3570000 	cmp	r7, #0                                        
a0006048:	0a000006 	beq	a0006068 <_POSIX_Condition_variables_Wait_support+0xb8>
        status = _Thread_Executing->Wait.return_code;                 
        if ( status && status != ETIMEDOUT )                          
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
a000604c:	eb000c6f 	bl	a0009210 <_Thread_Enable_dispatch>             
a0006050:	e3a05074 	mov	r5, #116	; 0x74                               
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
a0006054:	e1a00004 	mov	r0, r4                                        
a0006058:	eb0000bf 	bl	a000635c <pthread_mutex_lock>                  
      if ( mutex_status )                                             
a000605c:	e3500000 	cmp	r0, #0                                        
a0006060:	0affffe9 	beq	a000600c <_POSIX_Condition_variables_Wait_support+0x5c>
a0006064:	eaffffe7 	b	a0006008 <_POSIX_Condition_variables_Wait_support+0x58>
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006068:	e59f5054 	ldr	r5, [pc, #84]	; a00060c4 <_POSIX_Condition_variables_Wait_support+0x114>
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
a000606c:	e5941000 	ldr	r1, [r4]                                      
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
a0006070:	e28a2018 	add	r2, sl, #24                                   
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006074:	e5953000 	ldr	r3, [r5]                                      
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
a0006078:	e58a1014 	str	r1, [sl, #20]                                 
                                                                      
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;
a000607c:	e3a00001 	mov	r0, #1                                        
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
a0006080:	e5837034 	str	r7, [r3, #52]	; 0x34                          
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
a0006084:	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;  
a0006088:	e5832044 	str	r2, [r3, #68]	; 0x44                          
a000608c:	e58a0048 	str	r0, [sl, #72]	; 0x48                          
        _Thread_Executing->Wait.id          = *cond;                  
a0006090:	e5831020 	str	r1, [r3, #32]                                 
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
a0006094:	e1a00002 	mov	r0, r2                                        
a0006098:	e1a01008 	mov	r1, r8                                        
a000609c:	e59f2024 	ldr	r2, [pc, #36]	; a00060c8 <_POSIX_Condition_variables_Wait_support+0x118>
a00060a0:	eb000da1 	bl	a000972c <_Thread_queue_Enqueue_with_handler>  
                                                                      
        _Thread_Enable_dispatch();                                    
a00060a4:	eb000c59 	bl	a0009210 <_Thread_Enable_dispatch>             
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
a00060a8:	e5953000 	ldr	r3, [r5]                                      
a00060ac:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
        if ( status && status != ETIMEDOUT )                          
a00060b0:	e3550074 	cmp	r5, #116	; 0x74                               
a00060b4:	13550000 	cmpne	r5, #0                                      
a00060b8:	0affffe5 	beq	a0006054 <_POSIX_Condition_variables_Wait_support+0xa4>
a00060bc:	eaffffd2 	b	a000600c <_POSIX_Condition_variables_Wait_support+0x5c><== NOT EXECUTED
                                                                      
a000d764 <_POSIX_signals_Clear_process_signals>:                      
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000d764:	e10f2000 	mrs	r2, CPSR                                      
a000d768:	e3823080 	orr	r3, r2, #128	; 0x80                           
a000d76c:	e129f003 	msr	CPSR_fc, r3                                   
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
a000d770:	e3a0100c 	mov	r1, #12                                       
a000d774:	e0030091 	mul	r3, r1, r0                                    
a000d778:	e59f105c 	ldr	r1, [pc, #92]	; a000d7dc <_POSIX_signals_Clear_process_signals+0x78>
a000d77c:	e7911003 	ldr	r1, [r1, r3]                                  
a000d780:	e3510002 	cmp	r1, #2                                        
a000d784:	0a00000c 	beq	a000d7bc <_POSIX_signals_Clear_process_signals+0x58>
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
a000d788:	e59f3050 	ldr	r3, [pc, #80]	; a000d7e0 <_POSIX_signals_Clear_process_signals+0x7c>
a000d78c:	e3a0c001 	mov	ip, #1                                        
a000d790:	e2400001 	sub	r0, r0, #1                                    
a000d794:	e5931000 	ldr	r1, [r3]                                      
a000d798:	e1c1001c 	bic	r0, r1, ip, lsl r0                            
      if ( !_POSIX_signals_Pending )                                  
a000d79c:	e3500000 	cmp	r0, #0                                        
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
a000d7a0:	e5830000 	str	r0, [r3]                                      
      if ( !_POSIX_signals_Pending )                                  
	_Thread_Do_post_task_switch_extension--;                             
a000d7a4:	059f3038 	ldreq	r3, [pc, #56]	; a000d7e4 <_POSIX_signals_Clear_process_signals+0x80>
a000d7a8:	05931000 	ldreq	r1, [r3]                                    
a000d7ac:	02411001 	subeq	r1, r1, #1                                  
a000d7b0:	05831000 	streq	r1, [r3]                                    
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000d7b4:	e129f002 	msr	CPSR_fc, r2                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000d7b8:	e12fff1e 	bx	lr                                             
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
a000d7bc:	e59f1024 	ldr	r1, [pc, #36]	; a000d7e8 <_POSIX_signals_Clear_process_signals+0x84>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a000d7c0:	e791c003 	ldr	ip, [r1, r3]                                  
a000d7c4:	e0813003 	add	r3, r1, r3                                    
a000d7c8:	e2833004 	add	r3, r3, #4                                    
a000d7cc:	e15c0003 	cmp	ip, r3                                        
a000d7d0:	0affffec 	beq	a000d788 <_POSIX_signals_Clear_process_signals+0x24>
a000d7d4:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
      _POSIX_signals_Pending &= ~mask;                                
      if ( !_POSIX_signals_Pending )                                  
	_Thread_Do_post_task_switch_extension--;                             
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
a000d7d8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000703c <_Thread_Initialize>:                                        
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a000703c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
a0007040:	e2525000 	subs	r5, r2, #0                                   
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a0007044:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
a0007048:	e3a02000 	mov	r2, #0                                        
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a000704c:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
a0007050:	e5812104 	str	r2, [r1, #260]	; 0x104                        
a0007054:	e5812108 	str	r2, [r1, #264]	; 0x108                        
a0007058:	e581210c 	str	r2, [r1, #268]	; 0x10c                        
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
a000705c:	e5812100 	str	r2, [r1, #256]	; 0x100                        
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a0007060:	e5dd9030 	ldrb	r9, [sp, #48]	; 0x30                         
a0007064:	e1a04001 	mov	r4, r1                                        
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
a0007068:	15c120c0 	strbne	r2, [r1, #192]	; 0xc0                      
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
a000706c:	e59d802c 	ldr	r8, [sp, #44]	; 0x2c                          
a0007070:	e59d7034 	ldr	r7, [sp, #52]	; 0x34                          
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
a0007074:	11a02005 	movne	r2, r5                                      
a0007078:	11a00003 	movne	r0, r3                                      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
a000707c:	0a000043 	beq	a0007190 <_Thread_Initialize+0x154>           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a0007080:	e59f5198 	ldr	r5, [pc, #408]	; a0007220 <_Thread_Initialize+0x1e4>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0007084:	e3a0b000 	mov	fp, #0                                        
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
a0007088:	e58420c8 	str	r2, [r4, #200]	; 0xc8                         
a000708c:	e595a000 	ldr	sl, [r5]                                      
a0007090:	e584b050 	str	fp, [r4, #80]	; 0x50                          
  the_stack->size = size;                                             
a0007094:	e58400c4 	str	r0, [r4, #196]	; 0xc4                         
a0007098:	e15a000b 	cmp	sl, fp                                        
  the_watchdog->routine   = routine;                                  
a000709c:	e584b064 	str	fp, [r4, #100]	; 0x64                         
  the_watchdog->id        = id;                                       
a00070a0:	e584b068 	str	fp, [r4, #104]	; 0x68                         
  the_watchdog->user_data = user_data;                                
a00070a4:	e584b06c 	str	fp, [r4, #108]	; 0x6c                         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a00070a8:	0584a110 	streq	sl, [r4, #272]	; 0x110                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
a00070ac:	1a000045 	bne	a00071c8 <_Thread_Initialize+0x18c>           
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
a00070b0:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
                                                                      
  switch ( budget_algorithm ) {                                       
a00070b4:	e3570002 	cmp	r7, #2                                        
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
a00070b8:	e58470b0 	str	r7, [r4, #176]	; 0xb0                         
  the_thread->Start.budget_callout   = budget_callout;                
a00070bc:	e58430b4 	str	r3, [r4, #180]	; 0xb4                         
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
a00070c0:	059f315c 	ldreq	r3, [pc, #348]	; a0007224 <_Thread_Initialize+0x1e8>
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
a00070c4:	e3a07000 	mov	r7, #0                                        
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a00070c8:	e3a05001 	mov	r5, #1                                        
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
a00070cc:	05933000 	ldreq	r3, [r3]                                    
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
a00070d0:	e1a01008 	mov	r1, r8                                        
a00070d4:	e1a00004 	mov	r0, r4                                        
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
a00070d8:	05843078 	streq	r3, [r4, #120]	; 0x78                       
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a00070dc:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
a00070e0:	e5c490ac 	strb	r9, [r4, #172]	; 0xac                        
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
a00070e4:	e5845010 	str	r5, [r4, #16]                                 
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
a00070e8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
a00070ec:	e5847044 	str	r7, [r4, #68]	; 0x44                          
  the_thread->resource_count          = 0;                            
a00070f0:	e584701c 	str	r7, [r4, #28]                                 
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
a00070f4:	e5848018 	str	r8, [r4, #24]                                 
  the_thread->Start.initial_priority  = priority;                     
a00070f8:	e58480bc 	str	r8, [r4, #188]	; 0xbc                         
  _Thread_Set_priority( the_thread, priority );                       
a00070fc:	eb0001d7 	bl	a0007860 <_Thread_Set_priority>                
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
a0007100:	e5847088 	str	r7, [r4, #136]	; 0x88                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0007104:	e59d1040 	ldr	r1, [sp, #64]	; 0x40                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0007108:	e596301c 	ldr	r3, [r6, #28]                                 
a000710c:	e1d420b8 	ldrh	r2, [r4, #8]                                 
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
a0007110:	e584100c 	str	r1, [r4, #12]                                 
a0007114:	e5847084 	str	r7, [r4, #132]	; 0x84                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
a0007118:	e7834102 	str	r4, [r3, r2, lsl #2]                          
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
a000711c:	e1a00004 	mov	r0, r4                                        
a0007120:	eb00039a 	bl	a0007f90 <_User_extensions_Thread_create>      
  if ( extension_status )                                             
a0007124:	e1500007 	cmp	r0, r7                                        
a0007128:	1a000024 	bne	a00071c0 <_Thread_Initialize+0x184>           
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
a000712c:	e5940100 	ldr	r0, [r4, #256]	; 0x100                        
a0007130:	e3500000 	cmp	r0, #0                                        
a0007134:	0a000000 	beq	a000713c <_Thread_Initialize+0x100>           
    _Workspace_Free( the_thread->libc_reent );                        
a0007138:	eb0004b0 	bl	a0008400 <_Workspace_Free>                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000713c:	e5940104 	ldr	r0, [r4, #260]	; 0x104                        
a0007140:	e3500000 	cmp	r0, #0                                        
a0007144:	0a000000 	beq	a000714c <_Thread_Initialize+0x110>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a0007148:	eb0004ac 	bl	a0008400 <_Workspace_Free>                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000714c:	e5940108 	ldr	r0, [r4, #264]	; 0x108                        
a0007150:	e3500000 	cmp	r0, #0                                        
a0007154:	0a000000 	beq	a000715c <_Thread_Initialize+0x120>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a0007158:	eb0004a8 	bl	a0008400 <_Workspace_Free>                     
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
a000715c:	e594010c 	ldr	r0, [r4, #268]	; 0x10c                        
a0007160:	e3500000 	cmp	r0, #0                                        
a0007164:	0a000000 	beq	a000716c <_Thread_Initialize+0x130>           
      _Workspace_Free( the_thread->API_Extensions[i] );               
a0007168:	eb0004a4 	bl	a0008400 <_Workspace_Free>                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
a000716c:	e35a0000 	cmp	sl, #0                                        
a0007170:	0a000001 	beq	a000717c <_Thread_Initialize+0x140>           
    (void) _Workspace_Free( extensions_area );                        
a0007174:	e1a0000a 	mov	r0, sl                                        
a0007178:	eb0004a0 	bl	a0008400 <_Workspace_Free>                     
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
      (void) _Workspace_Free( fp_area );                              
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
a000717c:	e1a00004 	mov	r0, r4                                        
a0007180:	eb00026f 	bl	a0007b44 <_Thread_Stack_Free>                  
a0007184:	e3a00000 	mov	r0, #0                                        
  return false;                                                       
                                                                      
                                                                      
}                                                                     
a0007188:	e28dd004 	add	sp, sp, #4                                    
a000718c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
a0007190:	e1a00001 	mov	r0, r1                                        
a0007194:	e1a01003 	mov	r1, r3                                        
a0007198:	e58d3000 	str	r3, [sp]                                      
a000719c:	eb00024b 	bl	a0007ad0 <_Thread_Stack_Allocate>              
      if ( !actual_stack_size || actual_stack_size < stack_size )     
a00071a0:	e59d3000 	ldr	r3, [sp]                                      
a00071a4:	e2702001 	rsbs	r2, r0, #1                                   
a00071a8:	33a02000 	movcc	r2, #0                                      
a00071ac:	e1530000 	cmp	r3, r0                                        
a00071b0:	91a03002 	movls	r3, r2                                      
a00071b4:	83823001 	orrhi	r3, r2, #1                                  
a00071b8:	e3530000 	cmp	r3, #0                                        
a00071bc:	0a000013 	beq	a0007210 <_Thread_Initialize+0x1d4>           
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
a00071c0:	e1a00005 	mov	r0, r5                                        
a00071c4:	eaffffef 	b	a0007188 <_Thread_Initialize+0x14c>             
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
a00071c8:	e28aa001 	add	sl, sl, #1                                    
a00071cc:	e1a0010a 	lsl	r0, sl, #2                                    
a00071d0:	eb000484 	bl	a00083e8 <_Workspace_Allocate>                 
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
a00071d4:	e250a000 	subs	sl, r0, #0                                   
a00071d8:	0affffd3 	beq	a000712c <_Thread_Initialize+0xf0>            
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a00071dc:	e5950000 	ldr	r0, [r5]                                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
a00071e0:	e584a110 	str	sl, [r4, #272]	; 0x110                        
a00071e4:	e1a0200a 	mov	r2, sl                                        
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a00071e8:	e1a0300b 	mov	r3, fp                                        
      the_thread->extensions[i] = NULL;                               
a00071ec:	e1a0100b 	mov	r1, fp                                        
a00071f0:	ea000000 	b	a00071f8 <_Thread_Initialize+0x1bc>             
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a00071f4:	e5942110 	ldr	r2, [r4, #272]	; 0x110                        
a00071f8:	e2833001 	add	r3, r3, #1                                    
a00071fc:	e1500003 	cmp	r0, r3                                        
      the_thread->extensions[i] = NULL;                               
a0007200:	e782110b 	str	r1, [r2, fp, lsl #2]                          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
a0007204:	e1a0b003 	mov	fp, r3                                        
a0007208:	2afffff9 	bcs	a00071f4 <_Thread_Initialize+0x1b8>           
a000720c:	eaffffa7 	b	a00070b0 <_Thread_Initialize+0x74>              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
a0007210:	e3a03001 	mov	r3, #1                                        
a0007214:	e5c430c0 	strb	r3, [r4, #192]	; 0xc0                        
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
a0007218:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a000721c:	eaffff97 	b	a0007080 <_Thread_Initialize+0x44>              
                                                                      
a000754c <_Thread_queue_Enqueue_priority>:                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
a000754c:	e5913014 	ldr	r3, [r1, #20]                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
a0007550:	e92d05f0 	push	{r4, r5, r6, r7, r8, sl}                     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0007554:	e281503c 	add	r5, r1, #60	; 0x3c                            
a0007558:	e5815038 	str	r5, [r1, #56]	; 0x38                          
  the_chain->permanent_null = NULL;                                   
a000755c:	e3a05000 	mov	r5, #0                                        
  the_chain->last           = _Chain_Head(the_chain);                 
a0007560:	e281c038 	add	ip, r1, #56	; 0x38                            
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a0007564:	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 ];  
a0007568:	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;                                   
a000756c:	e581503c 	str	r5, [r1, #60]	; 0x3c                          
a0007570:	e3a0500c 	mov	r5, #12                                       
  the_chain->last           = _Chain_Head(the_chain);                 
a0007574:	e581c040 	str	ip, [r1, #64]	; 0x40                          
  block_state  = the_thread_queue->state;                             
a0007578:	e5906038 	ldr	r6, [r0, #56]	; 0x38                          
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
a000757c:	e02c0495 	mla	ip, r5, r4, r0                                
a0007580:	159fa17c 	ldrne	sl, [pc, #380]	; a0007704 <_Thread_queue_Enqueue_priority+0x1b8>
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
a0007584:	1a00001c 	bne	a00075fc <_Thread_queue_Enqueue_priority+0xb0>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0007588:	e28ca004 	add	sl, ip, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000758c:	e10f8000 	mrs	r8, CPSR                                      
a0007590:	e3884080 	orr	r4, r8, #128	; 0x80                           
a0007594:	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;                   
a0007598:	e59c4000 	ldr	r4, [ip]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a000759c:	e154000a 	cmp	r4, sl                                        
a00075a0:	1a000009 	bne	a00075cc <_Thread_queue_Enqueue_priority+0x80>
a00075a4:	ea000053 	b	a00076f8 <_Thread_queue_Enqueue_priority+0x1ac> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a00075a8:	e10f7000 	mrs	r7, CPSR                                      
a00075ac:	e129f008 	msr	CPSR_fc, r8                                   
a00075b0:	e129f007 	msr	CPSR_fc, r7                                   
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
a00075b4:	e5947010 	ldr	r7, [r4, #16]                                 
a00075b8:	e1160007 	tst	r6, r7                                        
a00075bc:	0a000034 	beq	a0007694 <_Thread_queue_Enqueue_priority+0x148>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
a00075c0:	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 ) ) {  
a00075c4:	e154000a 	cmp	r4, sl                                        
a00075c8:	0a000002 	beq	a00075d8 <_Thread_queue_Enqueue_priority+0x8c>
    search_priority = search_thread->current_priority;                
a00075cc:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority <= search_priority )                                
a00075d0:	e1530005 	cmp	r3, r5                                        
a00075d4:	8afffff3 	bhi	a00075a8 <_Thread_queue_Enqueue_priority+0x5c>
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a00075d8:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a00075dc:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
a00075e0:	e35c0001 	cmp	ip, #1                                        
a00075e4:	0a00002c 	beq	a000769c <_Thread_queue_Enqueue_priority+0x150>
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
a00075e8:	e5826000 	str	r6, [r2]                                      
  return the_thread_queue->sync_state;                                
a00075ec:	e1a0000c 	mov	r0, ip                                        
}                                                                     
a00075f0:	e8bd05f0 	pop	{r4, r5, r6, r7, r8, sl}                      
a00075f4:	e12fff1e 	bx	lr                                             
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00075f8:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
a00075fc:	e5da5000 	ldrb	r5, [sl]                                     
a0007600:	e2855001 	add	r5, r5, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0007604:	e10f8000 	mrs	r8, CPSR                                      
a0007608:	e3884080 	orr	r4, r8, #128	; 0x80                           
a000760c:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
a0007610:	e59c4008 	ldr	r4, [ip, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a0007614:	e154000c 	cmp	r4, ip                                        
a0007618:	1a000009 	bne	a0007644 <_Thread_queue_Enqueue_priority+0xf8>
a000761c:	ea00000b 	b	a0007650 <_Thread_queue_Enqueue_priority+0x104> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
a0007620:	e10f7000 	mrs	r7, CPSR                                      
a0007624:	e129f008 	msr	CPSR_fc, r8                                   
a0007628:	e129f007 	msr	CPSR_fc, r7                                   
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
a000762c:	e5947010 	ldr	r7, [r4, #16]                                 
a0007630:	e1160007 	tst	r6, r7                                        
a0007634:	0affffef 	beq	a00075f8 <_Thread_queue_Enqueue_priority+0xac>
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
a0007638:	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 ) ) {  
a000763c:	e154000c 	cmp	r4, ip                                        
a0007640:	0a000002 	beq	a0007650 <_Thread_queue_Enqueue_priority+0x104>
    search_priority = search_thread->current_priority;                
a0007644:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority >= search_priority )                                
a0007648:	e1530005 	cmp	r3, r5                                        
a000764c:	3afffff3 	bcc	a0007620 <_Thread_queue_Enqueue_priority+0xd4>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007650:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
a0007654:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
a0007658:	e35c0001 	cmp	ip, #1                                        
a000765c:	1affffe1 	bne	a00075e8 <_Thread_queue_Enqueue_priority+0x9c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a0007660:	e1530005 	cmp	r3, r5                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a0007664:	e3a03000 	mov	r3, #0                                        
a0007668:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a000766c:	0a000017 	beq	a00076d0 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
a0007670:	e5943000 	ldr	r3, [r4]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
a0007674:	e5814004 	str	r4, [r1, #4]                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a0007678:	e5810044 	str	r0, [r1, #68]	; 0x44                          
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
a000767c:	e5813000 	str	r3, [r1]                                      
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
a0007680:	e5831004 	str	r1, [r3, #4]                                  
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
a0007684:	e5841000 	str	r1, [r4]                                      
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0007688:	e129f008 	msr	CPSR_fc, r8                                   
a000768c:	e3a00001 	mov	r0, #1                                        
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a0007690:	eaffffd6 	b	a00075f0 <_Thread_queue_Enqueue_priority+0xa4>  
a0007694:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a0007698:	eaffffbb 	b	a000758c <_Thread_queue_Enqueue_priority+0x40>  <== NOT EXECUTED
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
a000769c:	e1530005 	cmp	r3, r5                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
a00076a0:	e3a03000 	mov	r3, #0                                        
a00076a4:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
a00076a8:	0a000008 	beq	a00076d0 <_Thread_queue_Enqueue_priority+0x184>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
a00076ac:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a00076b0:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a00076b4:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
a00076b8:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a00076bc:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a00076c0:	e5841004 	str	r1, [r4, #4]                                  
a00076c4:	e129f008 	msr	CPSR_fc, r8                                   
a00076c8:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a00076cc:	eaffffc7 	b	a00075f0 <_Thread_queue_Enqueue_priority+0xa4>  
a00076d0:	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;                              
a00076d4:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
a00076d8:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
a00076dc:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
a00076e0:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
a00076e4:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
a00076e8:	e5841004 	str	r1, [r4, #4]                                  
a00076ec:	e129f006 	msr	CPSR_fc, r6                                   
a00076f0:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
a00076f4:	eaffffbd 	b	a00075f0 <_Thread_queue_Enqueue_priority+0xa4>  
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
a00076f8:	e1a06008 	mov	r6, r8                                        
a00076fc:	e3e05000 	mvn	r5, #0                                        
a0007700:	eaffffb5 	b	a00075dc <_Thread_queue_Enqueue_priority+0x90>  
                                                                      
a00160f4 <_Timer_server_Body>:                                        
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
a00160f4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00160f8:	e24dd024 	sub	sp, sp, #36	; 0x24                            
a00160fc:	e1a04000 	mov	r4, r0                                        
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a0016100:	e3a03000 	mov	r3, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0016104:	e28d0018 	add	r0, sp, #24                                   
a0016108:	e28d700c 	add	r7, sp, #12                                   
a001610c:	e59f91c8 	ldr	r9, [pc, #456]	; a00162dc <_Timer_server_Body+0x1e8>
a0016110:	e59fb1c8 	ldr	fp, [pc, #456]	; a00162e0 <_Timer_server_Body+0x1ec>
a0016114:	e280a004 	add	sl, r0, #4                                    
a0016118:	e2872004 	add	r2, r7, #4                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a001611c:	e58d301c 	str	r3, [sp, #28]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
a0016120:	e58d0020 	str	r0, [sp, #32]                                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
a0016124:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a0016128:	e2840040 	add	r0, r4, #64	; 0x40                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a001612c:	e2843008 	add	r3, r4, #8                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
a0016130:	e58d2000 	str	r2, [sp]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
a0016134:	e58da018 	str	sl, [sp, #24]                                 
a0016138:	e58d200c 	str	r2, [sp, #12]                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
a001613c:	e58d7014 	str	r7, [sp, #20]                                 
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a0016140:	e2846030 	add	r6, r4, #48	; 0x30                            
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
a0016144:	e2848068 	add	r8, r4, #104	; 0x68                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a0016148:	e98d0009 	stmib	sp, {r0, r3}                                
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
a001614c:	e28d2018 	add	r2, sp, #24                                   
a0016150:	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;            
a0016154:	e5993000 	ldr	r3, [r9]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
a0016158:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a001615c:	e1a00006 	mov	r0, r6                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a0016160:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
a0016164:	e0611003 	rsb	r1, r1, r3                                    
a0016168:	e1a02007 	mov	r2, r7                                        
a001616c:	eb00112d 	bl	a001a628 <_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();
a0016170:	e59b5000 	ldr	r5, [fp]                                      
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
a0016174:	e5941074 	ldr	r1, [r4, #116]	; 0x74                         
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
a0016178:	e1550001 	cmp	r5, r1                                        
a001617c:	8a000022 	bhi	a001620c <_Timer_server_Body+0x118>           
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
a0016180:	3a000018 	bcc	a00161e8 <_Timer_server_Body+0xf4>            
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
a0016184:	e5845074 	str	r5, [r4, #116]	; 0x74                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a0016188:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a001618c:	eb00025d 	bl	a0016b08 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a0016190:	e3500000 	cmp	r0, #0                                        
a0016194:	0a00000b 	beq	a00161c8 <_Timer_server_Body+0xd4>            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
a0016198:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a001619c:	e3530001 	cmp	r3, #1                                        
a00161a0:	0a000015 	beq	a00161fc <_Timer_server_Body+0x108>           
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
a00161a4:	e3530003 	cmp	r3, #3                                        
a00161a8:	1afffff6 	bne	a0016188 <_Timer_server_Body+0x94>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
a00161ac:	e2801010 	add	r1, r0, #16                                   
a00161b0:	e1a00008 	mov	r0, r8                                        
a00161b4:	eb00114a 	bl	a001a6e4 <_Watchdog_Insert>                    
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
a00161b8:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
a00161bc:	eb000251 	bl	a0016b08 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
a00161c0:	e3500000 	cmp	r0, #0                                        
a00161c4:	1afffff3 	bne	a0016198 <_Timer_server_Body+0xa4>            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00161c8:	e10f2000 	mrs	r2, CPSR                                      
a00161cc:	e3823080 	orr	r3, r2, #128	; 0x80                           
a00161d0:	e129f003 	msr	CPSR_fc, r3                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
a00161d4:	e59d3018 	ldr	r3, [sp, #24]                                 
a00161d8:	e15a0003 	cmp	sl, r3                                        
a00161dc:	0a00000f 	beq	a0016220 <_Timer_server_Body+0x12c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00161e0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
a00161e4:	eaffffda 	b	a0016154 <_Timer_server_Body+0x60>              <== NOT EXECUTED
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
a00161e8:	e0652001 	rsb	r2, r5, r1                                    
a00161ec:	e1a00008 	mov	r0, r8                                        
a00161f0:	e3a01001 	mov	r1, #1                                        
a00161f4:	eb0010dc 	bl	a001a56c <_Watchdog_Adjust>                    
a00161f8:	eaffffe1 	b	a0016184 <_Timer_server_Body+0x90>              
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
a00161fc:	e2801010 	add	r1, r0, #16                                   
a0016200:	e1a00006 	mov	r0, r6                                        
a0016204:	eb001136 	bl	a001a6e4 <_Watchdog_Insert>                    
a0016208:	eaffffde 	b	a0016188 <_Timer_server_Body+0x94>              
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
a001620c:	e0611005 	rsb	r1, r1, r5                                    
a0016210:	e1a00008 	mov	r0, r8                                        
a0016214:	e1a02007 	mov	r2, r7                                        
a0016218:	eb001102 	bl	a001a628 <_Watchdog_Adjust_to_chain>           
a001621c:	eaffffd8 	b	a0016184 <_Timer_server_Body+0x90>              
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
a0016220:	e5840078 	str	r0, [r4, #120]	; 0x78                         
a0016224:	e129f002 	msr	CPSR_fc, r2                                   
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
a0016228:	e59d300c 	ldr	r3, [sp, #12]                                 
a001622c:	e59d0000 	ldr	r0, [sp]                                      
a0016230:	e1500003 	cmp	r0, r3                                        
a0016234:	159d5000 	ldrne	r5, [sp]                                    
a0016238:	1a00000a 	bne	a0016268 <_Timer_server_Body+0x174>           
a001623c:	ea000011 	b	a0016288 <_Timer_server_Body+0x194>             
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
a0016240:	e5923000 	ldr	r3, [r2]                                      
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
a0016244:	e3a00000 	mov	r0, #0                                        
a0016248:	e5820008 	str	r0, [r2, #8]                                  
  the_chain->first    = new_first;                                    
a001624c:	e58d300c 	str	r3, [sp, #12]                                 
  new_first->previous = _Chain_Head(the_chain);                       
a0016250:	e5837004 	str	r7, [r3, #4]                                  
a0016254:	e129f001 	msr	CPSR_fc, r1                                   
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
a0016258:	e5921024 	ldr	r1, [r2, #36]	; 0x24                          
a001625c:	e592301c 	ldr	r3, [r2, #28]                                 
a0016260:	e5920020 	ldr	r0, [r2, #32]                                 
a0016264:	e12fff33 	blx	r3                                            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0016268:	e10f1000 	mrs	r1, CPSR                                      
a001626c:	e3813080 	orr	r3, r1, #128	; 0x80                           
a0016270:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a0016274:	e59d200c 	ldr	r2, [sp, #12]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
a0016278:	e1550002 	cmp	r5, r2                                        
a001627c:	1affffef 	bne	a0016240 <_Timer_server_Body+0x14c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0016280:	e129f001 	msr	CPSR_fc, r1                                   
a0016284:	eaffffb0 	b	a001614c <_Timer_server_Body+0x58>              
a0016288:	e59f0054 	ldr	r0, [pc, #84]	; a00162e4 <_Timer_server_Body+0x1f0>
      }                                                               
    } else {                                                          
      ts->active = false;                                             
a001628c:	e3a02000 	mov	r2, #0                                        
a0016290:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
a0016294:	e5903000 	ldr	r3, [r0]                                      
a0016298:	e2833001 	add	r3, r3, #1                                    
a001629c:	e5803000 	str	r3, [r0]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
a00162a0:	e3a01008 	mov	r1, #8                                        
a00162a4:	e5940000 	ldr	r0, [r4]                                      
a00162a8:	eb000e31 	bl	a0019b74 <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
a00162ac:	e1a00004 	mov	r0, r4                                        
a00162b0:	ebffff63 	bl	a0016044 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
a00162b4:	e1a00004 	mov	r0, r4                                        
a00162b8:	ebffff77 	bl	a001609c <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
a00162bc:	eb000b6c 	bl	a0019074 <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
a00162c0:	e3a02001 	mov	r2, #1                                        
a00162c4:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
a00162c8:	e59d0008 	ldr	r0, [sp, #8]                                  
a00162cc:	eb001171 	bl	a001a898 <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
a00162d0:	e59d0004 	ldr	r0, [sp, #4]                                  
a00162d4:	eb00116f 	bl	a001a898 <_Watchdog_Remove>                    
a00162d8:	eaffff9b 	b	a001614c <_Timer_server_Body+0x58>              
                                                                      
a000a05c <_Watchdog_Adjust>:                                          
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
a000a05c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a000a060:	e1a04000 	mov	r4, r0                                        
a000a064:	e1a05002 	mov	r5, r2                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000a068:	e10f3000 	mrs	r3, CPSR                                      
a000a06c:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000a070:	e129f002 	msr	CPSR_fc, r2                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
a000a074:	e1a07000 	mov	r7, r0                                        
a000a078:	e4972004 	ldr	r2, [r7], #4                                  
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
a000a07c:	e1520007 	cmp	r2, r7                                        
a000a080:	0a000018 	beq	a000a0e8 <_Watchdog_Adjust+0x8c>              
    switch ( direction ) {                                            
a000a084:	e3510000 	cmp	r1, #0                                        
a000a088:	1a000018 	bne	a000a0f0 <_Watchdog_Adjust+0x94>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000a08c:	e3550000 	cmp	r5, #0                                        
a000a090:	0a000014 	beq	a000a0e8 <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000a094:	e5926010 	ldr	r6, [r2, #16]                                 
a000a098:	e1550006 	cmp	r5, r6                                        
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000a09c:	23a08001 	movcs	r8, #1                                      
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000a0a0:	2a000005 	bcs	a000a0bc <_Watchdog_Adjust+0x60>              
a000a0a4:	ea000018 	b	a000a10c <_Watchdog_Adjust+0xb0>                <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
a000a0a8:	e0555006 	subs	r5, r5, r6                                   
a000a0ac:	0a00000d 	beq	a000a0e8 <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
a000a0b0:	e5926010 	ldr	r6, [r2, #16]                                 
a000a0b4:	e1560005 	cmp	r6, r5                                        
a000a0b8:	8a000013 	bhi	a000a10c <_Watchdog_Adjust+0xb0>              
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
a000a0bc:	e5828010 	str	r8, [r2, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000a0c0:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
a000a0c4:	e1a00004 	mov	r0, r4                                        
a000a0c8:	eb0000aa 	bl	a000a378 <_Watchdog_Tickle>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000a0cc:	e10f3000 	mrs	r3, CPSR                                      
a000a0d0:	e3832080 	orr	r2, r3, #128	; 0x80                           
a000a0d4:	e129f002 	msr	CPSR_fc, r2                                   
a000a0d8:	e5941000 	ldr	r1, [r4]                                      
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
a000a0dc:	e1570001 	cmp	r7, r1                                        
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
a000a0e0:	e1a02001 	mov	r2, r1                                        
a000a0e4:	1affffef 	bne	a000a0a8 <_Watchdog_Adjust+0x4c>              
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000a0e8:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000a0ec:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
a000a0f0:	e3510001 	cmp	r1, #1                                        
a000a0f4:	1afffffb 	bne	a000a0e8 <_Watchdog_Adjust+0x8c>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
a000a0f8:	e5921010 	ldr	r1, [r2, #16]                                 
a000a0fc:	e0815005 	add	r5, r1, r5                                    
a000a100:	e5825010 	str	r5, [r2, #16]                                 
a000a104:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
a000a108:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
a000a10c:	e0655006 	rsb	r5, r5, r6                                    
a000a110:	e5825010 	str	r5, [r2, #16]                                 
            break;                                                    
a000a114:	eafffff3 	b	a000a0e8 <_Watchdog_Adjust+0x8c>                
                                                                      
a0018a68 <_exit>:                                                     
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
a0018a68:	e24dd004 	sub	sp, sp, #4                                    
a0018a6c:	e58d0000 	str	r0, [sp]                                      
a0018a70:	eb0001f6 	bl	a0019250 <___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();                                                      
a0018a74:	ebffffe0 	bl	a00189fc <libc_wrapup>                         
  rtems_shutdown_executive(status);                                   
a0018a78:	e59d0000 	ldr	r0, [sp]                                      
a0018a7c:	eb00003f 	bl	a0018b80 <rtems_shutdown_executive>            
a0018a80:	eafffffe 	b	a0018a80 <_exit+0x18>                           <== NOT EXECUTED
                                                                      
a0002b20 <_fcntl_r>:                                                  
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
a0002b20:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0002b24:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0002b28:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0002b2c:	eaffff83 	b	a0002940 <fcntl>                                <== NOT EXECUTED
                                                                      
a000c4fc <_getpid_r>:                                                 
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
  return getpid();                                                    
}                                                                     
a000c4fc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a000c500:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0009a90 <_gettimeofday>:                                             
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
a0009a90:	eaffffe5 	b	a0009a2c <gettimeofday>                         <== NOT EXECUTED
                                                                      
a00034c0 <_link_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
a00034c0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00034c4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00034c8:	eaffff68 	b	a0003270 <link>                                 <== NOT EXECUTED
                                                                      
a0018b64 <_realloc_r>:                                                
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
a0018b64:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a0018b68:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0018b6c:	ea00000e 	b	a0018bac <realloc>                              <== NOT EXECUTED
                                                                      
a0006008 <_rename_r>:                                                 
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a0006008:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a000600c:	e1a00001 	mov	r0, r1                                        
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
a0006010:	e24dd044 	sub	sp, sp, #68	; 0x44                            
a0006014:	e1a05001 	mov	r5, r1                                        
a0006018:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
a000601c:	ebfffaa9 	bl	a0004ac8 <rtems_filesystem_dirname>            
                                                                      
  if ( old_parent_pathlen == 0 )                                      
a0006020:	e2507000 	subs	r7, r0, #0                                   
a0006024:	1a0000e7 	bne	a00063c8 <_rename_r+0x3c0>                    
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a0006028:	e5d53000 	ldrb	r3, [r5]                                     
a000602c:	e353002f 	cmp	r3, #47	; 0x2f                                
a0006030:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0006034:	1a000061 	bne	a00061c0 <_rename_r+0x1b8>                    
a0006038:	e59f33b8 	ldr	r3, [pc, #952]	; a00063f8 <_rename_r+0x3f0>   <== NOT EXECUTED
a000603c:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
a0006040:	e1a0a004 	mov	sl, r4                                        <== NOT EXECUTED
a0006044:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
a0006048:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
a000604c:	e28cc018 	add	ip, ip, #24                                   <== NOT EXECUTED
a0006050:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
a0006054:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       <== NOT EXECUTED
a0006058:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
a000605c:	e58a2000 	str	r2, [sl]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a0006060:	e28dc02c 	add	ip, sp, #44	; 0x2c                            
a0006064:	e1a0e004 	mov	lr, r4                                        
a0006068:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000606c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006070:	e59e3000 	ldr	r3, [lr]                                      
  name = old + old_parent_pathlen;                                    
a0006074:	e0855007 	add	r5, r5, r7                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0006078:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
a000607c:	e58c3000 	str	r3, [ip]                                      
  name = old + old_parent_pathlen;                                    
a0006080:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0006084:	eb00409d 	bl	a0016300 <strlen>                              
a0006088:	e1a01000 	mov	r1, r0                                        
a000608c:	e1a00005 	mov	r0, r5                                        
a0006090:	ebfffa78 	bl	a0004a78 <rtems_filesystem_prefix_separators>  
a0006094:	e0855000 	add	r5, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0006098:	e1a00005 	mov	r0, r5                                        
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000609c:	e58d5040 	str	r5, [sp, #64]	; 0x40                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a00060a0:	eb004096 	bl	a0016300 <strlen>                              
a00060a4:	e28d702c 	add	r7, sp, #44	; 0x2c                            
a00060a8:	e3a0c000 	mov	ip, #0                                        
a00060ac:	e1a01000 	mov	r1, r0                                        
a00060b0:	e1a0200c 	mov	r2, ip                                        
a00060b4:	e1a00005 	mov	r0, r5                                        
a00060b8:	e1a03007 	mov	r3, r7                                        
a00060bc:	e58dc000 	str	ip, [sp]                                      
a00060c0:	ebfffa99 	bl	a0004b2c <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
a00060c4:	e3500000 	cmp	r0, #0                                        
a00060c8:	1a000078 	bne	a00062b0 <_rename_r+0x2a8>                    
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a00060cc:	e5d63000 	ldrb	r3, [r6]                                     
a00060d0:	e353002f 	cmp	r3, #47	; 0x2f                                
a00060d4:	1353005c 	cmpne	r3, #92	; 0x5c                              
a00060d8:	13a0e000 	movne	lr, #0                                      
a00060dc:	03a0e001 	moveq	lr, #1                                      
a00060e0:	1a000043 	bne	a00061f4 <_rename_r+0x1ec>                    
a00060e4:	e59f330c 	ldr	r3, [pc, #780]	; a00063f8 <_rename_r+0x3f0>   
a00060e8:	e28d5004 	add	r5, sp, #4                                    
a00060ec:	e3a0e001 	mov	lr, #1                                        
a00060f0:	e593c000 	ldr	ip, [r3]                                      
a00060f4:	e28cc018 	add	ip, ip, #24                                   
a00060f8:	e1a0a005 	mov	sl, r5                                        
a00060fc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0006100:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
a0006104:	e59d3010 	ldr	r3, [sp, #16]                                 
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a0006108:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
a000610c:	e5933004 	ldr	r3, [r3, #4]                                  
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a0006110:	e58a2000 	str	r2, [sl]                                      
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
a0006114:	e3530000 	cmp	r3, #0                                        
a0006118:	0a000093 	beq	a000636c <_rename_r+0x364>                    
      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 );
a000611c:	e086000e 	add	r0, r6, lr                                    
a0006120:	e1a01005 	mov	r1, r5                                        
a0006124:	e28d2040 	add	r2, sp, #64	; 0x40                            
a0006128:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a000612c:	e3500000 	cmp	r0, #0                                        
a0006130:	1a00006c 	bne	a00062e8 <_rename_r+0x2e0>                    
  /*                                                                  
   *  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 ) {         
a0006134:	e59d3014 	ldr	r3, [sp, #20]                                 
a0006138:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a000613c:	e1520003 	cmp	r2, r3                                        
a0006140:	1a00003b 	bne	a0006234 <_rename_r+0x22c>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
a0006144:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006148:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          
a000614c:	e35c0000 	cmp	ip, #0                                        
a0006150:	0a000080 	beq	a0006358 <_rename_r+0x350>                    
      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 );
a0006154:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          
a0006158:	e1a00004 	mov	r0, r4                                        
a000615c:	e1a01007 	mov	r1, r7                                        
a0006160:	e1a02005 	mov	r2, r5                                        
a0006164:	e12fff3c 	blx	ip                                            
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0006168:	e59d3010 	ldr	r3, [sp, #16]                                 
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
a000616c:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
a0006170:	e3530000 	cmp	r3, #0                                        
a0006174:	0a000004 	beq	a000618c <_rename_r+0x184>                    
a0006178:	e593301c 	ldr	r3, [r3, #28]                                 
a000617c:	e3530000 	cmp	r3, #0                                        
a0006180:	0a000001 	beq	a000618c <_rename_r+0x184>                    
a0006184:	e1a00005 	mov	r0, r5                                        
a0006188:	e12fff33 	blx	r3                                            
  if ( free_old_parentloc )                                           
a000618c:	e3580000 	cmp	r8, #0                                        
a0006190:	1a00001e 	bne	a0006210 <_rename_r+0x208>                    
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
a0006194:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006198:	e3530000 	cmp	r3, #0                                        
a000619c:	0a000004 	beq	a00061b4 <_rename_r+0x1ac>                    
a00061a0:	e593301c 	ldr	r3, [r3, #28]                                 
a00061a4:	e3530000 	cmp	r3, #0                                        
a00061a8:	0a000001 	beq	a00061b4 <_rename_r+0x1ac>                    
a00061ac:	e1a00007 	mov	r0, r7                                        
a00061b0:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00061b4:	e1a00006 	mov	r0, r6                                        
a00061b8:	e28dd044 	add	sp, sp, #68	; 0x44                            
a00061bc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
a00061c0:	e3530000 	cmp	r3, #0                                        
a00061c4:	0affff9b 	beq	a0006038 <_rename_r+0x30>                     
a00061c8:	e59f3228 	ldr	r3, [pc, #552]	; a00063f8 <_rename_r+0x3f0>   
a00061cc:	e28d4018 	add	r4, sp, #24                                   
a00061d0:	e1a0e004 	mov	lr, r4                                        
a00061d4:	e593c000 	ldr	ip, [r3]                                      
a00061d8:	e1a08007 	mov	r8, r7                                        
a00061dc:	e28cc004 	add	ip, ip, #4                                    
a00061e0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00061e4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a00061e8:	e59c2000 	ldr	r2, [ip]                                      
a00061ec:	e58e2000 	str	r2, [lr]                                      
a00061f0:	eaffff9a 	b	a0006060 <_rename_r+0x58>                       
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
a00061f4:	e3530000 	cmp	r3, #0                                        
a00061f8:	0affffb9 	beq	a00060e4 <_rename_r+0xdc>                     
a00061fc:	e59f31f4 	ldr	r3, [pc, #500]	; a00063f8 <_rename_r+0x3f0>   
a0006200:	e28d5004 	add	r5, sp, #4                                    
a0006204:	e593c000 	ldr	ip, [r3]                                      
a0006208:	e28cc004 	add	ip, ip, #4                                    
a000620c:	eaffffb9 	b	a00060f8 <_rename_r+0xf0>                       
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
a0006210:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006214:	e3530000 	cmp	r3, #0                                        
a0006218:	0affffdd 	beq	a0006194 <_rename_r+0x18c>                    
a000621c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006220:	e3530000 	cmp	r3, #0                                        
a0006224:	0affffda 	beq	a0006194 <_rename_r+0x18c>                    
a0006228:	e1a00004 	mov	r0, r4                                        
a000622c:	e12fff33 	blx	r3                                            
a0006230:	eaffffd7 	b	a0006194 <_rename_r+0x18c>                      
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
a0006234:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006238:	e3530000 	cmp	r3, #0                                        
a000623c:	0a000004 	beq	a0006254 <_rename_r+0x24c>                    
a0006240:	e593301c 	ldr	r3, [r3, #28]                                 
a0006244:	e3530000 	cmp	r3, #0                                        
a0006248:	0a000001 	beq	a0006254 <_rename_r+0x24c>                    
a000624c:	e1a00005 	mov	r0, r5                                        
a0006250:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a0006254:	e3580000 	cmp	r8, #0                                        
a0006258:	0a000007 	beq	a000627c <_rename_r+0x274>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a000625c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006260:	e3530000 	cmp	r3, #0                                        
a0006264:	0a000004 	beq	a000627c <_rename_r+0x274>                    
a0006268:	e593301c 	ldr	r3, [r3, #28]                                 
a000626c:	e3530000 	cmp	r3, #0                                        
a0006270:	0a000001 	beq	a000627c <_rename_r+0x274>                    
a0006274:	e1a00004 	mov	r0, r4                                        
a0006278:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a000627c:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006280:	e3530000 	cmp	r3, #0                                        
a0006284:	0a000004 	beq	a000629c <_rename_r+0x294>                    
a0006288:	e593301c 	ldr	r3, [r3, #28]                                 
a000628c:	e3530000 	cmp	r3, #0                                        
a0006290:	0a000001 	beq	a000629c <_rename_r+0x294>                    
a0006294:	e1a00007 	mov	r0, r7                                        
a0006298:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a000629c:	eb003308 	bl	a0012ec4 <__errno>                             
a00062a0:	e3a03012 	mov	r3, #18                                       
a00062a4:	e5803000 	str	r3, [r0]                                      
a00062a8:	e3e06000 	mvn	r6, #0                                        
a00062ac:	eaffffc0 	b	a00061b4 <_rename_r+0x1ac>                      
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
a00062b0:	e3580000 	cmp	r8, #0                                        
a00062b4:	1a000001 	bne	a00062c0 <_rename_r+0x2b8>                    
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
a00062b8:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a00062bc:	eaffffbc 	b	a00061b4 <_rename_r+0x1ac>                      <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
a00062c0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00062c4:	e3530000 	cmp	r3, #0                                        
a00062c8:	0afffffa 	beq	a00062b8 <_rename_r+0x2b0>                    
a00062cc:	e593301c 	ldr	r3, [r3, #28]                                 
a00062d0:	e3530000 	cmp	r3, #0                                        
a00062d4:	0afffff7 	beq	a00062b8 <_rename_r+0x2b0>                    
a00062d8:	e1a00004 	mov	r0, r4                                        
a00062dc:	e12fff33 	blx	r3                                            
a00062e0:	e3e06000 	mvn	r6, #0                                        
a00062e4:	eaffffb2 	b	a00061b4 <_rename_r+0x1ac>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
a00062e8:	e59d3010 	ldr	r3, [sp, #16]                                 
a00062ec:	e3530000 	cmp	r3, #0                                        
a00062f0:	0a000004 	beq	a0006308 <_rename_r+0x300>                    
a00062f4:	e593301c 	ldr	r3, [r3, #28]                                 
a00062f8:	e3530000 	cmp	r3, #0                                        
a00062fc:	0a000001 	beq	a0006308 <_rename_r+0x300>                    
a0006300:	e1a00005 	mov	r0, r5                                        
a0006304:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a0006308:	e3580000 	cmp	r8, #0                                        
a000630c:	0a000007 	beq	a0006330 <_rename_r+0x328>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a0006310:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006314:	e3530000 	cmp	r3, #0                                        
a0006318:	0a000004 	beq	a0006330 <_rename_r+0x328>                    
a000631c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006320:	e3530000 	cmp	r3, #0                                        
a0006324:	0a000001 	beq	a0006330 <_rename_r+0x328>                    
a0006328:	e1a00004 	mov	r0, r4                                        
a000632c:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a0006330:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006334:	e3530000 	cmp	r3, #0                                        
a0006338:	0affffde 	beq	a00062b8 <_rename_r+0x2b0>                    
a000633c:	e593301c 	ldr	r3, [r3, #28]                                 
a0006340:	e3530000 	cmp	r3, #0                                        
a0006344:	0affffdb 	beq	a00062b8 <_rename_r+0x2b0>                    
a0006348:	e1a00007 	mov	r0, r7                                        
a000634c:	e12fff33 	blx	r3                                            
a0006350:	e3e06000 	mvn	r6, #0                                        
a0006354:	eaffff96 	b	a00061b4 <_rename_r+0x1ac>                      
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
    rtems_filesystem_freenode( &new_parent_loc );                     
a0006358:	e593301c 	ldr	r3, [r3, #28]                                 
a000635c:	e3530000 	cmp	r3, #0                                        
a0006360:	0a000001 	beq	a000636c <_rename_r+0x364>                    
a0006364:	e1a00005 	mov	r0, r5                                        
a0006368:	e12fff33 	blx	r3                                            
    if ( free_old_parentloc )                                         
a000636c:	e3580000 	cmp	r8, #0                                        
a0006370:	0a000007 	beq	a0006394 <_rename_r+0x38c>                    
      rtems_filesystem_freenode( &old_parent_loc );                   
a0006374:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006378:	e3530000 	cmp	r3, #0                                        
a000637c:	0a000004 	beq	a0006394 <_rename_r+0x38c>                    
a0006380:	e593301c 	ldr	r3, [r3, #28]                                 
a0006384:	e3530000 	cmp	r3, #0                                        
a0006388:	0a000001 	beq	a0006394 <_rename_r+0x38c>                    
a000638c:	e1a00004 	mov	r0, r4                                        
a0006390:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &old_loc );                            
a0006394:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          
a0006398:	e3530000 	cmp	r3, #0                                        
a000639c:	0a000004 	beq	a00063b4 <_rename_r+0x3ac>                    
a00063a0:	e593301c 	ldr	r3, [r3, #28]                                 
a00063a4:	e3530000 	cmp	r3, #0                                        
a00063a8:	0a000001 	beq	a00063b4 <_rename_r+0x3ac>                    
a00063ac:	e1a00007 	mov	r0, r7                                        
a00063b0:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00063b4:	eb0032c2 	bl	a0012ec4 <__errno>                             
a00063b8:	e3a03086 	mov	r3, #134	; 0x86                               
a00063bc:	e5803000 	str	r3, [r0]                                      
a00063c0:	e3e06000 	mvn	r6, #0                                        
a00063c4:	eaffff7a 	b	a00061b4 <_rename_r+0x1ac>                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
a00063c8:	e28d4018 	add	r4, sp, #24                                   
a00063cc:	e3a0c000 	mov	ip, #0                                        
a00063d0:	e1a00005 	mov	r0, r5                                        
a00063d4:	e1a01007 	mov	r1, r7                                        
a00063d8:	e3a02002 	mov	r2, #2                                        
a00063dc:	e1a03004 	mov	r3, r4                                        
a00063e0:	e58dc000 	str	ip, [sp]                                      
a00063e4:	ebfffa0a 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
a00063e8:	e3500000 	cmp	r0, #0                                        
a00063ec:	1affffb1 	bne	a00062b8 <_rename_r+0x2b0>                    
a00063f0:	e3a08001 	mov	r8, #1                                        
a00063f4:	eaffff19 	b	a0006060 <_rename_r+0x58>                       
                                                                      
a00041c0 <_stat_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
a00041c0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a00041c4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00041c8:	eaffffc2 	b	a00040d8 <stat>                                 <== NOT EXECUTED
                                                                      
a000d47c <_unlink_r>:                                                 
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
a000d47c:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
a000d480:	eaffff5d 	b	a000d1fc <unlink>                               <== NOT EXECUTED
                                                                      
a000b254 <chdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a000b254:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a000b258:	e2505000 	subs	r5, r0, #0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a000b25c:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
a000b260:	0a00002f 	beq	a000b324 <chdir+0xd0>                         
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
a000b264:	eb00150a 	bl	a0010694 <strlen>                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
a000b268:	e28d4004 	add	r4, sp, #4                                    
a000b26c:	e3a0c001 	mov	ip, #1                                        
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
a000b270:	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(                            
a000b274:	e1a0200c 	mov	r2, ip                                        
a000b278:	e1a00005 	mov	r0, r5                                        
a000b27c:	e1a03004 	mov	r3, r4                                        
a000b280:	e58dc000 	str	ip, [sp]                                      
a000b284:	ebffdb5a 	bl	a0001ff4 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
a000b288:	e3500000 	cmp	r0, #0                                        
a000b28c:	1a000022 	bne	a000b31c <chdir+0xc8>                         
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
a000b290:	e59d2010 	ldr	r2, [sp, #16]                                 
a000b294:	e5923010 	ldr	r3, [r2, #16]                                 
a000b298:	e3530000 	cmp	r3, #0                                        
a000b29c:	0a000016 	beq	a000b2fc <chdir+0xa8>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a000b2a0:	e1a00004 	mov	r0, r4                                        
a000b2a4:	e12fff33 	blx	r3                                            
a000b2a8:	e3500001 	cmp	r0, #1                                        
a000b2ac:	1a000021 	bne	a000b338 <chdir+0xe4>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
a000b2b0:	e59f50b4 	ldr	r5, [pc, #180]	; a000b36c <chdir+0x118>       
a000b2b4:	e595c000 	ldr	ip, [r5]                                      
a000b2b8:	e59c3010 	ldr	r3, [ip, #16]                                 
a000b2bc:	e3530000 	cmp	r3, #0                                        
a000b2c0:	0a000005 	beq	a000b2dc <chdir+0x88>                         
a000b2c4:	e593301c 	ldr	r3, [r3, #28]                                 
a000b2c8:	e3530000 	cmp	r3, #0                                        
a000b2cc:	0a000002 	beq	a000b2dc <chdir+0x88>                         
a000b2d0:	e28c0004 	add	r0, ip, #4                                    
a000b2d4:	e12fff33 	blx	r3                                            
a000b2d8:	e595c000 	ldr	ip, [r5]                                      
                                                                      
  rtems_filesystem_current = loc;                                     
a000b2dc:	e28cc004 	add	ip, ip, #4                                    
a000b2e0:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a000b2e4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000b2e8:	e5943000 	ldr	r3, [r4]                                      
a000b2ec:	e3a00000 	mov	r0, #0                                        
a000b2f0:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a000b2f4:	e28dd018 	add	sp, sp, #24                                   
a000b2f8:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
a000b2fc:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a000b300:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b304:	0a000001 	beq	a000b310 <chdir+0xbc>                         <== NOT EXECUTED
a000b308:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000b30c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000b310:	eb001106 	bl	a000f730 <__errno>                             <== NOT EXECUTED
a000b314:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000b318:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000b31c:	e3e00000 	mvn	r0, #0                                        
a000b320:	eafffff3 	b	a000b2f4 <chdir+0xa0>                           
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a000b324:	eb001101 	bl	a000f730 <__errno>                             
a000b328:	e3a0300e 	mov	r3, #14                                       
a000b32c:	e5803000 	str	r3, [r0]                                      
a000b330:	e3e00000 	mvn	r0, #0                                        
a000b334:	eaffffee 	b	a000b2f4 <chdir+0xa0>                           
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
a000b338:	e59d3010 	ldr	r3, [sp, #16]                                 
a000b33c:	e3530000 	cmp	r3, #0                                        
a000b340:	0a000004 	beq	a000b358 <chdir+0x104>                        
a000b344:	e593301c 	ldr	r3, [r3, #28]                                 
a000b348:	e3530000 	cmp	r3, #0                                        
a000b34c:	0a000001 	beq	a000b358 <chdir+0x104>                        
a000b350:	e1a00004 	mov	r0, r4                                        
a000b354:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a000b358:	eb0010f4 	bl	a000f730 <__errno>                             
a000b35c:	e3a03014 	mov	r3, #20                                       
a000b360:	e5803000 	str	r3, [r0]                                      
a000b364:	e3e00000 	mvn	r0, #0                                        
a000b368:	eaffffe1 	b	a000b2f4 <chdir+0xa0>                           
                                                                      
a0003ca0 <chmod>:                                                     
                                                                      
int chmod(                                                            
  const char *path,                                                   
  mode_t      mode                                                    
)                                                                     
{                                                                     
a0003ca0:	e92d4070 	push	{r4, r5, r6, lr}                             
a0003ca4:	e24dd018 	sub	sp, sp, #24                                   
a0003ca8:	e1a05001 	mov	r5, r1                                        
a0003cac:	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 );
a0003cb0:	eb0040c8 	bl	a0013fd8 <strlen>                              
a0003cb4:	e28d4004 	add	r4, sp, #4                                    
a0003cb8:	e1a01000 	mov	r1, r0                                        
a0003cbc:	e3a0c001 	mov	ip, #1                                        
a0003cc0:	e1a00006 	mov	r0, r6                                        
a0003cc4:	e3a02000 	mov	r2, #0                                        
a0003cc8:	e1a03004 	mov	r3, r4                                        
a0003ccc:	e58dc000 	str	ip, [sp]                                      
a0003cd0:	eb0000c7 	bl	a0003ff4 <rtems_filesystem_evaluate_path>      
  if ( status != 0 )                                                  
a0003cd4:	e3500000 	cmp	r0, #0                                        
a0003cd8:	1a00001f 	bne	a0003d5c <chmod+0xbc>                         
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
a0003cdc:	e59d300c 	ldr	r3, [sp, #12]                                 
a0003ce0:	e3530000 	cmp	r3, #0                                        
a0003ce4:	0a000011 	beq	a0003d30 <chmod+0x90>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EBADF );                    
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
a0003ce8:	e593301c 	ldr	r3, [r3, #28]                                 
a0003cec:	e3530000 	cmp	r3, #0                                        
a0003cf0:	0a00001b 	beq	a0003d64 <chmod+0xc4>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
a0003cf4:	e1a01005 	mov	r1, r5                                        
a0003cf8:	e1a00004 	mov	r0, r4                                        
a0003cfc:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003d00:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
a0003d04:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003d08:	e3530000 	cmp	r3, #0                                        
a0003d0c:	0a000004 	beq	a0003d24 <chmod+0x84>                         
a0003d10:	e593301c 	ldr	r3, [r3, #28]                                 
a0003d14:	e3530000 	cmp	r3, #0                                        
a0003d18:	0a000001 	beq	a0003d24 <chmod+0x84>                         
a0003d1c:	e1a00004 	mov	r0, r4                                        
a0003d20:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0003d24:	e1a00005 	mov	r0, r5                                        
a0003d28:	e28dd018 	add	sp, sp, #24                                   
a0003d2c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
    rtems_filesystem_freenode( &loc );                                
a0003d30:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0003d34:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d38:	0a000004 	beq	a0003d50 <chmod+0xb0>                         <== NOT EXECUTED
a0003d3c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003d40:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d44:	0a000001 	beq	a0003d50 <chmod+0xb0>                         <== NOT EXECUTED
a0003d48:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003d4c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0003d50:	eb003961 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0003d54:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0003d58:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003d5c:	e3e05000 	mvn	r5, #0                                        
a0003d60:	eaffffef 	b	a0003d24 <chmod+0x84>                           
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
a0003d64:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0003d68:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d6c:	0a000004 	beq	a0003d84 <chmod+0xe4>                         <== NOT EXECUTED
a0003d70:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003d74:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003d78:	0a000001 	beq	a0003d84 <chmod+0xe4>                         <== NOT EXECUTED
a0003d7c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003d80:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003d84:	eb003954 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0003d88:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003d8c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003d90:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0003d94:	eaffffe2 	b	a0003d24 <chmod+0x84>                           <== NOT EXECUTED
                                                                      
a0003d98 <chown>:                                                     
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
a0003d98:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0003d9c:	e1a01801 	lsl	r1, r1, #16                                   
a0003da0:	e1a02802 	lsl	r2, r2, #16                                   
a0003da4:	e24dd018 	sub	sp, sp, #24                                   
a0003da8:	e1a06821 	lsr	r6, r1, #16                                   
a0003dac:	e1a05822 	lsr	r5, r2, #16                                   
a0003db0:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
a0003db4:	eb004087 	bl	a0013fd8 <strlen>                              
a0003db8:	e28d4004 	add	r4, sp, #4                                    
a0003dbc:	e1a01000 	mov	r1, r0                                        
a0003dc0:	e3a0c001 	mov	ip, #1                                        
a0003dc4:	e1a00007 	mov	r0, r7                                        
a0003dc8:	e3a02000 	mov	r2, #0                                        
a0003dcc:	e1a03004 	mov	r3, r4                                        
a0003dd0:	e58dc000 	str	ip, [sp]                                      
a0003dd4:	eb000086 	bl	a0003ff4 <rtems_filesystem_evaluate_path>      
a0003dd8:	e3500000 	cmp	r0, #0                                        
a0003ddc:	1a00001b 	bne	a0003e50 <chown+0xb8>                         
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
a0003de0:	e59d2010 	ldr	r2, [sp, #16]                                 
a0003de4:	e5923018 	ldr	r3, [r2, #24]                                 
a0003de8:	e3530000 	cmp	r3, #0                                        
a0003dec:	0a00000f 	beq	a0003e30 <chown+0x98>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
a0003df0:	e1a02005 	mov	r2, r5                                        
a0003df4:	e1a01006 	mov	r1, r6                                        
a0003df8:	e1a00004 	mov	r0, r4                                        
a0003dfc:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003e00:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
a0003e04:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0003e08:	e3530000 	cmp	r3, #0                                        
a0003e0c:	0a000004 	beq	a0003e24 <chown+0x8c>                         
a0003e10:	e593301c 	ldr	r3, [r3, #28]                                 
a0003e14:	e3530000 	cmp	r3, #0                                        
a0003e18:	0a000001 	beq	a0003e24 <chown+0x8c>                         
a0003e1c:	e1a00004 	mov	r0, r4                                        
a0003e20:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0003e24:	e1a00005 	mov	r0, r5                                        
a0003e28:	e28dd018 	add	sp, sp, #24                                   
a0003e2c:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
a0003e30:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0003e34:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003e38:	0a000001 	beq	a0003e44 <chown+0xac>                         <== NOT EXECUTED
a0003e3c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003e40:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003e44:	eb003924 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0003e48:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003e4c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003e50:	e3e05000 	mvn	r5, #0                                        
a0003e54:	eafffff2 	b	a0003e24 <chown+0x8c>                           
                                                                      
a0001ccc <chroot>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001ccc:	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) {             
a0001cd0:	e59f50d4 	ldr	r5, [pc, #212]	; a0001dac <chroot+0xe0>       
a0001cd4:	e59f30d4 	ldr	r3, [pc, #212]	; a0001db0 <chroot+0xe4>       
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001cd8:	e24dd018 	sub	sp, sp, #24                                   
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
a0001cdc:	e5954000 	ldr	r4, [r5]                                      
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
a0001ce0:	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) {             
a0001ce4:	e1540003 	cmp	r4, r3                                        
a0001ce8:	0a00001f 	beq	a0001d6c <chroot+0xa0>                        
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
a0001cec:	e1a00006 	mov	r0, r6                                        
a0001cf0:	eb002557 	bl	a000b254 <chdir>                               
  if (result) {                                                       
a0001cf4:	e250c000 	subs	ip, r0, #0                                   
a0001cf8:	1a000024 	bne	a0001d90 <chroot+0xc4>                        
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
a0001cfc:	e28d4004 	add	r4, sp, #4                                    
a0001d00:	e1a0200c 	mov	r2, ip                                        
a0001d04:	e59f00a8 	ldr	r0, [pc, #168]	; a0001db4 <chroot+0xe8>       
a0001d08:	e3a01001 	mov	r1, #1                                        
a0001d0c:	e1a03004 	mov	r3, r4                                        
a0001d10:	e58dc000 	str	ip, [sp]                                      
a0001d14:	eb0000b6 	bl	a0001ff4 <rtems_filesystem_evaluate_path>      
a0001d18:	e3500000 	cmp	r0, #0                                        
a0001d1c:	1a00001b 	bne	a0001d90 <chroot+0xc4>                        
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
a0001d20:	e595c000 	ldr	ip, [r5]                                      
a0001d24:	e59c3024 	ldr	r3, [ip, #36]	; 0x24                          
a0001d28:	e3530000 	cmp	r3, #0                                        
a0001d2c:	0a000006 	beq	a0001d4c <chroot+0x80>                        
a0001d30:	e593301c 	ldr	r3, [r3, #28]                                 
a0001d34:	e3530000 	cmp	r3, #0                                        
a0001d38:	0a000003 	beq	a0001d4c <chroot+0x80>                        
a0001d3c:	e28c0018 	add	r0, ip, #24                                   
a0001d40:	e12fff33 	blx	r3                                            
a0001d44:	e59f3060 	ldr	r3, [pc, #96]	; a0001dac <chroot+0xe0>        
a0001d48:	e593c000 	ldr	ip, [r3]                                      
  rtems_filesystem_root = loc;                                        
a0001d4c:	e28cc018 	add	ip, ip, #24                                   
a0001d50:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001d54:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001d58:	e5943000 	ldr	r3, [r4]                                      
a0001d5c:	e3a00000 	mov	r0, #0                                        
a0001d60:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
a0001d64:	e28dd018 	add	sp, sp, #24                                   
a0001d68:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
a0001d6c:	eb000553 	bl	a00032c0 <rtems_libio_set_private_env>         
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
a0001d70:	e5953000 	ldr	r3, [r5]                                      
a0001d74:	e1530004 	cmp	r3, r4                                        
a0001d78:	1affffdb 	bne	a0001cec <chroot+0x20>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001d7c:	eb00366b 	bl	a000f730 <__errno>                             <== NOT EXECUTED
a0001d80:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001d84:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001d88:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001d8c:	eafffff4 	b	a0001d64 <chroot+0x98>                          <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
a0001d90:	eb003666 	bl	a000f730 <__errno>                             <== NOT EXECUTED
a0001d94:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0001d98:	eb003664 	bl	a000f730 <__errno>                             <== NOT EXECUTED
a0001d9c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0001da0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001da4:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
a0001da8:	eaffffed 	b	a0001d64 <chroot+0x98>                          <== NOT EXECUTED
                                                                      
a0008690 <devFS_close>:                                               
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0008690:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
a0008694:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a0008698:	e24dd00c 	sub	sp, sp, #12                                   
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000869c:	e3a01000 	mov	r1, #0                                        
  args.mode  = 0;                                                     
a00086a0:	e58d1008 	str	r1, [sp, #8]                                  
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a00086a4:	e58d1004 	str	r1, [sp, #4]                                  
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a00086a8:	e1a03000 	mov	r3, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a00086ac:	e592100c 	ldr	r1, [r2, #12]                                 
a00086b0:	e5920008 	ldr	r0, [r2, #8]                                  
a00086b4:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a00086b8:	e58d3000 	str	r3, [sp]                                      
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a00086bc:	eb0004b1 	bl	a0009988 <rtems_io_close>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a00086c0:	e2503000 	subs	r3, r0, #0                                   
a00086c4:	01a00003 	moveq	r0, r3                                      
a00086c8:	0a000000 	beq	a00086d0 <devFS_close+0x40>                   
    return rtems_deviceio_errno(status);                              
a00086cc:	eb00003e 	bl	a00087cc <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a00086d0:	e28dd00c 	add	sp, sp, #12                                   
a00086d4:	e8bd8000 	pop	{pc}                                          
                                                                      
a00086e4 <devFS_evaluate_path>:                                       
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00086e4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a00086e8:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00086ec:	e24dd004 	sub	sp, sp, #4                                    
a00086f0:	e58d3000 	str	r3, [sp]                                      
     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)                                             
a00086f4:	e3560000 	cmp	r6, #0                                        
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00086f8:	e1a0a000 	mov	sl, r0                                        
a00086fc:	e1a07001 	mov	r7, r1                                        
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
a0008700:	0a000028 	beq	a00087a8 <devFS_evaluate_path+0xc4>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0008704:	e59f30b0 	ldr	r3, [pc, #176]	; a00087bc <devFS_evaluate_path+0xd8>
a0008708:	e5938000 	ldr	r8, [r3]                                      
a000870c:	e3580000 	cmp	r8, #0                                        
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0008710:	13a03000 	movne	r3, #0                                      
a0008714:	11a04003 	movne	r4, r3                                      
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0008718:	13a09014 	movne	r9, #20                                     
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a000871c:	0a000010 	beq	a0008764 <devFS_evaluate_path+0x80>           
    if (!device_name_table[i].device_name)                            
a0008720:	e00b0399 	mul	fp, r9, r3                                    
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008724:	e1a0000a 	mov	r0, sl                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
a0008728:	e796500b 	ldr	r5, [r6, fp]                                  
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a000872c:	e1a02007 	mov	r2, r7                                        
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
a0008730:	e2844001 	add	r4, r4, #1                                    
    if (!device_name_table[i].device_name)                            
a0008734:	e2551000 	subs	r1, r5, #0                                   
a0008738:	e086b00b 	add	fp, r6, fp                                    
a000873c:	0a000005 	beq	a0008758 <devFS_evaluate_path+0x74>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
a0008740:	eb000d2e 	bl	a000bc00 <strncmp>                             
a0008744:	e3500000 	cmp	r0, #0                                        
a0008748:	1a000002 	bne	a0008758 <devFS_evaluate_path+0x74>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
a000874c:	e7d50007 	ldrb	r0, [r5, r7]                                 
a0008750:	e3500000 	cmp	r0, #0                                        
a0008754:	0a000007 	beq	a0008778 <devFS_evaluate_path+0x94>           
  /* 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++) {                     
a0008758:	e1580004 	cmp	r8, r4                                        
a000875c:	e1a03004 	mov	r3, r4                                        
a0008760:	8affffee 	bhi	a0008720 <devFS_evaluate_path+0x3c>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
a0008764:	eb00096f 	bl	a000ad28 <__errno>                             
a0008768:	e3a03002 	mov	r3, #2                                        
a000876c:	e5803000 	str	r3, [r0]                                      
a0008770:	e3e00000 	mvn	r0, #0                                        
a0008774:	ea000009 	b	a00087a0 <devFS_evaluate_path+0xbc>             
                                                                      
    /* 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;               
a0008778:	e59f3040 	ldr	r3, [pc, #64]	; a00087c0 <devFS_evaluate_path+0xdc>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a000877c:	e59d1000 	ldr	r1, [sp]                                      
    pathloc->handlers = &devFS_file_handlers;                         
a0008780:	e59f203c 	ldr	r2, [pc, #60]	; a00087c4 <devFS_evaluate_path+0xe0>
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0008784:	e5933000 	ldr	r3, [r3]                                      
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
a0008788:	e581b000 	str	fp, [r1]                                      
    pathloc->handlers = &devFS_file_handlers;                         
a000878c:	e5812008 	str	r2, [r1, #8]                                  
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0008790:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
a0008794:	e59f202c 	ldr	r2, [pc, #44]	; a00087c8 <devFS_evaluate_path+0xe4>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
a0008798:	e5813010 	str	r3, [r1, #16]                                 
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
a000879c:	e581200c 	str	r2, [r1, #12]                                 
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
a00087a0:	e28dd004 	add	sp, sp, #4                                    
a00087a4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00087a8:	eb00095e 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a00087ac:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00087b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00087b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00087b8:	eafffff8 	b	a00087a0 <devFS_evaluate_path+0xbc>             <== NOT EXECUTED
                                                                      
a000115c <devFS_initialize>:                                          
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a000115c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
a0001160:	e59f7058 	ldr	r7, [pc, #88]	; a00011c0 <devFS_initialize+0x64>
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
a0001164:	e1a04000 	mov	r4, r0                                        
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
a0001168:	e3a06014 	mov	r6, #20                                       
a000116c:	e5970000 	ldr	r0, [r7]                                      
a0001170:	e0000096 	mul	r0, r6, r0                                    
a0001174:	eb001c28 	bl	a000821c <_Workspace_Allocate>                 
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
a0001178:	e2505000 	subs	r5, r0, #0                                   
a000117c:	0a00000a 	beq	a00011ac <devFS_initialize+0x50>              
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  memset(                                                             
a0001180:	e5972000 	ldr	r2, [r7]                                      
a0001184:	e3a01000 	mov	r1, #0                                        
a0001188:	e0020296 	mul	r2, r6, r2                                    
a000118c:	eb002913 	bl	a000b5e0 <memset>                              
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
a0001190:	e59f302c 	ldr	r3, [pc, #44]	; a00011c4 <devFS_initialize+0x68>
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
a0001194:	e584501c 	str	r5, [r4, #28]                                 
a0001198:	e3a00000 	mov	r0, #0                                        
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
a000119c:	e2832038 	add	r2, r3, #56	; 0x38                            
a00011a0:	e5842028 	str	r2, [r4, #40]	; 0x28                          
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
a00011a4:	e5843024 	str	r3, [r4, #36]	; 0x24                          
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
                                                                      
  return 0;                                                           
}                                                                     
a00011a8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a00011ac:	eb0026dd 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a00011b0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00011b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00011b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00011bc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
                                                                      
a0001344 <devFS_ioctl>:                                               
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0001344:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
a0001348:	e1a03000 	mov	r3, r0                                        
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
a000134c:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a0001350:	e24dd010 	sub	sp, sp, #16                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
a0001354:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001358:	e590100c 	ldr	r1, [r0, #12]                                 
a000135c:	e1a0200d 	mov	r2, sp                                        
a0001360:	e5900008 	ldr	r0, [r0, #8]                                  
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
a0001364:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
a0001368:	eb001038 	bl	a0005450 <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000136c:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a0001370:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001374:	1a000001 	bne	a0001380 <devFS_ioctl+0x3c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a0001378:	e28dd010 	add	sp, sp, #16                                   
a000137c:	e8bd8000 	pop	{pc}                                          
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0001380:	eb001d11 	bl	a00087cc <rtems_deviceio_errno>                <== NOT EXECUTED
a0001384:	eafffffb 	b	a0001378 <devFS_ioctl+0x34>                     <== NOT EXECUTED
                                                                      
a00011c8 <devFS_mknod>:                                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00011c8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a00011cc:	e1a04000 	mov	r4, r0                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a00011d0:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00011d4:	e24dd004 	sub	sp, sp, #4                                    
a00011d8:	e1a05001 	mov	r5, r1                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a00011dc:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
a00011e0:	e58d2000 	str	r2, [sp]                                      
a00011e4:	e1a0b003 	mov	fp, r3                                        
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a00011e8:	0a000039 	beq	a00012d4 <devFS_mknod+0x10c>                  
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
a00011ec:	e2053a0f 	and	r3, r5, #61440	; 0xf000                       
a00011f0:	e3530a02 	cmp	r3, #8192	; 0x2000                            
a00011f4:	13530a06 	cmpne	r3, #24576	; 0x6000                         
a00011f8:	03a03000 	moveq	r3, #0                                      
a00011fc:	13a03001 	movne	r3, #1                                      
a0001200:	1a00003d 	bne	a00012fc <devFS_mknod+0x134>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
a0001204:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
a0001208:	e5927000 	ldr	r7, [r2]                                      
  if (!device_name_table)                                             
a000120c:	e3570000 	cmp	r7, #0                                        
a0001210:	0a000043 	beq	a0001324 <devFS_mknod+0x15c>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001214:	e59f211c 	ldr	r2, [pc, #284]	; a0001338 <devFS_mknod+0x170> 
a0001218:	e5928000 	ldr	r8, [r2]                                      
a000121c:	e3580000 	cmp	r8, #0                                        
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001220:	13e09000 	mvnne	r9, #0                                      
a0001224:	11a06003 	movne	r6, r3                                      
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
a0001228:	13a0a014 	movne	sl, #20                                     
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a000122c:	1a000007 	bne	a0001250 <devFS_mknod+0x88>                   
a0001230:	ea000036 	b	a0001310 <devFS_mknod+0x148>                    <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a0001234:	eb002991 	bl	a000b880 <strcmp>                              <== NOT EXECUTED
a0001238:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000123c:	0a00001f 	beq	a00012c0 <devFS_mknod+0xf8>                   <== NOT EXECUTED
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001240:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a0001244:	e1560008 	cmp	r6, r8                                        <== NOT EXECUTED
a0001248:	e1a03006 	mov	r3, r6                                        <== NOT EXECUTED
a000124c:	2a000009 	bcs	a0001278 <devFS_mknod+0xb0>                   <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
a0001250:	e002039a 	mul	r2, sl, r3                                    
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
a0001254:	e1a00004 	mov	r0, r4                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
a0001258:	e7973002 	ldr	r3, [r7, r2]                                  
a000125c:	e2531000 	subs	r1, r3, #0                                   
a0001260:	1afffff3 	bne	a0001234 <devFS_mknod+0x6c>                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
a0001264:	e1a09006 	mov	r9, r6                                        
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
a0001268:	e2866001 	add	r6, r6, #1                                    
a000126c:	e1560008 	cmp	r6, r8                                        
a0001270:	e1a03006 	mov	r3, r6                                        
a0001274:	3afffff5 	bcc	a0001250 <devFS_mknod+0x88>                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
a0001278:	e3790001 	cmn	r9, #1                                        
a000127c:	0a000023 	beq	a0001310 <devFS_mknod+0x148>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0001280:	e10f6000 	mrs	r6, CPSR                                      
a0001284:	e3863080 	orr	r3, r6, #128	; 0x80                           
a0001288:	e129f003 	msr	CPSR_fc, r3                                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a000128c:	e3a02014 	mov	r2, #20                                       
a0001290:	e0030992 	mul	r3, r2, r9                                    
  device_name_table[slot].device_name_length = strlen(path);          
a0001294:	e1a00004 	mov	r0, r4                                        
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
a0001298:	e7874003 	str	r4, [r7, r3]                                  
a000129c:	e0877003 	add	r7, r7, r3                                    
  device_name_table[slot].device_name_length = strlen(path);          
a00012a0:	eb002a3e 	bl	a000bba0 <strlen>                              
  device_name_table[slot].major = major;                              
a00012a4:	e59d3000 	ldr	r3, [sp]                                      
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
a00012a8:	e5875010 	str	r5, [r7, #16]                                 
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
a00012ac:	e9870809 	stmib	r7, {r0, r3, fp}                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00012b0:	e129f006 	msr	CPSR_fc, r6                                   
a00012b4:	e3a00000 	mov	r0, #0                                        
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
a00012b8:	e28dd004 	add	sp, sp, #4                                    
a00012bc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
a00012c0:	eb002698 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a00012c4:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
a00012c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00012cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00012d0:	eafffff8 	b	a00012b8 <devFS_mknod+0xf0>                     <== NOT EXECUTED
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
a00012d4:	e5d43001 	ldrb	r3, [r4, #1]                                 
a00012d8:	e3530065 	cmp	r3, #101	; 0x65                               
a00012dc:	1affffc2 	bne	a00011ec <devFS_mknod+0x24>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
a00012e0:	e5d43002 	ldrb	r3, [r4, #2]                                 
a00012e4:	e3530076 	cmp	r3, #118	; 0x76                               
a00012e8:	1affffbf 	bne	a00011ec <devFS_mknod+0x24>                   
a00012ec:	e5d40003 	ldrb	r0, [r4, #3]                                 
a00012f0:	e3500000 	cmp	r0, #0                                        
a00012f4:	1affffbc 	bne	a00011ec <devFS_mknod+0x24>                   
a00012f8:	eaffffee 	b	a00012b8 <devFS_mknod+0xf0>                     
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00012fc:	eb002689 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a0001300:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001304:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001308:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000130c:	eaffffe9 	b	a00012b8 <devFS_mknod+0xf0>                     <== NOT EXECUTED
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
a0001310:	eb002684 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a0001314:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a0001318:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000131c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001320:	eaffffe4 	b	a00012b8 <devFS_mknod+0xf0>                     <== NOT EXECUTED
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001324:	eb00267f 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a0001328:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a000132c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001330:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001334:	eaffffdf 	b	a00012b8 <devFS_mknod+0xf0>                     <== NOT EXECUTED
                                                                      
a0001388 <devFS_open>:                                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a0001388:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a000138c:	e5901014 	ldr	r1, [r0, #20]                                 
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
a0001390:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a0001394:	e24dd00c 	sub	sp, sp, #12                                   
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a0001398:	e98d000a 	stmib	sp, {r1, r3}                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000139c:	e1a0c000 	mov	ip, r0                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a00013a0:	e592100c 	ldr	r1, [r2, #12]                                 
a00013a4:	e5920008 	ldr	r0, [r2, #8]                                  
a00013a8:	e1a0200d 	mov	r2, sp                                        
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
a00013ac:	e58dc000 	str	ip, [sp]                                      
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
a00013b0:	eb001073 	bl	a0005584 <rtems_io_open>                       
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a00013b4:	e2503000 	subs	r3, r0, #0                                   
a00013b8:	01a00003 	moveq	r0, r3                                      
a00013bc:	0a000000 	beq	a00013c4 <devFS_open+0x3c>                    
    return rtems_deviceio_errno(status);                              
a00013c0:	eb001d01 	bl	a00087cc <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a00013c4:	e28dd00c 	add	sp, sp, #12                                   
a00013c8:	e8bd8000 	pop	{pc}                                          
                                                                      
a00013cc <devFS_read>:                                                
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00013cc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00013d0:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a00013d4:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
a00013d8:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
a00013dc:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a00013e0:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a00013e4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00013e8:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a00013ec:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a00013f0:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a00013f4:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a00013f8:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
a00013fc:	e5900008 	ldr	r0, [r0, #8]                                  <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
a0001400:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.offset      = iop->offset;                                     
a0001404:	e283400c 	add	r4, r3, #12                                   <== NOT EXECUTED
a0001408:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
a000140c:	e98d0018 	stmib	sp, {r3, r4}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a0001410:	eb00106f 	bl	a00055d4 <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a0001414:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a0001418:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000141c:	1a000001 	bne	a0001428 <devFS_read+0x5c>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a0001420:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a0001424:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a0001428:	eb001ce7 	bl	a00087cc <rtems_deviceio_errno>                <== NOT EXECUTED
a000142c:	eafffffb 	b	a0001420 <devFS_read+0x54>                      <== NOT EXECUTED
                                                                      
a0001430 <devFS_stat>:                                                
  struct stat                      *buf                               
)                                                                     
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
a0001430:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
a0001434:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
a0001438:	e3530000 	cmp	r3, #0                                        
a000143c:	0a000007 	beq	a0001460 <devFS_stat+0x30>                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001440:	e5930010 	ldr	r0, [r3, #16]                                 
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
a0001444:	e593200c 	ldr	r2, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
a0001448:	e5933008 	ldr	r3, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
a000144c:	e581000c 	str	r0, [r1, #12]                                 
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
a0001450:	e581201c 	str	r2, [r1, #28]                                 
a0001454:	e5813018 	str	r3, [r1, #24]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
a0001458:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
a000145c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0001460:	eb002630 	bl	a000ad28 <__errno>                             <== NOT EXECUTED
a0001464:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0001468:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000146c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001470:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a0001474 <devFS_write>:                                               
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a0001474:	e92d4010 	push	{r4, lr}                                     
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001478:	e590c014 	ldr	ip, [r0, #20]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000147c:	e24dd01c 	sub	sp, sp, #28                                   
a0001480:	e1a03000 	mov	r3, r0                                        
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
a0001484:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a0001488:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000148c:	e3a02000 	mov	r2, #0                                        
a0001490:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a0001494:	e58dc014 	str	ip, [sp, #20]                                 
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a0001498:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000149c:	e1a0200d 	mov	r2, sp                                        
a00014a0:	e590100c 	ldr	r1, [r0, #12]                                 
a00014a4:	e5900008 	ldr	r0, [r0, #8]                                  
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
a00014a8:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
a00014ac:	e283400c 	add	r4, r3, #12                                   
a00014b0:	e8940018 	ldm	r4, {r3, r4}                                  
a00014b4:	e98d0018 	stmib	sp, {r3, r4}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a00014b8:	eb001059 	bl	a0005624 <rtems_io_write>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00014bc:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a00014c0:	059d0018 	ldreq	r0, [sp, #24]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a00014c4:	1a000001 	bne	a00014d0 <devFS_write+0x5c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a00014c8:	e28dd01c 	add	sp, sp, #28                                   
a00014cc:	e8bd8010 	pop	{r4, pc}                                      
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a00014d0:	eb001cbd 	bl	a00087cc <rtems_deviceio_errno>                <== NOT EXECUTED
a00014d4:	eafffffb 	b	a00014c8 <devFS_write+0x54>                     <== NOT EXECUTED
                                                                      
a000b70c <device_close>:                                              
 */                                                                   
                                                                      
int device_close(                                                     
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000b70c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
a000b710:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
 */                                                                   
                                                                      
int device_close(                                                     
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000b714:	e24dd00c 	sub	sp, sp, #12                                   
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000b718:	e3a02000 	mov	r2, #0                                        
  args.mode  = 0;                                                     
a000b71c:	e58d2008 	str	r2, [sp, #8]                                  
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
a000b720:	e88d0005 	stm	sp, {r0, r2}                                  
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
a000b724:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000b728:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000b72c:	e1a0200d 	mov	r2, sp                                        
a000b730:	eb00052d 	bl	a000cbec <rtems_io_close>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
a000b734:	e2503000 	subs	r3, r0, #0                                   
a000b738:	01a00003 	moveq	r0, r3                                      
a000b73c:	0a000000 	beq	a000b744 <device_close+0x38>                  
    return rtems_deviceio_errno(status);                              
a000b740:	eb000699 	bl	a000d1ac <rtems_deviceio_errno>                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a000b744:	e28dd00c 	add	sp, sp, #12                                   
a000b748:	e8bd8000 	pop	{pc}                                          
                                                                      
a000b610 <device_ioctl>:                                              
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000b610:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
a000b614:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
a000b618:	e24dd010 	sub	sp, sp, #16                                   
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
a000b61c:	e88d0007 	stm	sp, {r0, r1, r2}                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
a000b620:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000b624:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000b628:	e1a0200d 	mov	r2, sp                                        
a000b62c:	eb000582 	bl	a000cc3c <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b630:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
a000b634:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b638:	1a000001 	bne	a000b644 <device_ioctl+0x34>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
a000b63c:	e28dd010 	add	sp, sp, #16                                   
a000b640:	e8bd8000 	pop	{pc}                                          
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000b644:	eb0006d8 	bl	a000d1ac <rtems_deviceio_errno>                <== NOT EXECUTED
a000b648:	eafffffb 	b	a000b63c <device_ioctl+0x2c>                    <== NOT EXECUTED
                                                                      
a000b74c <device_open>:                                               
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000b74c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
a000b750:	e5901014 	ldr	r1, [r0, #20]                                 
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
a000b754:	e5902038 	ldr	r2, [r0, #56]	; 0x38                          
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a000b758:	e24dd00c 	sub	sp, sp, #12                                   
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
a000b75c:	e88d000b 	stm	sp, {r0, r1, r3}                              
                                                                      
  status = rtems_io_open(                                             
a000b760:	e5921054 	ldr	r1, [r2, #84]	; 0x54                          
a000b764:	e5920050 	ldr	r0, [r2, #80]	; 0x50                          
a000b768:	e1a0200d 	mov	r2, sp                                        
a000b76c:	eb000546 	bl	a000cc8c <rtems_io_open>                       
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
a000b770:	e2503000 	subs	r3, r0, #0                                   
a000b774:	01a00003 	moveq	r0, r3                                      
a000b778:	0a000000 	beq	a000b780 <device_open+0x34>                   
    return rtems_deviceio_errno(status);                              
a000b77c:	eb00068a 	bl	a000d1ac <rtems_deviceio_errno>                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000b780:	e28dd00c 	add	sp, sp, #12                                   
a000b784:	e8bd8000 	pop	{pc}                                          
                                                                      
a000b6ac <device_read>:                                               
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000b6ac:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000b6b0:	e280500c 	add	r5, r0, #12                                   <== NOT EXECUTED
a000b6b4:	e8950030 	ldm	r5, {r4, r5}                                  <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000b6b8:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000b6bc:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
a000b6c0:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000b6c4:	e98d0030 	stmib	sp, {r4, r5}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
a000b6c8:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000b6cc:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a000b6d0:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
a000b6d4:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000b6d8:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000b6dc:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
a000b6e0:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          <== NOT EXECUTED
a000b6e4:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          <== NOT EXECUTED
a000b6e8:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a000b6ec:	eb00057a 	bl	a000ccdc <rtems_io_read>                       <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b6f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000b6f4:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b6f8:	1a000001 	bne	a000b704 <device_read+0x58>                   <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000b6fc:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
a000b700:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000b704:	eb0006a8 	bl	a000d1ac <rtems_deviceio_errno>                <== NOT EXECUTED
a000b708:	eafffffb 	b	a000b6fc <device_read+0x50>                     <== NOT EXECUTED
                                                                      
a000b64c <device_write>:                                              
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000b64c:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000b650:	e280500c 	add	r5, r0, #12                                   
a000b654:	e8950030 	ldm	r5, {r4, r5}                                  
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
a000b658:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000b65c:	e590c014 	ldr	ip, [r0, #20]                                 
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
a000b660:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
a000b664:	e98d0030 	stmib	sp, {r4, r5}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
a000b668:	e58d2010 	str	r2, [sp, #16]                                 
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
a000b66c:	e3a02000 	mov	r2, #0                                        
a000b670:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
a000b674:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
a000b678:	e58dc014 	str	ip, [sp, #20]                                 
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
a000b67c:	e58d0000 	str	r0, [sp]                                      
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
a000b680:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
a000b684:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
a000b688:	e1a0200d 	mov	r2, sp                                        
a000b68c:	eb0005a6 	bl	a000cd2c <rtems_io_write>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b690:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
a000b694:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
a000b698:	1a000001 	bne	a000b6a4 <device_write+0x58>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
a000b69c:	e28dd01c 	add	sp, sp, #28                                   
a000b6a0:	e8bd8030 	pop	{r4, r5, pc}                                  
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
a000b6a4:	eb0006c0 	bl	a000d1ac <rtems_deviceio_errno>                <== NOT EXECUTED
a000b6a8:	eafffffb 	b	a000b69c <device_write+0x50>                    <== NOT EXECUTED
                                                                      
a0003564 <drainOutput>:                                               
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003564:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003568:	e92d4030 	push	{r4, r5, lr}                                 
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a000356c:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
a0003570:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
a0003574:	0a000017 	beq	a00035d8 <drainOutput+0x74>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003578:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a000357c:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0003580:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
a0003584:	e5901084 	ldr	r1, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0003588:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a000358c:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a0003590:	0a00000f 	beq	a00035d4 <drainOutput+0x70>                   <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a0003594:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
a0003598:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a000359c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a00035a0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00035a4:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a00035a8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a00035ac:	eb000637 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a00035b0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00035b4:	1a000008 	bne	a00035dc <drainOutput+0x78>                   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00035b8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00035bc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00035c0:	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) {                
a00035c4:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
a00035c8:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
a00035cc:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
a00035d0:	1afffff0 	bne	a0003598 <drainOutput+0x34>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00035d4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00035d8:	e8bd8030 	pop	{r4, r5, pc}                                  
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
a00035dc:	eb0007cc 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a000267c <dup2>:                                                      
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a000267c:	e92d4070 	push	{r4, r5, r6, lr}                             
a0002680:	e24dd048 	sub	sp, sp, #72	; 0x48                            
a0002684:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002688:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
a000268c:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002690:	eb0001bb 	bl	a0002d84 <fstat>                               
  if ( status == -1 )                                                 
a0002694:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
a0002698:	e1a0400d 	mov	r4, sp                                        
  if ( status == -1 )                                                 
a000269c:	1a000002 	bne	a00026ac <dup2+0x30>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a00026a0:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a00026a4:	e28dd048 	add	sp, sp, #72	; 0x48                            
a00026a8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
a00026ac:	e1a0100d 	mov	r1, sp                                        
a00026b0:	e1a00005 	mov	r0, r5                                        
a00026b4:	eb0001b2 	bl	a0002d84 <fstat>                               
  if ( status == -1 )                                                 
a00026b8:	e3700001 	cmn	r0, #1                                        
a00026bc:	0afffff7 	beq	a00026a0 <dup2+0x24>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
a00026c0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00026c4:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a00026c8:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00026cc:	eb00009b 	bl	a0002940 <fcntl>                               <== NOT EXECUTED
a00026d0:	eafffff3 	b	a00026a4 <dup2+0x28>                            <== NOT EXECUTED
                                                                      
a0002fdc <echo>:                                                      
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0002fdc:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002fe0:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0002fe4:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a0002fe8:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002fec:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
a0002ff0:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0002ff4:	0a000007 	beq	a0003018 <echo+0x3c>                          <== NOT EXECUTED
a0002ff8:	e59f2060 	ldr	r2, [pc, #96]	; a0003060 <echo+0x84>          <== NOT EXECUTED
a0002ffc:	e2503009 	subs	r3, r0, #9                                   <== NOT EXECUTED
a0003000:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
a0003004:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0003008:	e0822000 	add	r2, r2, r0                                    <== NOT EXECUTED
a000300c:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0003010:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
a0003014:	1a000003 	bne	a0003028 <echo+0x4c>                          <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
a0003018:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000301c:	ebffff92 	bl	a0002e6c <oproc>                               <== NOT EXECUTED
	}                                                                    
}                                                                     
a0003020:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0003024:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
a0003028:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
a000302c:	0afffff9 	beq	a0003018 <echo+0x3c>                          <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
a0003030:	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] = '^';                                                   
a0003034:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a0003038:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a000303c:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0003040:	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;                                              
a0003044:	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] = '^';                                                   
a0003048:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
a000304c:	ebffff3e 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
		tty->column += 2;                                                   
a0003050:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003054:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a0003058:	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')) {
a000305c:	eaffffef 	b	a0003020 <echo+0x44>                            <== NOT EXECUTED
                                                                      
a00021e4 <endgrent>:                                                  
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
  if (group_fp != NULL)                                               
a00021e4:	e59f300c 	ldr	r3, [pc, #12]	; a00021f8 <endgrent+0x14>      <== NOT EXECUTED
a00021e8:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
a00021ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00021f0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
a00021f4:	ea003747 	b	a000ff18 <fclose>                               <== NOT EXECUTED
                                                                      
a00021fc <endpwent>:                                                  
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
  if (passwd_fp != NULL)                                              
a00021fc:	e59f300c 	ldr	r3, [pc, #12]	; a0002210 <endpwent+0x14>      <== NOT EXECUTED
a0002200:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
a0002204:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002208:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
a000220c:	ea003741 	b	a000ff18 <fclose>                               <== NOT EXECUTED
                                                                      
a0003064 <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)                                                
a0003064:	e5903020 	ldr	r3, [r0, #32]                                 <== NOT EXECUTED
 * FIXME: Needs support for WERASE and ECHOPRT.                       
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
a0003068:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a000306c:	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)                   
{                                                                     
a0003070:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0003074:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
a0003078:	0a000027 	beq	a000311c <erase+0xb8>                         <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
a000307c:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
a0003080:	0590203c 	ldreq	r2, [r0, #60]	; 0x3c                        <== NOT EXECUTED
a0003084:	1a000025 	bne	a0003120 <erase+0xbc>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
a0003088:	e59f71d0 	ldr	r7, [pc, #464]	; a0003260 <erase+0x1fc>       <== NOT EXECUTED
a000308c:	ea000007 	b	a00030b0 <erase+0x4c>                           <== NOT EXECUTED
a0003090:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
a0003094:	1a000059 	bne	a0003200 <erase+0x19c>                        <== NOT EXECUTED
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
a0003098:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000309c:	0a00001e 	beq	a000311c <erase+0xb8>                         <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
a00030a0:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a00030a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00030a8:	0a00001b 	beq	a000311c <erase+0xb8>                         <== NOT EXECUTED
a00030ac:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
		unsigned char c = tty->cbuf[--tty->ccount];                         
a00030b0:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
a00030b4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a00030b8:	e5843020 	str	r3, [r4, #32]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a00030bc:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
a00030c0:	e7d05003 	ldrb	r5, [r0, r3]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
a00030c4:	0afffff3 	beq	a0003098 <erase+0x34>                         <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
a00030c8:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a00030cc:	1a000001 	bne	a00030d8 <erase+0x74>                         <== NOT EXECUTED
a00030d0:	e3120010 	tst	r2, #16                                       <== NOT EXECUTED
a00030d4:	0a000045 	beq	a00031f0 <erase+0x18c>                        <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
a00030d8:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
a00030dc:	0a00001f 	beq	a0003160 <erase+0xfc>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
a00030e0:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a00030e4:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
a00030e8:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a00030ec:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a00030f0:	1affffe6 	bne	a0003090 <erase+0x2c>                         <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
					rtems_termios_puts ("\b \b", 3, tty);                            
a00030f4:	e59f0168 	ldr	r0, [pc, #360]	; a0003264 <erase+0x200>       <== NOT EXECUTED
a00030f8:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a00030fc:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003100:	ebffff11 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0003104:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003108:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a000310c:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003110:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
a0003114:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0003118:	1affffe0 	bne	a00030a0 <erase+0x3c>                         <== NOT EXECUTED
a000311c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
a0003120:	e590203c 	ldr	r2, [r0, #60]	; 0x3c                          <== NOT EXECUTED
a0003124:	e2121008 	ands	r1, r2, #8                                   <== NOT EXECUTED
a0003128:	0a00002e 	beq	a00031e8 <erase+0x184>                        <== NOT EXECUTED
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
a000312c:	e2121010 	ands	r1, r2, #16                                  <== NOT EXECUTED
a0003130:	1affffd4 	bne	a0003088 <erase+0x24>                         <== NOT EXECUTED
			tty->ccount = 0;                                                   
a0003134:	e5801020 	str	r1, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
a0003138:	e5d00044 	ldrb	r0, [r0, #68]	; 0x44                         <== NOT EXECUTED
a000313c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003140:	ebffffa5 	bl	a0002fdc <echo>                                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
a0003144:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003148:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a000314c:	0afffff2 	beq	a000311c <erase+0xb8>                         <== NOT EXECUTED
				echo ('\n', tty);                                                 
a0003150:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003154:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
a0003158:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== NOT EXECUTED
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
a000315c:	eaffff9e 	b	a0002fdc <echo>                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a0003160:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
				int col = tty->read_start_column;                                 
a0003164:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a0003168:	0a000011 	beq	a00031b4 <erase+0x150>                        <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a000316c:	e5978000 	ldr	r8, [r7]                                      <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
a0003170:	e202ac02 	and	sl, r2, #512	; 0x200                          <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0003174:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
a0003178:	e7d01002 	ldrb	r1, [r0, r2]                                 <== NOT EXECUTED
a000317c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
					if (c == '\t') {                                                 
a0003180:	e3510009 	cmp	r1, #9                                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
a0003184:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
					}                                                                
					else if (iscntrl (c)) {                                          
a0003188:	e088c001 	add	ip, r8, r1                                    <== NOT EXECUTED
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
a000318c:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
a0003190:	0a000005 	beq	a00031ac <erase+0x148>                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a0003194:	e5dc1001 	ldrb	r1, [ip, #1]                                 <== NOT EXECUTED
a0003198:	e3110020 	tst	r1, #32                                       <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
							col += 2;                                                      
					}                                                                
					else {                                                           
						col++;                                                          
a000319c:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
a00031a0:	0a000001 	beq	a00031ac <erase+0x148>                        <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
a00031a4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
							col += 2;                                                      
a00031a8:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
a00031ac:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00031b0:	1afffff0 	bne	a0003178 <erase+0x114>                        <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a00031b4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00031b8:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
a00031bc:	aaffffb5 	bge	a0003098 <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
a00031c0:	e59f00a0 	ldr	r0, [pc, #160]	; a0003268 <erase+0x204>       <== NOT EXECUTED
a00031c4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00031c8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a00031cc:	ebfffede 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
					tty->column--;                                                   
a00031d0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a00031d4:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a00031d8:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
a00031dc:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
a00031e0:	bafffff6 	blt	a00031c0 <erase+0x15c>                        <== NOT EXECUTED
a00031e4:	eaffffab 	b	a0003098 <erase+0x34>                           <== NOT EXECUTED
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
			tty->ccount = 0;                                                   
a00031e8:	e5801020 	str	r1, [r0, #32]                                 <== NOT EXECUTED
			return;                                                            
a00031ec:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
a00031f0:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
a00031f4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
a00031f8:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== NOT EXECUTED
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
a00031fc:	eaffff76 	b	a0002fdc <echo>                                 <== NOT EXECUTED
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
					rtems_termios_puts ("\b \b", 3, tty);                            
a0003200:	e59f005c 	ldr	r0, [pc, #92]	; a0003264 <erase+0x200>        <== NOT EXECUTED
a0003204:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003208:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000320c:	ebfffece 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a0003210:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003214:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0003218:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000321c:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
a0003220:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
a0003224:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
a0003228:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a000322c:	0affffb0 	beq	a00030f4 <erase+0x90>                         <== NOT EXECUTED
a0003230:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a0003234:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
a0003238:	0affff96 	beq	a0003098 <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
a000323c:	e59f0020 	ldr	r0, [pc, #32]	; a0003264 <erase+0x200>        <== NOT EXECUTED
a0003240:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003244:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003248:	ebfffebf 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
a000324c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0003250:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
a0003254:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a0003258:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a000325c:	eaffffac 	b	a0003114 <erase+0xb0>                           <== NOT EXECUTED
                                                                      
a0002940 <fcntl>:                                                     
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002940:	e92d000e 	push	{r1, r2, r3}                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002944:	e59f21cc 	ldr	r2, [pc, #460]	; a0002b18 <fcntl+0x1d8>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002948:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a000294c:	e5922000 	ldr	r2, [r2]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002950:	e24dd004 	sub	sp, sp, #4                                    
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a0002954:	e28d3028 	add	r3, sp, #40	; 0x28                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002958:	e1500002 	cmp	r0, r2                                        
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
a000295c:	e58d3000 	str	r3, [sp]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
a0002960:	e59d4024 	ldr	r4, [sp, #36]	; 0x24                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002964:	2a00005f 	bcs	a0002ae8 <fcntl+0x1a8>                        
  iop = rtems_libio_iop( fd );                                        
a0002968:	e59f61ac 	ldr	r6, [pc, #428]	; a0002b1c <fcntl+0x1dc>       
a000296c:	e5967000 	ldr	r7, [r6]                                      
a0002970:	e0875300 	add	r5, r7, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002974:	e595c014 	ldr	ip, [r5, #20]                                 
a0002978:	e31c0c01 	tst	ip, #256	; 0x100                              
a000297c:	0a000059 	beq	a0002ae8 <fcntl+0x1a8>                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
a0002980:	e3540009 	cmp	r4, #9                                        
a0002984:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
a0002988:	ea00002a 	b	a0002a38 <fcntl+0xf8>                           
a000298c:	a0002a4c 	.word	0xa0002a4c                                  <== NOT EXECUTED
a0002990:	a0002aac 	.word	0xa0002aac                                  <== NOT EXECUTED
a0002994:	a0002ab8 	.word	0xa0002ab8                                  <== NOT EXECUTED
a0002998:	a0002ad8 	.word	0xa0002ad8                                  <== NOT EXECUTED
a000299c:	a00029d8 	.word	0xa00029d8                                  <== NOT EXECUTED
a00029a0:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
a00029a4:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
a00029a8:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
a00029ac:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
a00029b0:	a00029b4 	.word	0xa00029b4                                  <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
a00029b4:	eb0036c8 	bl	a00104dc <__errno>                             
a00029b8:	e3a03086 	mov	r3, #134	; 0x86                               
a00029bc:	e5803000 	str	r3, [r0]                                      
a00029c0:	e3e07000 	mvn	r7, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
a00029c4:	e1a00007 	mov	r0, r7                                        
a00029c8:	e28dd004 	add	sp, sp, #4                                    
a00029cc:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a00029d0:	e28dd00c 	add	sp, sp, #12                                   
a00029d4:	e12fff1e 	bx	lr                                             
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
a00029d8:	e5930000 	ldr	r0, [r3]                                      
a00029dc:	eb00023c 	bl	a00032d4 <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
a00029e0:	e5952014 	ldr	r2, [r5, #20]                                 
a00029e4:	e3a03c02 	mov	r3, #512	; 0x200                              
a00029e8:	e2833001 	add	r3, r3, #1                                    
a00029ec:	e3c22c02 	bic	r2, r2, #512	; 0x200                          
a00029f0:	e0003003 	and	r3, r0, r3                                    
a00029f4:	e3c22001 	bic	r2, r2, #1                                    
a00029f8:	e1833002 	orr	r3, r3, r2                                    
a00029fc:	e5853014 	str	r3, [r5, #20]                                 
a0002a00:	e3a07000 	mov	r7, #0                                        
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    if (iop->handlers->fcntl_h) {                                     
a0002a04:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          
a0002a08:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
a0002a0c:	e3530000 	cmp	r3, #0                                        
a0002a10:	0affffeb 	beq	a00029c4 <fcntl+0x84>                         
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
a0002a14:	e1a00004 	mov	r0, r4                                        
a0002a18:	e1a01005 	mov	r1, r5                                        
a0002a1c:	e12fff33 	blx	r3                                            
      if (err) {                                                      
a0002a20:	e2504000 	subs	r4, r0, #0                                   
a0002a24:	0affffe6 	beq	a00029c4 <fcntl+0x84>                         
        errno = err;                                                  
a0002a28:	eb0036ab 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a0002a2c:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
a0002a30:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0002a34:	eaffffe2 	b	a00029c4 <fcntl+0x84>                           <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
a0002a38:	eb0036a7 	bl	a00104dc <__errno>                             
a0002a3c:	e3a03016 	mov	r3, #22                                       
a0002a40:	e5803000 	str	r3, [r0]                                      
a0002a44:	e3e07000 	mvn	r7, #0                                        
a0002a48:	eaffffdd 	b	a00029c4 <fcntl+0x84>                           
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
a0002a4c:	e5938000 	ldr	r8, [r3]                                      
      if ( fd2 )                                                      
a0002a50:	e3580000 	cmp	r8, #0                                        
a0002a54:	0a000028 	beq	a0002afc <fcntl+0x1bc>                        
        diop = rtems_libio_iop( fd2 );                                
a0002a58:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
a0002a5c:	93a09000 	movls	r9, #0                                      <== NOT EXECUTED
a0002a60:	80878308 	addhi	r8, r7, r8, lsl #6                          <== NOT EXECUTED
a0002a64:	91a08009 	movls	r8, r9                                      <== NOT EXECUTED
a0002a68:	81a09008 	movhi	r9, r8                                      <== NOT EXECUTED
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002a6c:	e288a018 	add	sl, r8, #24                                   
a0002a70:	e2856018 	add	r6, r5, #24                                   
a0002a74:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
a0002a78:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a0002a7c:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002a80:	e5961000 	ldr	r1, [r6]                                      
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
a0002a84:	e5953038 	ldr	r3, [r5, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002a88:	e0677009 	rsb	r7, r7, r9                                    
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
a0002a8c:	e58a1000 	str	r1, [sl]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
a0002a90:	e588203c 	str	r2, [r8, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
a0002a94:	e5883038 	str	r3, [r8, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
a0002a98:	e588c014 	str	ip, [r8, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
a0002a9c:	e1a07347 	asr	r7, r7, #6                                    
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
a0002aa0:	e3570000 	cmp	r7, #0                                        
a0002aa4:	aaffffd6 	bge	a0002a04 <fcntl+0xc4>                         
a0002aa8:	eaffffc5 	b	a00029c4 <fcntl+0x84>                           <== NOT EXECUTED
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
a0002aac:	e1a0c5ac 	lsr	ip, ip, #11                                   
a0002ab0:	e20c7001 	and	r7, ip, #1                                    
a0002ab4:	eaffffd2 	b	a0002a04 <fcntl+0xc4>                           
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
a0002ab8:	e5937000 	ldr	r7, [r3]                                      
a0002abc:	e3570000 	cmp	r7, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a0002ac0:	138ccb02 	orrne	ip, ip, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0002ac4:	03cccb02 	biceq	ip, ip, #2048	; 0x800                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
a0002ac8:	1585c014 	strne	ip, [r5, #20]                               
a0002acc:	13a07000 	movne	r7, #0                                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
a0002ad0:	0585c014 	streq	ip, [r5, #20]                               
a0002ad4:	eaffffca 	b	a0002a04 <fcntl+0xc4>                           
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
a0002ad8:	e1a0000c 	mov	r0, ip                                        
a0002adc:	eb00015b 	bl	a0003050 <rtems_libio_to_fcntl_flags>          
a0002ae0:	e1a07000 	mov	r7, r0                                        
a0002ae4:	eaffffed 	b	a0002aa0 <fcntl+0x160>                          
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a0002ae8:	eb00367b 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a0002aec:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0002af0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002af4:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0002af8:	eaffffb1 	b	a00029c4 <fcntl+0x84>                           <== NOT EXECUTED
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
a0002afc:	eb0001c6 	bl	a000321c <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
a0002b00:	e2508000 	subs	r8, r0, #0                                   
a0002b04:	0affffc9 	beq	a0002a30 <fcntl+0xf0>                         
a0002b08:	e5967000 	ldr	r7, [r6]                                      
a0002b0c:	e595c014 	ldr	ip, [r5, #20]                                 
a0002b10:	e1a09008 	mov	r9, r8                                        
a0002b14:	eaffffd4 	b	a0002a6c <fcntl+0x12c>                          
                                                                      
a000bd58 <fifo_open>:                                                 
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bd58:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000bd5c:	e59f5408 	ldr	r5, [pc, #1032]	; a000c16c <fifo_open+0x414>  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bd60:	e1a07001 	mov	r7, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000bd64:	e3a01000 	mov	r1, #0                                        
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bd68:	e24dd00c 	sub	sp, sp, #12                                   
a000bd6c:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
a000bd70:	e1a02001 	mov	r2, r1                                        
a000bd74:	e5950000 	ldr	r0, [r5]                                      
a000bd78:	ebffe444 	bl	a0004e90 <rtems_semaphore_obtain>              
a000bd7c:	e2509000 	subs	r9, r0, #0                                   
a000bd80:	13e0a003 	mvnne	sl, #3                                      
a000bd84:	1a00001c 	bne	a000bdfc <fifo_open+0xa4>                     
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
a000bd88:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
  if (pipe == NULL) {                                                 
a000bd8c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000bd90:	0a00001c 	beq	a000be08 <fifo_open+0xb0>                     <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bd94:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000bd98:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
a000bd9c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000bda0:	ebffe43a 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000bda4:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000bda8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000bdac:	01a0a000 	moveq	sl, r0                                      <== NOT EXECUTED
a000bdb0:	13e0a003 	mvnne	sl, #3                                      <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
a000bdb4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bdb8:	0a0000c1 	beq	a000c0c4 <fifo_open+0x36c>                    <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000bdbc:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000bdc0:	ebffe47a 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  uint prevCounter;                                                   
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
a000bdc4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a000bdc8:	1a00000b 	bne	a000bdfc <fifo_open+0xa4>                     <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000bdcc:	e5972014 	ldr	r2, [r7, #20]                                 <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
a000bdd0:	e5945000 	ldr	r5, [r4]                                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
a000bdd4:	e2023006 	and	r3, r2, #6                                    <== NOT EXECUTED
a000bdd8:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
a000bddc:	0a000081 	beq	a000bfe8 <fifo_open+0x290>                    <== NOT EXECUTED
a000bde0:	e3530006 	cmp	r3, #6                                        <== NOT EXECUTED
a000bde4:	0a0000a2 	beq	a000c074 <fifo_open+0x31c>                    <== NOT EXECUTED
a000bde8:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000bdec:	0a000059 	beq	a000bf58 <fifo_open+0x200>                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000bdf0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000bdf4:	ebffe46d 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a000bdf8:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
a000bdfc:	e1a0000a 	mov	r0, sl                                        
a000be00:	e28dd00c 	add	sp, sp, #12                                   
a000be04:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000be08:	e3a00034 	mov	r0, #52	; 0x34                                <== NOT EXECUTED
a000be0c:	ebffd7b1 	bl	a0001cd8 <malloc>                              <== NOT EXECUTED
  if (pipe == NULL)                                                   
a000be10:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
a000be14:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
a000be18:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
a000be1c:	03e0a00b 	mvneq	sl, #11                                     <== NOT EXECUTED
a000be20:	0affffe5 	beq	a000bdbc <fifo_open+0x64>                     <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a000be24:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
a000be28:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be2c:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a000be30:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be34:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be38:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be3c:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be40:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be44:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be48:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be4c:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be50:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000be54:	e3a02c02 	mov	r2, #512	; 0x200                              <== NOT EXECUTED
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
a000be58:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
a000be5c:	e5839000 	str	r9, [r3]                                      <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
a000be60:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
a000be64:	e5882004 	str	r2, [r8, #4]                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
a000be68:	ebffd79a 	bl	a0001cd8 <malloc>                              <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a000be6c:	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);                                  
a000be70:	e5880000 	str	r0, [r8]                                      <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
a000be74:	03e0a00b 	mvneq	sl, #11                                     <== NOT EXECUTED
a000be78:	0a00009e 	beq	a000c0f8 <fifo_open+0x3a0>                    <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -EINTR;                                                       
  if (rtems_barrier_create(                                           
a000be7c:	e59fa2ec 	ldr	sl, [pc, #748]	; a000c170 <fifo_open+0x418>   <== NOT EXECUTED
a000be80:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a000be84:	e1a02009 	mov	r2, r9                                        <== NOT EXECUTED
a000be88:	e5da0000 	ldrb	r0, [sl]                                     <== NOT EXECUTED
a000be8c:	e288302c 	add	r3, r8, #44	; 0x2c                            <== NOT EXECUTED
a000be90:	e3800205 	orr	r0, r0, #1342177280	; 0x50000000              <== NOT EXECUTED
a000be94:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a000be98:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       <== NOT EXECUTED
a000be9c:	eb000279 	bl	a000c888 <rtems_barrier_create>                <== NOT EXECUTED
a000bea0:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
a000bea4:	1a000090 	bne	a000c0ec <fifo_open+0x394>                    <== 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(                                           
a000bea8:	e5da3000 	ldrb	r3, [sl]                                     <== NOT EXECUTED
a000beac:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000beb0:	e3830205 	orr	r0, r3, #1342177280	; 0x50000000              <== NOT EXECUTED
a000beb4:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a000beb8:	e2883030 	add	r3, r8, #48	; 0x30                            <== NOT EXECUTED
a000bebc:	e3800c77 	orr	r0, r0, #30464	; 0x7700                       <== NOT EXECUTED
a000bec0:	eb000270 	bl	a000c888 <rtems_barrier_create>                <== NOT EXECUTED
a000bec4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a000bec8:	1a000085 	bne	a000c0e4 <fifo_open+0x38c>                    <== 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(                                         
a000becc:	e5da2000 	ldrb	r2, [sl]                                     <== NOT EXECUTED
a000bed0:	e288c028 	add	ip, r8, #40	; 0x28                            <== NOT EXECUTED
a000bed4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000bed8:	e3820205 	orr	r0, r2, #1342177280	; 0x50000000              <== NOT EXECUTED
a000bedc:	e3800849 	orr	r0, r0, #4784128	; 0x490000                   <== NOT EXECUTED
a000bee0:	e3800c73 	orr	r0, r0, #29440	; 0x7300                       <== NOT EXECUTED
a000bee4:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a000bee8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000beec:	ebffe34c 	bl	a0004c24 <rtems_semaphore_create>              <== NOT EXECUTED
a000bef0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000bef4:	1a000078 	bne	a000c0dc <fifo_open+0x384>                    <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get (                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
a000bef8:	e28d8004 	add	r8, sp, #4                                    <== NOT EXECUTED
a000befc:	e596102c 	ldr	r1, [r6, #44]	; 0x2c                          <== NOT EXECUTED
a000bf00:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a000bf04:	e59f0268 	ldr	r0, [pc, #616]	; a000c174 <fifo_open+0x41c>   <== NOT EXECUTED
a000bf08:	ebffe9b9 	bl	a00065f4 <_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
a000bf0c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
a000bf10:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               <== NOT EXECUTED
a000bf14:	e580304c 	str	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
a000bf18:	ebffec19 	bl	a0006f84 <_Thread_Enable_dispatch>             <== NOT EXECUTED
a000bf1c:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a000bf20:	e5961030 	ldr	r1, [r6, #48]	; 0x30                          <== NOT EXECUTED
a000bf24:	e59f0248 	ldr	r0, [pc, #584]	; a000c174 <fifo_open+0x41c>   <== NOT EXECUTED
a000bf28:	ebffe9b1 	bl	a00065f4 <_Objects_Get>                        <== NOT EXECUTED
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
a000bf2c:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
a000bf30:	e3833201 	orr	r3, r3, #268435456	; 0x10000000               <== NOT EXECUTED
a000bf34:	e580304c 	str	r3, [r0, #76]	; 0x4c                          <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
a000bf38:	ebffec11 	bl	a0006f84 <_Thread_Enable_dispatch>             <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
a000bf3c:	e5da3000 	ldrb	r3, [sl]                                     <== NOT EXECUTED
a000bf40:	e353007a 	cmp	r3, #122	; 0x7a                               <== NOT EXECUTED
a000bf44:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000bf48:	e5ca3000 	strb	r3, [sl]                                     <== NOT EXECUTED
    c = 'a';                                                          
a000bf4c:	03a03061 	moveq	r3, #97	; 0x61                              <== NOT EXECUTED
a000bf50:	05ca3000 	strbeq	r3, [sl]                                   <== NOT EXECUTED
a000bf54:	eaffff8e 	b	a000bd94 <fifo_open+0x3c>                       <== NOT EXECUTED
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000bf58:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bf5c:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000bf60:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bf64:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000bf68:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
a000bf6c:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000bf70:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
a000bf74:	0a00006f 	beq	a000c138 <fifo_open+0x3e0>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
a000bf78:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
a000bf7c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bf80:	1affff9a 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
a000bf84:	e5973014 	ldr	r3, [r7, #20]                                 <== NOT EXECUTED
a000bf88:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a000bf8c:	1affff97 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
a000bf90:	e5956024 	ldr	r6, [r5, #36]	; 0x24                          <== NOT EXECUTED
a000bf94:	ea000006 	b	a000bfb4 <fifo_open+0x25c>                      <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bf98:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000bf9c:	ebffe3bb 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000bfa0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000bfa4:	1a00000a 	bne	a000bfd4 <fifo_open+0x27c>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
a000bfa8:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
a000bfac:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a000bfb0:	1affff8e 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000bfb4:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000bfb8:	ebffe3fc 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
a000bfbc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000bfc0:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000bfc4:	eb000293 	bl	a000ca18 <rtems_barrier_wait>                  <== NOT EXECUTED
a000bfc8:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000bfcc:	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))                                  
a000bfd0:	0afffff0 	beq	a000bf98 <fifo_open+0x240>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
a000bfd4:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
a000bfd8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000bfdc:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a000bfe0:	ebffff15 	bl	a000bc3c <pipe_release>                        <== NOT EXECUTED
  return err;                                                         
a000bfe4:	eaffff84 	b	a000bdfc <fifo_open+0xa4>                       <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
a000bfe8:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
a000bfec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bff0:	1a000002 	bne	a000c000 <fifo_open+0x2a8>                    <== NOT EXECUTED
a000bff4:	e3120001 	tst	r2, #1                                        <== NOT EXECUTED
a000bff8:	13e0a005 	mvnne	sl, #5                                      <== NOT EXECUTED
a000bffc:	1afffff5 	bne	a000bfd8 <fifo_open+0x280>                    <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a000c000:	e5952014 	ldr	r2, [r5, #20]                                 <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000c004:	e5951024 	ldr	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c008:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000c00c:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c010:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
a000c014:	e5851024 	str	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c018:	e5852014 	str	r2, [r5, #20]                                 <== NOT EXECUTED
a000c01c:	0a00004d 	beq	a000c158 <fifo_open+0x400>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0) {                                       
a000c020:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000c024:	1affff71 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
        prevCounter = pipe->readerCounter;                            
a000c028:	e5956020 	ldr	r6, [r5, #32]                                 <== NOT EXECUTED
a000c02c:	ea000006 	b	a000c04c <fifo_open+0x2f4>                      <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000c030:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000c034:	ebffe395 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000c038:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000c03c:	1affffe4 	bne	a000bfd4 <fifo_open+0x27c>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
a000c040:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a000c044:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a000c048:	1affff68 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
a000c04c:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000c050:	ebffe3d6 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
a000c054:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000c058:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a000c05c:	eb00026d 	bl	a000ca18 <rtems_barrier_wait>                  <== NOT EXECUTED
a000c060:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
a000c064:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
a000c068:	0afffff0 	beq	a000c030 <fifo_open+0x2d8>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
a000c06c:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
a000c070:	eaffffd8 	b	a000bfd8 <fifo_open+0x280>                      <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
a000c074:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000c078:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000c07c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000c080:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000c084:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
a000c088:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
a000c08c:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
a000c090:	0a00002c 	beq	a000c148 <fifo_open+0x3f0>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
a000c094:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000c098:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c09c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000c0a0:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c0a4:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
a000c0a8:	e5852024 	str	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
a000c0ac:	e5853014 	str	r3, [r5, #20]                                 <== NOT EXECUTED
a000c0b0:	1affff4e 	bne	a000bdf0 <fifo_open+0x98>                     <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
a000c0b4:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000c0b8:	e28d1008 	add	r1, sp, #8                                    <== NOT EXECUTED
a000c0bc:	eb00023c 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000c0c0:	eaffff4a 	b	a000bdf0 <fifo_open+0x98>                       <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
a000c0c4:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a000c0c8:	1a00000d 	bne	a000c104 <fifo_open+0x3ac>                    <== NOT EXECUTED
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
a000c0cc:	e5846000 	str	r6, [r4]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000c0d0:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000c0d4:	ebffe3b5 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a000c0d8:	eaffff3b 	b	a000bdcc <fifo_open+0x74>                       <== NOT EXECUTED
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
a000c0dc:	e5980030 	ldr	r0, [r8, #48]	; 0x30                          <== NOT EXECUTED
a000c0e0:	eb000219 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
a000c0e4:	e598002c 	ldr	r0, [r8, #44]	; 0x2c                          <== NOT EXECUTED
a000c0e8:	eb000217 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
a000c0ec:	e5980000 	ldr	r0, [r8]                                      <== NOT EXECUTED
a000c0f0:	ebffd631 	bl	a00019bc <free>                                <== NOT EXECUTED
a000c0f4:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
a000c0f8:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a000c0fc:	ebffd62e 	bl	a00019bc <free>                                <== NOT EXECUTED
a000c100:	eaffff2d 	b	a000bdbc <fifo_open+0x64>                       <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a000c104:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          <== NOT EXECUTED
a000c108:	eb00020f 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a000c10c:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          <== NOT EXECUTED
a000c110:	eb00020d 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a000c114:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
a000c118:	ebffe333 	bl	a0004dec <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a000c11c:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
a000c120:	ebffd625 	bl	a00019bc <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a000c124:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000c128:	ebffd623 	bl	a00019bc <free>                                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000c12c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000c130:	ebffe39e 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a000c134:	eaffff30 	b	a000bdfc <fifo_open+0xa4>                       <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000c138:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a000c13c:	e28d1008 	add	r1, sp, #8                                    <== NOT EXECUTED
a000c140:	eb00021b 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000c144:	eaffff8b 	b	a000bf78 <fifo_open+0x220>                      <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
a000c148:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a000c14c:	e28d1008 	add	r1, sp, #8                                    <== NOT EXECUTED
a000c150:	eb000217 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000c154:	eaffffce 	b	a000c094 <fifo_open+0x33c>                      <== NOT EXECUTED
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
a000c158:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000c15c:	e28d1008 	add	r1, sp, #8                                    <== NOT EXECUTED
a000c160:	eb000213 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000c164:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
a000c168:	eaffffac 	b	a000c020 <fifo_open+0x2c8>                      <== NOT EXECUTED
                                                                      
a00087a4 <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;        
a00087a4:	e59f3044 	ldr	r3, [pc, #68]	; a00087f0 <file_systems_below_this_mountpoint+0x4c><== NOT EXECUTED
a00087a8:	e4932004 	ldr	r2, [r3], #4                                  <== NOT EXECUTED
a00087ac:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00087b0:	0a00000a 	beq	a00087e0 <file_systems_below_this_mountpoint+0x3c><== NOT EXECUTED
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
a00087b4:	e5910010 	ldr	r0, [r1, #16]                                 <== NOT EXECUTED
a00087b8:	e5921018 	ldr	r1, [r2, #24]                                 <== NOT EXECUTED
a00087bc:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
a00087c0:	1a000003 	bne	a00087d4 <file_systems_below_this_mountpoint+0x30><== NOT EXECUTED
a00087c4:	ea000007 	b	a00087e8 <file_systems_below_this_mountpoint+0x44><== NOT EXECUTED
a00087c8:	e5921018 	ldr	r1, [r2, #24]                                 <== NOT EXECUTED
a00087cc:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
a00087d0:	0a000004 	beq	a00087e8 <file_systems_below_this_mountpoint+0x44><== NOT EXECUTED
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
a00087d4:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a00087d8:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00087dc:	1afffff9 	bne	a00087c8 <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
a00087e0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
a00087e4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a00087e8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a00087ec:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0002bc0 <fpathconf>:                                                 
{                                                                     
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
a0002bc0:	e59f3108 	ldr	r3, [pc, #264]	; a0002cd0 <fpathconf+0x110>   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
a0002bc4:	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);                                           
a0002bc8:	e5933000 	ldr	r3, [r3]                                      
a0002bcc:	e1500003 	cmp	r0, r3                                        
a0002bd0:	2a000034 	bcs	a0002ca8 <fpathconf+0xe8>                     
  iop = rtems_libio_iop(fd);                                          
a0002bd4:	e59f30f8 	ldr	r3, [pc, #248]	; a0002cd4 <fpathconf+0x114>   
a0002bd8:	e5933000 	ldr	r3, [r3]                                      
a0002bdc:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002be0:	e5903014 	ldr	r3, [r0, #20]                                 
a0002be4:	e3130c01 	tst	r3, #256	; 0x100                              
a0002be8:	0a00002e 	beq	a0002ca8 <fpathconf+0xe8>                     
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002bec:	e3130002 	tst	r3, #2                                        
a0002bf0:	0a000031 	beq	a0002cbc <fpathconf+0xfc>                     
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
a0002bf4:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
a0002bf8:	e351000b 	cmp	r1, #11                                       
a0002bfc:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
a0002c00:	ea00000d 	b	a0002c3c <fpathconf+0x7c>                       
a0002c04:	a0002c50 	.word	0xa0002c50                                  <== NOT EXECUTED
a0002c08:	a0002c58 	.word	0xa0002c58                                  <== NOT EXECUTED
a0002c0c:	a0002c60 	.word	0xa0002c60                                  <== NOT EXECUTED
a0002c10:	a0002c68 	.word	0xa0002c68                                  <== NOT EXECUTED
a0002c14:	a0002c70 	.word	0xa0002c70                                  <== NOT EXECUTED
a0002c18:	a0002c78 	.word	0xa0002c78                                  <== NOT EXECUTED
a0002c1c:	a0002c80 	.word	0xa0002c80                                  <== NOT EXECUTED
a0002c20:	a0002c88 	.word	0xa0002c88                                  <== NOT EXECUTED
a0002c24:	a0002c90 	.word	0xa0002c90                                  <== NOT EXECUTED
a0002c28:	a0002c98 	.word	0xa0002c98                                  <== NOT EXECUTED
a0002c2c:	a0002ca0 	.word	0xa0002ca0                                  <== NOT EXECUTED
a0002c30:	a0002c34 	.word	0xa0002c34                                  <== NOT EXECUTED
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
a0002c34:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
a0002c38:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0002c3c:	eb003626 	bl	a00104dc <__errno>                             
a0002c40:	e3a03016 	mov	r3, #22                                       
a0002c44:	e5803000 	str	r3, [r0]                                      
a0002c48:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
a0002c4c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
a0002c50:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
a0002c54:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
a0002c58:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
a0002c5c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
a0002c60:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
a0002c64:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
a0002c68:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
a0002c6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
a0002c70:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
a0002c74:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
a0002c78:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
a0002c7c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
a0002c80:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
a0002c84:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
a0002c88:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
a0002c8c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
a0002c90:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
a0002c94:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
a0002c98:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
a0002c9c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
a0002ca0:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
a0002ca4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
a0002ca8:	eb00360b 	bl	a00104dc <__errno>                             
a0002cac:	e3a03009 	mov	r3, #9                                        
a0002cb0:	e5803000 	str	r3, [r0]                                      
a0002cb4:	e3e00000 	mvn	r0, #0                                        
a0002cb8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
a0002cbc:	eb003606 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a0002cc0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002cc4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002cc8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002ccc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a00019bc <free>:                                                      
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a00019bc:	e59f3090 	ldr	r3, [pc, #144]	; a0001a54 <free+0x98>         
a00019c0:	e92d4030 	push	{r4, r5, lr}                                 
a00019c4:	e593200c 	ldr	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a00019c8:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
a00019cc:	e2822001 	add	r2, r2, #1                                    
a00019d0:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
a00019d4:	0a000010 	beq	a0001a1c <free+0x60>                          
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a00019d8:	e59f3078 	ldr	r3, [pc, #120]	; a0001a58 <free+0x9c>         
a00019dc:	e5933000 	ldr	r3, [r3]                                      
a00019e0:	e3530003 	cmp	r3, #3                                        
a00019e4:	0a000014 	beq	a0001a3c <free+0x80>                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a00019e8:	e59f306c 	ldr	r3, [pc, #108]	; a0001a5c <free+0xa0>         
a00019ec:	e5933000 	ldr	r3, [r3]                                      
a00019f0:	e3530000 	cmp	r3, #0                                        
a00019f4:	0a000002 	beq	a0001a04 <free+0x48>                          
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
a00019f8:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a00019fc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001a00:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
a0001a04:	e59f5054 	ldr	r5, [pc, #84]	; a0001a60 <free+0xa4>          
a0001a08:	e1a01004 	mov	r1, r4                                        
a0001a0c:	e5950000 	ldr	r0, [r5]                                      
a0001a10:	eb0013c6 	bl	a0006930 <_Protected_heap_Free>                
a0001a14:	e3500000 	cmp	r0, #0                                        
a0001a18:	0a000000 	beq	a0001a20 <free+0x64>                          
a0001a1c:	e8bd8030 	pop	{r4, r5, pc}                                  
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
a0001a20:	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",
a0001a24:	e59f0038 	ldr	r0, [pc, #56]	; a0001a64 <free+0xa8>          <== NOT EXECUTED
a0001a28:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0001a2c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001a30:	e5922018 	ldr	r2, [r2, #24]                                 <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0001a34:	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",
a0001a38:	ea000344 	b	a0002750 <printk>                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001a3c:	eb000048 	bl	a0001b64 <malloc_is_system_state_OK>           
a0001a40:	e3500000 	cmp	r0, #0                                        
a0001a44:	1affffe7 	bne	a00019e8 <free+0x2c>                          
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
a0001a48:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
a0001a4c:	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);                                      
a0001a50:	ea000056 	b	a0001bb0 <malloc_deferred_free>                 <== NOT EXECUTED
                                                                      
a00031a8 <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                                    
a00031a8:	e59f305c 	ldr	r3, [pc, #92]	; a000320c <free_user_env+0x64> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a00031ac:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a00031b0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
a00031b4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
a00031b8:	0a000012 	beq	a0003208 <free_user_env+0x60>                 <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
a00031bc:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
a00031c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00031c4:	0a000004 	beq	a00031dc <free_user_env+0x34>                 <== NOT EXECUTED
a00031c8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00031cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00031d0:	0a000001 	beq	a00031dc <free_user_env+0x34>                 <== NOT EXECUTED
a00031d4:	e2800004 	add	r0, r0, #4                                    <== NOT EXECUTED
a00031d8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
a00031dc:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a00031e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00031e4:	0a000004 	beq	a00031fc <free_user_env+0x54>                 <== NOT EXECUTED
a00031e8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00031ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00031f0:	0a000001 	beq	a00031fc <free_user_env+0x54>                 <== NOT EXECUTED
a00031f4:	e2840018 	add	r0, r4, #24                                   <== NOT EXECUTED
a00031f8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		free(env);                                                          
a00031fc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
a0003200:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
a0003204:	eafffbab 	b	a00020b8 <free>                                 <== NOT EXECUTED
a0003208:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a00187d8 <fstat>:                                                     
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
a00187d8:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
a00187dc:	e2515000 	subs	r5, r1, #0                                   
a00187e0:	0a000023 	beq	a0018874 <fstat+0x9c>                         
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
a00187e4:	e59f309c 	ldr	r3, [pc, #156]	; a0018888 <fstat+0xb0>        
a00187e8:	e5933000 	ldr	r3, [r3]                                      
a00187ec:	e1500003 	cmp	r0, r3                                        
a00187f0:	2a000015 	bcs	a001884c <fstat+0x74>                         
a00187f4:	e59f3090 	ldr	r3, [pc, #144]	; a001888c <fstat+0xb4>        
a00187f8:	e5934000 	ldr	r4, [r3]                                      
a00187fc:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
a0018800:	e5943014 	ldr	r3, [r4, #20]                                 
a0018804:	e3130c01 	tst	r3, #256	; 0x100                              
a0018808:	0a00000f 	beq	a001884c <fstat+0x74>                         
                                                                      
  if ( !iop->handlers )                                               
a001880c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0018810:	e3530000 	cmp	r3, #0                                        
a0018814:	0a00000c 	beq	a001884c <fstat+0x74>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fstat_h )                                      
a0018818:	e5933018 	ldr	r3, [r3, #24]                                 
a001881c:	e3530000 	cmp	r3, #0                                        
a0018820:	0a00000e 	beq	a0018860 <fstat+0x88>                         
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
a0018824:	e3a01000 	mov	r1, #0                                        
a0018828:	e3a02048 	mov	r2, #72	; 0x48                                
a001882c:	e1a00005 	mov	r0, r5                                        
a0018830:	ebffd707 	bl	a000e454 <memset>                              
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
a0018834:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0018838:	e2840018 	add	r0, r4, #24                                   
a001883c:	e1a01005 	mov	r1, r5                                        
a0018840:	e5933018 	ldr	r3, [r3, #24]                                 
a0018844:	e12fff33 	blx	r3                                            
}                                                                     
a0018848:	e8bd8030 	pop	{r4, r5, pc}                                  
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
a001884c:	ebffd4b6 	bl	a000db2c <__errno>                             
a0018850:	e3a03009 	mov	r3, #9                                        
a0018854:	e5803000 	str	r3, [r0]                                      
a0018858:	e3e00000 	mvn	r0, #0                                        
a001885c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  if ( !iop->handlers->fstat_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0018860:	ebffd4b1 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018864:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0018868:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a001886c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018870:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0018874:	ebffd4ac 	bl	a000db2c <__errno>                             
a0018878:	e3a0300e 	mov	r3, #14                                       
a001887c:	e5803000 	str	r3, [r0]                                      
a0018880:	e3e00000 	mvn	r0, #0                                        
a0018884:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a0002e48 <fsync>:                                                     
  int     fd                                                          
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002e48:	e59f3088 	ldr	r3, [pc, #136]	; a0002ed8 <fsync+0x90>        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
a0002e4c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0002e50:	e5933000 	ldr	r3, [r3]                                      
a0002e54:	e1500003 	cmp	r0, r3                                        
a0002e58:	2a00000f 	bcs	a0002e9c <fsync+0x54>                         
  iop = rtems_libio_iop( fd );                                        
a0002e5c:	e59f3078 	ldr	r3, [pc, #120]	; a0002edc <fsync+0x94>        
a0002e60:	e5933000 	ldr	r3, [r3]                                      
a0002e64:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0002e68:	e5903014 	ldr	r3, [r0, #20]                                 
a0002e6c:	e3130c01 	tst	r3, #256	; 0x100                              
a0002e70:	0a000009 	beq	a0002e9c <fsync+0x54>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0002e74:	e3130004 	tst	r3, #4                                        
a0002e78:	0a00000c 	beq	a0002eb0 <fsync+0x68>                         
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0002e7c:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
a0002e80:	e3530000 	cmp	r3, #0                                        
a0002e84:	0a000004 	beq	a0002e9c <fsync+0x54>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
a0002e88:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0002e8c:	e3530000 	cmp	r3, #0                                        
a0002e90:	0a00000b 	beq	a0002ec4 <fsync+0x7c>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
a0002e94:	e12fff33 	blx	r3                                            
}                                                                     
a0002e98:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0002e9c:	eb00358e 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a0002ea0:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0002ea4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002ea8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002eac:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0002eb0:	eb003589 	bl	a00104dc <__errno>                             
a0002eb4:	e3a03016 	mov	r3, #22                                       
a0002eb8:	e5803000 	str	r3, [r0]                                      
a0002ebc:	e3e00000 	mvn	r0, #0                                        
a0002ec0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0002ec4:	eb003584 	bl	a00104dc <__errno>                             
a0002ec8:	e3a03086 	mov	r3, #134	; 0x86                               
a0002ecc:	e5803000 	str	r3, [r0]                                      
a0002ed0:	e3e00000 	mvn	r0, #0                                        
a0002ed4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a0009908 <ftruncate>:                                                 
)                                                                     
{                                                                     
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0009908:	e59f30ec 	ldr	r3, [pc, #236]	; a00099fc <ftruncate+0xf4>    
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a000990c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0009910:	e5933000 	ldr	r3, [r3]                                      
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a0009914:	e24dd014 	sub	sp, sp, #20                                   
a0009918:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a000991c:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
a0009920:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a0009924:	2a000020 	bcs	a00099ac <ftruncate+0xa4>                     
  iop = rtems_libio_iop( fd );                                        
a0009928:	e59f30d0 	ldr	r3, [pc, #208]	; a0009a00 <ftruncate+0xf8>    
a000992c:	e5934000 	ldr	r4, [r3]                                      
a0009930:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0009934:	e5943014 	ldr	r3, [r4, #20]                                 
a0009938:	e3130c01 	tst	r3, #256	; 0x100                              
a000993c:	0a00001a 	beq	a00099ac <ftruncate+0xa4>                     
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a0009940:	e284c018 	add	ip, r4, #24                                   
a0009944:	e1a0700d 	mov	r7, sp                                        
a0009948:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000994c:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a0009950:	e59d100c 	ldr	r1, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a0009954:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a0009958:	e591c010 	ldr	ip, [r1, #16]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
a000995c:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
a0009960:	e35c0000 	cmp	ip, #0                                        
a0009964:	0a00001a 	beq	a00099d4 <ftruncate+0xcc>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
a0009968:	e1a0000d 	mov	r0, sp                                        
a000996c:	e12fff3c 	blx	ip                                            
a0009970:	e3500001 	cmp	r0, #1                                        
a0009974:	0a00001b 	beq	a00099e8 <ftruncate+0xe0>                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0009978:	e5943014 	ldr	r3, [r4, #20]                                 
a000997c:	e3130004 	tst	r3, #4                                        
a0009980:	0a00000e 	beq	a00099c0 <ftruncate+0xb8>                     
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
a0009984:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0009988:	e5933020 	ldr	r3, [r3, #32]                                 
a000998c:	e3530000 	cmp	r3, #0                                        
a0009990:	0a00000f 	beq	a00099d4 <ftruncate+0xcc>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
a0009994:	e1a00004 	mov	r0, r4                                        
a0009998:	e1a01005 	mov	r1, r5                                        
a000999c:	e1a02006 	mov	r2, r6                                        
a00099a0:	e12fff33 	blx	r3                                            
}                                                                     
a00099a4:	e28dd014 	add	sp, sp, #20                                   
a00099a8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00099ac:	eb00105e 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00099b0:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00099b4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00099b8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00099bc:	eafffff8 	b	a00099a4 <ftruncate+0x9c>                       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a00099c0:	eb001059 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00099c4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00099c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00099cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00099d0:	eafffff3 	b	a00099a4 <ftruncate+0x9c>                       <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00099d4:	eb001054 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00099d8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00099dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00099e0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00099e4:	eaffffee 	b	a00099a4 <ftruncate+0x9c>                       <== NOT EXECUTED
  loc = iop->pathinfo;                                                
  if ( !loc.ops->node_type_h )                                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a00099e8:	eb00104f 	bl	a000db2c <__errno>                             
a00099ec:	e3a03015 	mov	r3, #21                                       
a00099f0:	e5803000 	str	r3, [r0]                                      
a00099f4:	e3e00000 	mvn	r0, #0                                        
a00099f8:	eaffffe9 	b	a00099a4 <ftruncate+0x9c>                       
                                                                      
a001c7a8 <getdents>:                                                  
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001c7a8:	e59f30ac 	ldr	r3, [pc, #172]	; a001c85c <getdents+0xb4>     
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001c7ac:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001c7b0:	e5933000 	ldr	r3, [r3]                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001c7b4:	e24dd014 	sub	sp, sp, #20                                   
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001c7b8:	e1a0700d 	mov	r7, sp                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001c7bc:	e1500003 	cmp	r0, r3                                        
a001c7c0:	359f3098 	ldrcc	r3, [pc, #152]	; a001c860 <getdents+0xb8>   
a001c7c4:	23a04000 	movcs	r4, #0                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001c7c8:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001c7cc:	35934000 	ldrcc	r4, [r3]                                    
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
a001c7d0:	e1a05002 	mov	r5, r2                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
a001c7d4:	30844300 	addcc	r4, r4, r0, lsl #6                          
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001c7d8:	e284c018 	add	ip, r4, #24                                   
a001c7dc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a001c7e0:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
a001c7e4:	e59d100c 	ldr	r1, [sp, #12]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001c7e8:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
a001c7ec:	e591c010 	ldr	ip, [r1, #16]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
a001c7f0:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
a001c7f4:	e35c0000 	cmp	ip, #0                                        
a001c7f8:	0a000012 	beq	a001c848 <getdents+0xa0>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
a001c7fc:	e1a0000d 	mov	r0, sp                                        
a001c800:	e12fff3c 	blx	ip                                            
a001c804:	e3500001 	cmp	r0, #1                                        
a001c808:	1a000009 	bne	a001c834 <getdents+0x8c>                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a001c80c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a001c810:	e5933008 	ldr	r3, [r3, #8]                                  
a001c814:	e3530000 	cmp	r3, #0                                        
a001c818:	0a00000a 	beq	a001c848 <getdents+0xa0>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
a001c81c:	e1a00004 	mov	r0, r4                                        
a001c820:	e1a01006 	mov	r1, r6                                        
a001c824:	e1a02005 	mov	r2, r5                                        
a001c828:	e12fff33 	blx	r3                                            
}                                                                     
a001c82c:	e28dd014 	add	sp, sp, #20                                   
a001c830:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  loc = iop->pathinfo;                                                
  if ( !loc.ops->node_type_h )                                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a001c834:	ebffcef2 	bl	a0010404 <__errno>                             
a001c838:	e3a03014 	mov	r3, #20                                       
a001c83c:	e5803000 	str	r3, [r0]                                      
a001c840:	e3e00000 	mvn	r0, #0                                        
a001c844:	eafffff8 	b	a001c82c <getdents+0x84>                        
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a001c848:	ebffceed 	bl	a0010404 <__errno>                             <== NOT EXECUTED
a001c84c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a001c850:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a001c854:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a001c858:	eafffff3 	b	a001c82c <getdents+0x84>                        <== NOT EXECUTED
                                                                      
a0002820 <getgr_r>:                                                   
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a0002820:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0002824:	e59d801c 	ldr	r8, [sp, #28]                                 
a0002828:	e1a05000 	mov	r5, r0                                        
a000282c:	e1a0a001 	mov	sl, r1                                        
a0002830:	e1a04002 	mov	r4, r2                                        
a0002834:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a0002838:	ebffffb0 	bl	a0002700 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
a000283c:	e59f00b0 	ldr	r0, [pc, #176]	; a00028f4 <getgr_r+0xd4>      
a0002840:	e59f10b0 	ldr	r1, [pc, #176]	; a00028f8 <getgr_r+0xd8>      
a0002844:	eb00376b 	bl	a00105f8 <fopen>                               
a0002848:	e2506000 	subs	r6, r0, #0                                   
a000284c:	1a000006 	bne	a000286c <getgr_r+0x4c>                       
a0002850:	ea000022 	b	a00028e0 <getgr_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a0002854:	e5940000 	ldr	r0, [r4]                                      
a0002858:	eb003b3b 	bl	a001154c <strcmp>                              
a000285c:	e2700001 	rsbs	r0, r0, #1                                   
a0002860:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
    }                                                                 
    if (match) {                                                      
a0002864:	e3500000 	cmp	r0, #0                                        
a0002868:	1a00000f 	bne	a00028ac <getgr_r+0x8c>                       
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a000286c:	e1a01004 	mov	r1, r4                                        
a0002870:	e1a02007 	mov	r2, r7                                        
a0002874:	e1a03008 	mov	r3, r8                                        
a0002878:	e1a00006 	mov	r0, r6                                        
a000287c:	ebfffedf 	bl	a0002400 <scangr>                              
a0002880:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
a0002884:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
a0002888:	0a00000d 	beq	a00028c4 <getgr_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
a000288c:	e3550000 	cmp	r5, #0                                        
a0002890:	1affffef 	bne	a0002854 <getgr_r+0x34>                       
      match = (strcmp(grp->gr_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
a0002894:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0002898:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a000289c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a00028a0:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a00028a4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00028a8:	0affffef 	beq	a000286c <getgr_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a00028ac:	e1a00006 	mov	r0, r6                                        
a00028b0:	eb003598 	bl	a000ff18 <fclose>                              
      *result = grp;                                                  
a00028b4:	e59d3020 	ldr	r3, [sp, #32]                                 
a00028b8:	e3a00000 	mov	r0, #0                                        
a00028bc:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a00028c0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
a00028c4:	eb003546 	bl	a000fde4 <__errno>                             <== NOT EXECUTED
a00028c8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00028cc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a00028d0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00028d4:	eb00358f 	bl	a000ff18 <fclose>                              <== NOT EXECUTED
a00028d8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a00028dc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
a00028e0:	eb00353f 	bl	a000fde4 <__errno>                             <== NOT EXECUTED
a00028e4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a00028e8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00028ec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a00028f0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
a0002554 <getgrent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct group *getgrent(void)                                          
{                                                                     
a0002554:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (group_fp == NULL)                                               
a0002558:	e59f4030 	ldr	r4, [pc, #48]	; a0002590 <getgrent+0x3c>      <== NOT EXECUTED
a000255c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0002560:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002564:	1a000001 	bne	a0002570 <getgrent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a0002568:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
a000256c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct group *getgrent(void)                                          
{                                                                     
  if (group_fp == NULL)                                               
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
a0002570:	e2841008 	add	r1, r4, #8                                    <== NOT EXECUTED
a0002574:	e2842018 	add	r2, r4, #24                                   <== NOT EXECUTED
a0002578:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a000257c:	ebffff9f 	bl	a0002400 <scangr>                              <== NOT EXECUTED
a0002580:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002584:	0afffff7 	beq	a0002568 <getgrent+0x14>                      <== NOT EXECUTED
a0002588:	e2840008 	add	r0, r4, #8                                    <== NOT EXECUTED
a000258c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a0002938 <getgrgid>:                                                  
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a0002938:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a000293c:	e59f1030 	ldr	r1, [pc, #48]	; a0002974 <getgrgid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
a0002940:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a0002944:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
a0002948:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a000294c:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
a0002950:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0002954:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0002958:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000295c:	ebffffe6 	bl	a00028fc <getgrgid_r>                          <== NOT EXECUTED
a0002960:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002964:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0002968:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a000296c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002970:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
a00028fc <getgrgid_r>:                                                
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a00028fc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0002900:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0002904:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0002908:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a000290c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0002910:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0002914:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
a0002918:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
a000291c:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0002920:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a0002924:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002928:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a000292c:	ebffffbb 	bl	a0002820 <getgr_r>                             <== NOT EXECUTED
}                                                                     
a0002930:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002934:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
a0002a1c <getpw_r>:                                                   
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0002a1c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
a0002a20:	e59d801c 	ldr	r8, [sp, #28]                                 
a0002a24:	e1a05000 	mov	r5, r0                                        
a0002a28:	e1a0a001 	mov	sl, r1                                        
a0002a2c:	e1a04002 	mov	r4, r2                                        
a0002a30:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
a0002a34:	ebffff31 	bl	a0002700 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
a0002a38:	e59f00b0 	ldr	r0, [pc, #176]	; a0002af0 <getpw_r+0xd4>      
a0002a3c:	e59f10b0 	ldr	r1, [pc, #176]	; a0002af4 <getpw_r+0xd8>      
a0002a40:	eb0036ec 	bl	a00105f8 <fopen>                               
a0002a44:	e2506000 	subs	r6, r0, #0                                   
a0002a48:	1a000006 	bne	a0002a68 <getpw_r+0x4c>                       
a0002a4c:	ea000022 	b	a0002adc <getpw_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a0002a50:	e5940000 	ldr	r0, [r4]                                      
a0002a54:	eb003abc 	bl	a001154c <strcmp>                              
a0002a58:	e2700001 	rsbs	r0, r0, #1                                   
a0002a5c:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
    if (match) {                                                      
a0002a60:	e3500000 	cmp	r0, #0                                        
a0002a64:	1a00000f 	bne	a0002aa8 <getpw_r+0x8c>                       
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a0002a68:	e1a01004 	mov	r1, r4                                        
a0002a6c:	e1a02007 	mov	r2, r7                                        
a0002a70:	e1a03008 	mov	r3, r8                                        
a0002a74:	e1a00006 	mov	r0, r6                                        
a0002a78:	ebfffec5 	bl	a0002594 <scanpw>                              
a0002a7c:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
a0002a80:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
a0002a84:	0a00000d 	beq	a0002ac0 <getpw_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
a0002a88:	e3550000 	cmp	r5, #0                                        
a0002a8c:	1affffef 	bne	a0002a50 <getpw_r+0x34>                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
a0002a90:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
a0002a94:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
a0002a98:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a0002a9c:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
a0002aa0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002aa4:	0affffef 	beq	a0002a68 <getpw_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
a0002aa8:	e1a00006 	mov	r0, r6                                        
a0002aac:	eb003519 	bl	a000ff18 <fclose>                              
      *result = pwd;                                                  
a0002ab0:	e59d3020 	ldr	r3, [sp, #32]                                 
a0002ab4:	e3a00000 	mov	r0, #0                                        
a0002ab8:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
a0002abc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
a0002ac0:	eb0034c7 	bl	a000fde4 <__errno>                             <== NOT EXECUTED
a0002ac4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002ac8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
a0002acc:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0002ad0:	eb003510 	bl	a000ff18 <fclose>                              <== NOT EXECUTED
a0002ad4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
a0002ad8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
a0002adc:	eb0034c0 	bl	a000fde4 <__errno>                             <== NOT EXECUTED
a0002ae0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0002ae4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0002ae8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0002aec:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      
a00026c0 <getpwent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
a00026c0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
a00026c4:	e59f4030 	ldr	r4, [pc, #48]	; a00026fc <getpwent+0x3c>      <== NOT EXECUTED
a00026c8:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a00026cc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00026d0:	1a000001 	bne	a00026dc <getpwent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a00026d4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
a00026d8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
  if (passwd_fp == NULL)                                              
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
a00026dc:	e28410e0 	add	r1, r4, #224	; 0xe0                           <== NOT EXECUTED
a00026e0:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
a00026e4:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a00026e8:	ebffffa9 	bl	a0002594 <scanpw>                              <== NOT EXECUTED
a00026ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00026f0:	0afffff7 	beq	a00026d4 <getpwent+0x14>                      <== NOT EXECUTED
a00026f4:	e28400e0 	add	r0, r4, #224	; 0xe0                           <== NOT EXECUTED
a00026f8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a0002b34 <getpwuid>:                                                  
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0002b34:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0002b38:	e59f1030 	ldr	r1, [pc, #48]	; a0002b70 <getpwuid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
a0002b3c:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
a0002b40:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
a0002b44:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
a0002b48:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
a0002b4c:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
a0002b50:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
a0002b54:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0002b58:	ebffffe6 	bl	a0002af8 <getpwuid_r>                          <== NOT EXECUTED
a0002b5c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002b60:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
a0002b64:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
a0002b68:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002b6c:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
a0002af8 <getpwuid_r>:                                                
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0002af8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0002afc:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
a0002b00:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0002b04:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0002b08:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0002b0c:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
a0002b10:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
a0002b14:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
a0002b18:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
a0002b1c:	e1a01820 	lsr	r1, r0, #16                                   <== NOT EXECUTED
a0002b20:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002b24:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0002b28:	ebffffbb 	bl	a0002a1c <getpw_r>                             <== NOT EXECUTED
}                                                                     
a0002b2c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0002b30:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
a0009a2c <gettimeofday>:                                              
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
a0009a2c:	e92d4030 	push	{r4, r5, lr}                                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
a0009a30:	e2504000 	subs	r4, r0, #0                                   
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
a0009a34:	e24dd008 	sub	sp, sp, #8                                    
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
a0009a38:	0a00000e 	beq	a0009a78 <gettimeofday+0x4c>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0009a3c:	e10f5000 	mrs	r5, CPSR                                      
a0009a40:	e3853080 	orr	r3, r5, #128	; 0x80                           
a0009a44:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
a0009a48:	e1a0000d 	mov	r0, sp                                        
a0009a4c:	eb00047d 	bl	a000ac48 <_TOD_Get>                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0009a50:	e129f005 	msr	CPSR_fc, r5                                   
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
a0009a54:	e59fc030 	ldr	ip, [pc, #48]	; a0009a8c <gettimeofday+0x60>  
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
a0009a58:	e89d000c 	ldm	sp, {r2, r3}                                  
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
a0009a5c:	e3a00000 	mov	r0, #0                                        
a0009a60:	e0c1539c 	smull	r5, r1, ip, r3                              
a0009a64:	e1a03fc3 	asr	r3, r3, #31                                   
a0009a68:	e0633341 	rsb	r3, r3, r1, asr #6                            
a0009a6c:	e884000c 	stm	r4, {r2, r3}                                  
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a0009a70:	e28dd008 	add	sp, sp, #8                                    
a0009a74:	e8bd8030 	pop	{r4, r5, pc}                                  
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    errno = EFAULT;                                                   
a0009a78:	eb00102b 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0009a7c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a0009a80:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0009a84:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
a0009a88:	eafffff8 	b	a0009a70 <gettimeofday+0x44>                    <== NOT EXECUTED
                                                                      
a0005608 <ioctl>:                                                     
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a0005608:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a000560c:	e59f308c 	ldr	r3, [pc, #140]	; a00056a0 <ioctl+0x98>        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a0005610:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005614:	e5933000 	ldr	r3, [r3]                                      
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
a0005618:	e24dd004 	sub	sp, sp, #4                                    
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
a000561c:	e1500003 	cmp	r0, r3                                        
a0005620:	2a000014 	bcs	a0005678 <ioctl+0x70>                         
  iop = rtems_libio_iop( fd );                                        
a0005624:	e59f3078 	ldr	r3, [pc, #120]	; a00056a4 <ioctl+0x9c>        
a0005628:	e5933000 	ldr	r3, [r3]                                      
a000562c:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a0005630:	e5903014 	ldr	r3, [r0, #20]                                 
a0005634:	e3130c01 	tst	r3, #256	; 0x100                              
a0005638:	0a00000e 	beq	a0005678 <ioctl+0x70>                         
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a000563c:	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 *);                                        
a0005640:	e28d2010 	add	r2, sp, #16                                   
a0005644:	e58d2000 	str	r2, [sp]                                      
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0005648:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
a000564c:	e59d200c 	ldr	r2, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
a0005650:	0a000008 	beq	a0005678 <ioctl+0x70>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
a0005654:	e5933010 	ldr	r3, [r3, #16]                                 
a0005658:	e3530000 	cmp	r3, #0                                        
a000565c:	0a00000a 	beq	a000568c <ioctl+0x84>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
a0005660:	e59d1008 	ldr	r1, [sp, #8]                                  
a0005664:	e12fff33 	blx	r3                                            
                                                                      
  return rc;                                                          
}                                                                     
a0005668:	e28dd004 	add	sp, sp, #4                                    
a000566c:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
a0005670:	e28dd00c 	add	sp, sp, #12                                   
a0005674:	e12fff1e 	bx	lr                                             
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
a0005678:	eb0037c0 	bl	a0013580 <__errno>                             
a000567c:	e3a03009 	mov	r3, #9                                        
a0005680:	e5803000 	str	r3, [r0]                                      
a0005684:	e3e00000 	mvn	r0, #0                                        
a0005688:	eafffff6 	b	a0005668 <ioctl+0x60>                           
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000568c:	eb0037bb 	bl	a0013580 <__errno>                             <== NOT EXECUTED
a0005690:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005694:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005698:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000569c:	eafffff1 	b	a0005668 <ioctl+0x60>                           <== NOT EXECUTED
                                                                      
a000326c <iproc>:                                                     
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	if (tty->termios.c_iflag & ISTRIP)                                   
a000326c:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003270:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
a0003274:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003278:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
a000327c:	1200407f 	andne	r4, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
a0003280:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0003284:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
a0003288:	0a000007 	beq	a00032ac <iproc+0x40>                         <== NOT EXECUTED
		c = tolower (c);                                                    
a000328c:	e59f219c 	ldr	r2, [pc, #412]	; a0003430 <iproc+0x1c4>       <== NOT EXECUTED
a0003290:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a0003294:	e0822004 	add	r2, r2, r4                                    <== NOT EXECUTED
a0003298:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a000329c:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a00032a0:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
a00032a4:	02844020 	addeq	r4, r4, #32                                 <== NOT EXECUTED
a00032a8:	e20440ff 	and	r4, r4, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
a00032ac:	e354000d 	cmp	r4, #13                                       <== NOT EXECUTED
a00032b0:	0a000012 	beq	a0003300 <iproc+0x94>                         <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
a00032b4:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a00032b8:	0a000034 	beq	a0003390 <iproc+0x124>                        <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
a00032bc:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
a00032c0:	1a000015 	bne	a000331c <iproc+0xb0>                         <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
a00032c4:	e59f2168 	ldr	r2, [pc, #360]	; a0003434 <iproc+0x1c8>       <== NOT EXECUTED
a00032c8:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00032cc:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
a00032d0:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a00032d4:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00032d8:	aa00000a 	bge	a0003308 <iproc+0x9c>                         <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
a00032dc:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a00032e0:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
a00032e4:	1a00002c 	bne	a000339c <iproc+0x130>                        <== NOT EXECUTED
			echo (c, tty);                                                     
		tty->cbuf[tty->ccount++] = c;                                       
a00032e8:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a00032ec:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a00032f0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00032f4:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a00032f8:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a00032fc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
		c = tolower (c);                                                    
	if (c == '\r') {                                                     
		if (tty->termios.c_iflag & IGNCR)                                   
a0003300:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
a0003304:	0a000001 	beq	a0003310 <iproc+0xa4>                         <== NOT EXECUTED
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
		if (tty->termios.c_lflag & ECHO)                                    
			echo (c, tty);                                                     
		tty->cbuf[tty->ccount++] = c;                                       
a0003308:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
a000330c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
		c = tolower (c);                                                    
	if (c == '\r') {                                                     
		if (tty->termios.c_iflag & IGNCR)                                   
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
a0003310:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a0003314:	03a0400d 	moveq	r4, #13                                     <== NOT EXECUTED
a0003318:	13a0400a 	movne	r4, #10                                     <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
a000331c:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          <== NOT EXECUTED
a0003320:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a0003324:	0affffe6 	beq	a00032c4 <iproc+0x58>                         <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
a0003328:	e5d52043 	ldrb	r2, [r5, #67]	; 0x43                         <== NOT EXECUTED
a000332c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003330:	0a000039 	beq	a000341c <iproc+0x1b0>                        <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
a0003334:	e5d52044 	ldrb	r2, [r5, #68]	; 0x44                         <== NOT EXECUTED
a0003338:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000333c:	0a000031 	beq	a0003408 <iproc+0x19c>                        <== NOT EXECUTED
			erase (tty, 1);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
a0003340:	e5d52045 	ldrb	r2, [r5, #69]	; 0x45                         <== NOT EXECUTED
a0003344:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003348:	0a000028 	beq	a00033f0 <iproc+0x184>                        <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
a000334c:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
a0003350:	0a00001b 	beq	a00033c4 <iproc+0x158>                        <== NOT EXECUTED
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
				echo (c, tty);                                                    
			tty->cbuf[tty->ccount++] = c;                                      
			return 1;                                                          
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
a0003354:	e5d5204c 	ldrb	r2, [r5, #76]	; 0x4c                         <== NOT EXECUTED
a0003358:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a000335c:	0a000002 	beq	a000336c <iproc+0x100>                        <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
a0003360:	e5d52051 	ldrb	r2, [r5, #81]	; 0x51                         <== NOT EXECUTED
a0003364:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
a0003368:	1affffd5 	bne	a00032c4 <iproc+0x58>                         <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
a000336c:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
a0003370:	1a000020 	bne	a00033f8 <iproc+0x18c>                        <== NOT EXECUTED
				echo (c, tty);                                                    
			tty->cbuf[tty->ccount++] = c;                                      
a0003374:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a0003378:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a000337c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003380:	e0832000 	add	r2, r3, r0                                    <== NOT EXECUTED
a0003384:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a0003388:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
			return 1;                                                          
a000338c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
a0003390:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
a0003394:	13a0400d 	movne	r4, #13                                     <== NOT EXECUTED
a0003398:	eaffffdf 	b	a000331c <iproc+0xb0>                           <== NOT EXECUTED
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
		if (tty->termios.c_lflag & ECHO)                                    
			echo (c, tty);                                                     
a000339c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00033a0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00033a4:	ebffff0c 	bl	a0002fdc <echo>                                <== NOT EXECUTED
a00033a8:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
a00033ac:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a00033b0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00033b4:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a00033b8:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
a00033bc:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a00033c0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
a00033c4:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
a00033c8:	0a000002 	beq	a00033d8 <iproc+0x16c>                        <== NOT EXECUTED
				echo (c, tty);                                                    
a00033cc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00033d0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00033d4:	ebffff00 	bl	a0002fdc <echo>                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
a00033d8:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
a00033dc:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
a00033e0:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
a00033e4:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
a00033e8:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
a00033ec:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
a00033f0:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
			return 1;                                                          
a00033f4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
		      || (c == tty->termios.c_cc[VEOL2])) {                         
			if (tty->termios.c_lflag & ECHO)                                   
				echo (c, tty);                                                    
a00033f8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00033fc:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a0003400:	ebfffef5 	bl	a0002fdc <echo>                                <== NOT EXECUTED
a0003404:	eaffffda 	b	a0003374 <iproc+0x108>                          <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
			erase (tty, 1);                                                    
a0003408:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000340c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003410:	ebffff13 	bl	a0003064 <erase>                               <== NOT EXECUTED
a0003414:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
a0003418:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
		if (c == tty->termios.c_cc[VERASE]) {                               
			erase (tty, 0);                                                    
a000341c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003420:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0003424:	ebffff0e 	bl	a0003064 <erase>                               <== NOT EXECUTED
a0003428:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
a000342c:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
a000d484 <killinfo>:                                                  
int killinfo(                                                         
  pid_t               pid,                                            
  int                 sig,                                            
  const union sigval *value                                           
)                                                                     
{                                                                     
a000d484:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
a000d488:	e24dd00c 	sub	sp, sp, #12                                   
a000d48c:	e1a04000 	mov	r4, r0                                        
a000d490:	e1a05001 	mov	r5, r1                                        
a000d494:	e1a07002 	mov	r7, r2                                        
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
a000d498:	ebfffc15 	bl	a000c4f4 <getpid>                              
a000d49c:	e1500004 	cmp	r0, r4                                        
a000d4a0:	1a000097 	bne	a000d704 <killinfo+0x280>                     
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
a000d4a4:	e3550000 	cmp	r5, #0                                        
a000d4a8:	0a00009a 	beq	a000d718 <killinfo+0x294>                     
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
a000d4ac:	e2453001 	sub	r3, r5, #1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
a000d4b0:	e353001f 	cmp	r3, #31                                       
a000d4b4:	8a000097 	bhi	a000d718 <killinfo+0x294>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
a000d4b8:	e59f6284 	ldr	r6, [pc, #644]	; a000d744 <killinfo+0x2c0>    
a000d4bc:	e3a0100c 	mov	r1, #12                                       
a000d4c0:	e0226591 	mla	r2, r1, r5, r6                                
a000d4c4:	e5922008 	ldr	r2, [r2, #8]                                  
a000d4c8:	e3520001 	cmp	r2, #1                                        
a000d4cc:	0a00003a 	beq	a000d5bc <killinfo+0x138>                     
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
a000d4d0:	e3550008 	cmp	r5, #8                                        
a000d4d4:	13550004 	cmpne	r5, #4                                      
a000d4d8:	0a00003a 	beq	a000d5c8 <killinfo+0x144>                     
a000d4dc:	e355000b 	cmp	r5, #11                                       
a000d4e0:	0a000038 	beq	a000d5c8 <killinfo+0x144>                     
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
a000d4e4:	e3a04001 	mov	r4, #1                                        
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
a000d4e8:	e3570000 	cmp	r7, #0                                        
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
a000d4ec:	e58d4004 	str	r4, [sp, #4]                                  
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
a000d4f0:	e58d5000 	str	r5, [sp]                                      
a000d4f4:	e1a04314 	lsl	r4, r4, r3                                    
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
a000d4f8:	15973000 	ldrne	r3, [r7]                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
a000d4fc:	058d7008 	streq	r7, [sp, #8]                                
  } else {                                                            
    siginfo->si_value = *value;                                       
a000d500:	158d3008 	strne	r3, [sp, #8]                                
a000d504:	e59f323c 	ldr	r3, [pc, #572]	; a000d748 <killinfo+0x2c4>    
a000d508:	e5932000 	ldr	r2, [r3]                                      
a000d50c:	e2822001 	add	r2, r2, #1                                    
a000d510:	e5832000 	str	r2, [r3]                                      
                                                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
  the_thread = _Thread_Executing;                                     
a000d514:	e59f3230 	ldr	r3, [pc, #560]	; a000d74c <killinfo+0x2c8>    
a000d518:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
a000d51c:	e5903108 	ldr	r3, [r0, #264]	; 0x108                        
a000d520:	e59330cc 	ldr	r3, [r3, #204]	; 0xcc                         
a000d524:	e1d43003 	bics	r3, r4, r3                                   
a000d528:	1a000014 	bne	a000d580 <killinfo+0xfc>                      
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
a000d52c:	e59fc21c 	ldr	ip, [pc, #540]	; a000d750 <killinfo+0x2cc>    
a000d530:	e49c3004 	ldr	r3, [ip], #4                                  
a000d534:	e153000c 	cmp	r3, ip                                        
a000d538:	0a00003a 	beq	a000d628 <killinfo+0x1a4>                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a000d53c:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
a000d540:	e1a00003 	mov	r0, r3                                        
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
a000d544:	e5931108 	ldr	r1, [r3, #264]	; 0x108                        
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a000d548:	e1140002 	tst	r4, r2                                        
a000d54c:	0a000008 	beq	a000d574 <killinfo+0xf0>                      
a000d550:	ea00000a 	b	a000d580 <killinfo+0xfc>                        
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
a000d554:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
a000d558:	e153000c 	cmp	r3, ip                                        
a000d55c:	0a000031 	beq	a000d628 <killinfo+0x1a4>                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a000d560:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          <== NOT EXECUTED
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
a000d564:	e5931108 	ldr	r1, [r3, #264]	; 0x108                        <== NOT EXECUTED
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
a000d568:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
a000d56c:	e1140002 	tst	r4, r2                                        <== NOT EXECUTED
a000d570:	1a000002 	bne	a000d580 <killinfo+0xfc>                      <== NOT EXECUTED
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
a000d574:	e59120cc 	ldr	r2, [r1, #204]	; 0xcc                         
a000d578:	e1d42002 	bics	r2, r4, r2                                   
a000d57c:	0afffff4 	beq	a000d554 <killinfo+0xd0>                      
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
a000d580:	e3a03001 	mov	r3, #1                                        
a000d584:	e5c03074 	strb	r3, [r0, #116]	; 0x74                        
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
a000d588:	e1a01005 	mov	r1, r5                                        
a000d58c:	e1a0200d 	mov	r2, sp                                        
a000d590:	eb0000a7 	bl	a000d834 <_POSIX_signals_Unblock_thread>       
a000d594:	e3500000 	cmp	r0, #0                                        
a000d598:	1a00001f 	bne	a000d61c <killinfo+0x198>                     
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
a000d59c:	e1a00004 	mov	r0, r4                                        
a000d5a0:	eb000091 	bl	a000d7ec <_POSIX_signals_Set_process_signals>  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
a000d5a4:	e3a0300c 	mov	r3, #12                                       
a000d5a8:	e0040593 	mul	r4, r3, r5                                    
a000d5ac:	e7963004 	ldr	r3, [r6, r4]                                  
a000d5b0:	e3530002 	cmp	r3, #2                                        
a000d5b4:	0a000007 	beq	a000d5d8 <killinfo+0x154>                     
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
a000d5b8:	ebffe671 	bl	a0006f84 <_Thread_Enable_dispatch>             
a000d5bc:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
a000d5c0:	e28dd00c 	add	sp, sp, #12                                   
a000d5c4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
a000d5c8:	eb000128 	bl	a000da70 <pthread_self>                        
a000d5cc:	e1a01005 	mov	r1, r5                                        
a000d5d0:	eb0000e8 	bl	a000d978 <pthread_kill>                        
a000d5d4:	eafffff9 	b	a000d5c0 <killinfo+0x13c>                       
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
a000d5d8:	e59f0174 	ldr	r0, [pc, #372]	; a000d754 <killinfo+0x2d0>    
a000d5dc:	ebffe09f 	bl	a0005860 <_Chain_Get>                          
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
a000d5e0:	e2503000 	subs	r3, r0, #0                                   
a000d5e4:	0a000050 	beq	a000d72c <killinfo+0x2a8>                     
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
a000d5e8:	e59d1000 	ldr	r1, [sp]                                      
a000d5ec:	e28d2004 	add	r2, sp, #4                                    
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
a000d5f0:	e59f0160 	ldr	r0, [pc, #352]	; a000d758 <killinfo+0x2d4>    
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
a000d5f4:	e5831008 	str	r1, [r3, #8]                                  
a000d5f8:	e492c004 	ldr	ip, [r2], #4                                  
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
a000d5fc:	e0800004 	add	r0, r0, r4                                    
a000d600:	e1a01003 	mov	r1, r3                                        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
a000d604:	e583c00c 	str	ip, [r3, #12]                                 
a000d608:	e5922000 	ldr	r2, [r2]                                      
a000d60c:	e5832010 	str	r2, [r3, #16]                                 
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
a000d610:	ebffe087 	bl	a0005834 <_Chain_Append>                       
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
a000d614:	ebffe65a 	bl	a0006f84 <_Thread_Enable_dispatch>             
a000d618:	eaffffe7 	b	a000d5bc <killinfo+0x138>                       
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
    _Thread_Enable_dispatch();                                        
a000d61c:	ebffe658 	bl	a0006f84 <_Thread_Enable_dispatch>             
a000d620:	e3a00000 	mov	r0, #0                                        
    return 0;                                                         
a000d624:	eaffffe5 	b	a000d5c0 <killinfo+0x13c>                       
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a000d628:	e59f312c 	ldr	r3, [pc, #300]	; a000d75c <killinfo+0x2d8>    
a000d62c:	e59fa12c 	ldr	sl, [pc, #300]	; a000d760 <killinfo+0x2dc>    
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
a000d630:	e3a00000 	mov	r0, #0                                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a000d634:	e5d3c000 	ldrb	ip, [r3]                                     
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
a000d638:	e28a900c 	add	r9, sl, #12                                   
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
a000d63c:	e28cc001 	add	ip, ip, #1                                    
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and ITRON is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
a000d640:	e59a3008 	ldr	r3, [sl, #8]                                  
a000d644:	e3530000 	cmp	r3, #0                                        
a000d648:	0a000020 	beq	a000d6d0 <killinfo+0x24c>                     
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
a000d64c:	e5933004 	ldr	r3, [r3, #4]                                  
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
a000d650:	e1d3e1b0 	ldrh	lr, [r3, #16]                                
    object_table = the_info->local_table;                             
a000d654:	e593701c 	ldr	r7, [r3, #28]                                 
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a000d658:	e35e0000 	cmp	lr, #0                                        
a000d65c:	0a00001b 	beq	a000d6d0 <killinfo+0x24c>                     
a000d660:	e3a03001 	mov	r3, #1                                        
      the_thread = (Thread_Control *) object_table[ index ];          
a000d664:	e7972103 	ldr	r2, [r7, r3, lsl #2]                          
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a000d668:	e2833001 	add	r3, r3, #1                                    
      the_thread = (Thread_Control *) object_table[ index ];          
                                                                      
      if ( !the_thread )                                              
a000d66c:	e3520000 	cmp	r2, #0                                        
a000d670:	0a000014 	beq	a000d6c8 <killinfo+0x244>                     
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
a000d674:	e5921014 	ldr	r1, [r2, #20]                                 
a000d678:	e151000c 	cmp	r1, ip                                        
a000d67c:	8a000011 	bhi	a000d6c8 <killinfo+0x244>                     
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
a000d680:	e5928108 	ldr	r8, [r2, #264]	; 0x108                        
a000d684:	e59880cc 	ldr	r8, [r8, #204]	; 0xcc                         
a000d688:	e1d48008 	bics	r8, r4, r8                                   
a000d68c:	0a00000d 	beq	a000d6c8 <killinfo+0x244>                     
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
a000d690:	e151000c 	cmp	r1, ip                                        
a000d694:	3a000009 	bcc	a000d6c0 <killinfo+0x23c>                     
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
a000d698:	e5908010 	ldr	r8, [r0, #16]                                 
a000d69c:	e3580000 	cmp	r8, #0                                        
a000d6a0:	0a000008 	beq	a000d6c8 <killinfo+0x244>                     
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
a000d6a4:	e592b010 	ldr	fp, [r2, #16]                                 
a000d6a8:	e35b0000 	cmp	fp, #0                                        
a000d6ac:	0a000003 	beq	a000d6c0 <killinfo+0x23c>                     
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
a000d6b0:	e3180201 	tst	r8, #268435456	; 0x10000000                   
a000d6b4:	1a000003 	bne	a000d6c8 <killinfo+0x244>                     
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
a000d6b8:	e31b0201 	tst	fp, #268435456	; 0x10000000                   
a000d6bc:	0a000001 	beq	a000d6c8 <killinfo+0x244>                     
a000d6c0:	e1a0c001 	mov	ip, r1                                        
a000d6c4:	e1a00002 	mov	r0, r2                                        
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
a000d6c8:	e15e0003 	cmp	lr, r3                                        
a000d6cc:	2affffe4 	bcs	a000d664 <killinfo+0x1e0>                     
a000d6d0:	e28aa004 	add	sl, sl, #4                                    
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
a000d6d4:	e15a0009 	cmp	sl, r9                                        
a000d6d8:	1affffd8 	bne	a000d640 <killinfo+0x1bc>                     
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
a000d6dc:	e3500000 	cmp	r0, #0                                        
a000d6e0:	0affffad 	beq	a000d59c <killinfo+0x118>                     
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
a000d6e4:	e3a03001 	mov	r3, #1                                        
a000d6e8:	e5c03074 	strb	r3, [r0, #116]	; 0x74                        
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
a000d6ec:	e1a01005 	mov	r1, r5                                        
a000d6f0:	e1a0200d 	mov	r2, sp                                        
a000d6f4:	eb00004e 	bl	a000d834 <_POSIX_signals_Unblock_thread>       
a000d6f8:	e3500000 	cmp	r0, #0                                        
a000d6fc:	0affffa6 	beq	a000d59c <killinfo+0x118>                     
a000d700:	eaffffc5 	b	a000d61c <killinfo+0x198>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
a000d704:	eb000108 	bl	a000db2c <__errno>                             
a000d708:	e3a03003 	mov	r3, #3                                        
a000d70c:	e5803000 	str	r3, [r0]                                      
a000d710:	e3e00000 	mvn	r0, #0                                        
a000d714:	eaffffa9 	b	a000d5c0 <killinfo+0x13c>                       
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a000d718:	eb000103 	bl	a000db2c <__errno>                             
a000d71c:	e3a03016 	mov	r3, #22                                       
a000d720:	e5803000 	str	r3, [r0]                                      
a000d724:	e3e00000 	mvn	r0, #0                                        
a000d728:	eaffffa4 	b	a000d5c0 <killinfo+0x13c>                       
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
a000d72c:	ebffe614 	bl	a0006f84 <_Thread_Enable_dispatch>             
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
a000d730:	eb0000fd 	bl	a000db2c <__errno>                             
a000d734:	e3a0300b 	mov	r3, #11                                       
a000d738:	e5803000 	str	r3, [r0]                                      
a000d73c:	e3e00000 	mvn	r0, #0                                        
a000d740:	eaffff9e 	b	a000d5c0 <killinfo+0x13c>                       
                                                                      
a00189fc <libc_wrapup>:                                               
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
a00189fc:	e59f3058 	ldr	r3, [pc, #88]	; a0018a5c <libc_wrapup+0x60>   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
a0018a00:	e92d4030 	push	{r4, r5, lr}                                 
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
a0018a04:	e5933000 	ldr	r3, [r3]                                      
a0018a08:	e3530003 	cmp	r3, #3                                        
a0018a0c:	0a000000 	beq	a0018a14 <libc_wrapup+0x18>                   
a0018a10:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
a0018a14:	e59f3044 	ldr	r3, [pc, #68]	; a0018a60 <libc_wrapup+0x64>   
a0018a18:	e59f4044 	ldr	r4, [pc, #68]	; a0018a64 <libc_wrapup+0x68>   
a0018a1c:	e5935000 	ldr	r5, [r3]                                      
a0018a20:	e5943000 	ldr	r3, [r4]                                      
a0018a24:	e1530005 	cmp	r3, r5                                        
a0018a28:	0a000002 	beq	a0018a38 <libc_wrapup+0x3c>                   
      _wrapup_reent(_global_impure_ptr);                              
a0018a2c:	e1a00005 	mov	r0, r5                                        
a0018a30:	eb000174 	bl	a0019008 <_wrapup_reent>                       
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
a0018a34:	e5845000 	str	r5, [r4]                                      
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
a0018a38:	e5950004 	ldr	r0, [r5, #4]                                  
a0018a3c:	ebffd487 	bl	a000dc60 <fclose>                              
  fclose (stdout);                                                    
a0018a40:	e5943000 	ldr	r3, [r4]                                      
a0018a44:	e5930008 	ldr	r0, [r3, #8]                                  
a0018a48:	ebffd484 	bl	a000dc60 <fclose>                              
  fclose (stderr);                                                    
a0018a4c:	e5943000 	ldr	r3, [r4]                                      
a0018a50:	e593000c 	ldr	r0, [r3, #12]                                 
}                                                                     
a0018a54:	e8bd4030 	pop	{r4, r5, lr}                                  
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
a0018a58:	eaffd480 	b	a000dc60 <fclose>                               
                                                                      
a0003270 <link>:                                                      
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
a0003270:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0003274:	e24dd030 	sub	sp, sp, #48	; 0x30                            
a0003278:	e1a06001 	mov	r6, r1                                        
a000327c:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
a0003280:	eb0039ef 	bl	a0011a44 <strlen>                              
a0003284:	e28d5018 	add	r5, sp, #24                                   
a0003288:	e1a01000 	mov	r1, r0                                        
a000328c:	e3a0c001 	mov	ip, #1                                        
a0003290:	e1a00004 	mov	r0, r4                                        
a0003294:	e3a02000 	mov	r2, #0                                        
a0003298:	e1a03005 	mov	r3, r5                                        
a000329c:	e58dc000 	str	ip, [sp]                                      
a00032a0:	ebfffe8c 	bl	a0002cd8 <rtems_filesystem_evaluate_path>      
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
a00032a4:	e3500000 	cmp	r0, #0                                        
a00032a8:	1a00004b 	bne	a00033dc <link+0x16c>                         
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a00032ac:	e5d63000 	ldrb	r3, [r6]                                     
a00032b0:	e353002f 	cmp	r3, #47	; 0x2f                                
a00032b4:	1353005c 	cmpne	r3, #92	; 0x5c                              
a00032b8:	13a0e000 	movne	lr, #0                                      
a00032bc:	03a0e001 	moveq	lr, #1                                      
a00032c0:	1a000033 	bne	a0003394 <link+0x124>                         
a00032c4:	e59f31f0 	ldr	r3, [pc, #496]	; a00034bc <link+0x24c>        
a00032c8:	e28d4004 	add	r4, sp, #4                                    
a00032cc:	e3a0e001 	mov	lr, #1                                        
a00032d0:	e593c000 	ldr	ip, [r3]                                      
a00032d4:	e28cc018 	add	ip, ip, #24                                   
a00032d8:	e1a07004 	mov	r7, r4                                        
a00032dc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a00032e0:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
a00032e4:	e59d3010 	ldr	r3, [sp, #16]                                 
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a00032e8:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
a00032ec:	e5933004 	ldr	r3, [r3, #4]                                  
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a00032f0:	e5872000 	str	r2, [r7]                                      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
a00032f4:	e3530000 	cmp	r3, #0                                        
a00032f8:	0a00002c 	beq	a00033b0 <link+0x140>                         
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
a00032fc:	e086000e 	add	r0, r6, lr                                    
a0003300:	e1a01004 	mov	r1, r4                                        
a0003304:	e28d202c 	add	r2, sp, #44	; 0x2c                            
a0003308:	e12fff33 	blx	r3                                            
  if ( result != 0 ) {                                                
a000330c:	e2506000 	subs	r6, r0, #0                                   
a0003310:	1a000048 	bne	a0003438 <link+0x1c8>                         
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
a0003314:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
a0003318:	e59d2014 	ldr	r2, [sp, #20]                                 
a000331c:	e1520003 	cmp	r2, r3                                        
a0003320:	1a00002f 	bne	a00033e4 <link+0x174>                         
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
a0003324:	e59d2010 	ldr	r2, [sp, #16]                                 
a0003328:	e5923008 	ldr	r3, [r2, #8]                                  
a000332c:	e3530000 	cmp	r3, #0                                        
a0003330:	0a00004c 	beq	a0003468 <link+0x1f8>                         
    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 );
a0003334:	e1a00005 	mov	r0, r5                                        
a0003338:	e1a01004 	mov	r1, r4                                        
a000333c:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
a0003340:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a0003344:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
a0003348:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
a000334c:	e3530000 	cmp	r3, #0                                        
a0003350:	0a000004 	beq	a0003368 <link+0xf8>                          
a0003354:	e593301c 	ldr	r3, [r3, #28]                                 
a0003358:	e3530000 	cmp	r3, #0                                        
a000335c:	0a000001 	beq	a0003368 <link+0xf8>                          
a0003360:	e1a00005 	mov	r0, r5                                        
a0003364:	e12fff33 	blx	r3                                            
  rtems_filesystem_freenode( &parent_loc );                           
a0003368:	e59d3010 	ldr	r3, [sp, #16]                                 
a000336c:	e3530000 	cmp	r3, #0                                        
a0003370:	0a000004 	beq	a0003388 <link+0x118>                         
a0003374:	e593301c 	ldr	r3, [r3, #28]                                 
a0003378:	e3530000 	cmp	r3, #0                                        
a000337c:	0a000001 	beq	a0003388 <link+0x118>                         
a0003380:	e1a00004 	mov	r0, r4                                        
a0003384:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0003388:	e1a00006 	mov	r0, r6                                        
a000338c:	e28dd030 	add	sp, sp, #48	; 0x30                            
a0003390:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
a0003394:	e3530000 	cmp	r3, #0                                        
a0003398:	0affffc9 	beq	a00032c4 <link+0x54>                          
a000339c:	e59f3118 	ldr	r3, [pc, #280]	; a00034bc <link+0x24c>        
a00033a0:	e28d4004 	add	r4, sp, #4                                    
a00033a4:	e593c000 	ldr	ip, [r3]                                      
a00033a8:	e28cc004 	add	ip, ip, #4                                    
a00033ac:	eaffffc9 	b	a00032d8 <link+0x68>                            
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
a00033b0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a00033b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00033b8:	0a000004 	beq	a00033d0 <link+0x160>                         <== NOT EXECUTED
a00033bc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00033c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00033c4:	0a000001 	beq	a00033d0 <link+0x160>                         <== NOT EXECUTED
a00033c8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00033cc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00033d0:	eb00340b 	bl	a0010404 <__errno>                             <== NOT EXECUTED
a00033d4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00033d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00033dc:	e3e06000 	mvn	r6, #0                                        
a00033e0:	eaffffe8 	b	a0003388 <link+0x118>                           
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
    rtems_filesystem_freenode( &existing_loc );                       
a00033e4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a00033e8:	e3530000 	cmp	r3, #0                                        
a00033ec:	0a000004 	beq	a0003404 <link+0x194>                         
a00033f0:	e593301c 	ldr	r3, [r3, #28]                                 
a00033f4:	e3530000 	cmp	r3, #0                                        
a00033f8:	0a000001 	beq	a0003404 <link+0x194>                         
a00033fc:	e1a00005 	mov	r0, r5                                        
a0003400:	e12fff33 	blx	r3                                            
    rtems_filesystem_freenode( &parent_loc );                         
a0003404:	e59d3010 	ldr	r3, [sp, #16]                                 
a0003408:	e3530000 	cmp	r3, #0                                        
a000340c:	0a000004 	beq	a0003424 <link+0x1b4>                         
a0003410:	e593301c 	ldr	r3, [r3, #28]                                 
a0003414:	e3530000 	cmp	r3, #0                                        
a0003418:	0a000001 	beq	a0003424 <link+0x1b4>                         
a000341c:	e1a00004 	mov	r0, r4                                        
a0003420:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
a0003424:	eb0033f6 	bl	a0010404 <__errno>                             
a0003428:	e3a03012 	mov	r3, #18                                       
a000342c:	e5803000 	str	r3, [r0]                                      
a0003430:	e3e06000 	mvn	r6, #0                                        
a0003434:	eaffffd3 	b	a0003388 <link+0x118>                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &existing_loc );                       
a0003438:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000343c:	e3530000 	cmp	r3, #0                                        
a0003440:	0a000004 	beq	a0003458 <link+0x1e8>                         
a0003444:	e593301c 	ldr	r3, [r3, #28]                                 
a0003448:	e3530000 	cmp	r3, #0                                        
a000344c:	0a000001 	beq	a0003458 <link+0x1e8>                         
a0003450:	e1a00005 	mov	r0, r5                                        
a0003454:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( result );                   
a0003458:	eb0033e9 	bl	a0010404 <__errno>                             
a000345c:	e5806000 	str	r6, [r0]                                      
a0003460:	e3e06000 	mvn	r6, #0                                        
a0003464:	eaffffc7 	b	a0003388 <link+0x118>                           
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    rtems_filesystem_freenode( &existing_loc );                       
a0003468:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000346c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003470:	0a000005 	beq	a000348c <link+0x21c>                         <== NOT EXECUTED
a0003474:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0003478:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000347c:	0a000002 	beq	a000348c <link+0x21c>                         <== NOT EXECUTED
a0003480:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003484:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003488:	e59d2010 	ldr	r2, [sp, #16]                                 <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
a000348c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003490:	0a000004 	beq	a00034a8 <link+0x238>                         <== NOT EXECUTED
a0003494:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0003498:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000349c:	0a000001 	beq	a00034a8 <link+0x238>                         <== NOT EXECUTED
a00034a0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00034a4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00034a8:	eb0033d5 	bl	a0010404 <__errno>                             <== NOT EXECUTED
a00034ac:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00034b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00034b4:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
a00034b8:	eaffffb2 	b	a0003388 <link+0x118>                           <== NOT EXECUTED
                                                                      
a00188a4 <lseek>:                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a00188a4:	e59fc12c 	ldr	ip, [pc, #300]	; a00189d8 <lseek+0x134>       
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a00188a8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a00188ac:	e59cc000 	ldr	ip, [ip]                                      
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
a00188b0:	e1a07001 	mov	r7, r1                                        
a00188b4:	e1a08002 	mov	r8, r2                                        
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
a00188b8:	e150000c 	cmp	r0, ip                                        
a00188bc:	2a000039 	bcs	a00189a8 <lseek+0x104>                        
  iop = rtems_libio_iop( fd );                                        
a00188c0:	e59f2114 	ldr	r2, [pc, #276]	; a00189dc <lseek+0x138>       
a00188c4:	e5924000 	ldr	r4, [r2]                                      
a00188c8:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
a00188cc:	e5942014 	ldr	r2, [r4, #20]                                 
a00188d0:	e3120c01 	tst	r2, #256	; 0x100                              
a00188d4:	0a000033 	beq	a00189a8 <lseek+0x104>                        
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
a00188d8:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          
a00188dc:	e5921014 	ldr	r1, [r2, #20]                                 
a00188e0:	e3510000 	cmp	r1, #0                                        
a00188e4:	0a000035 	beq	a00189c0 <lseek+0x11c>                        
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
a00188e8:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
a00188ec:	e284600c 	add	r6, r4, #12                                   
a00188f0:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
a00188f4:	0a000026 	beq	a0018994 <lseek+0xf0>                         
a00188f8:	e3530002 	cmp	r3, #2                                        
a00188fc:	0a00000f 	beq	a0018940 <lseek+0x9c>                         
a0018900:	e3530000 	cmp	r3, #0                                        
a0018904:	1a00001a 	bne	a0018974 <lseek+0xd0>                         
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
a0018908:	e584700c 	str	r7, [r4, #12]                                 
a001890c:	e5848010 	str	r8, [r4, #16]                                 
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
a0018910:	e592c014 	ldr	ip, [r2, #20]                                 
a0018914:	e1a01007 	mov	r1, r7                                        
a0018918:	e1a02008 	mov	r2, r8                                        
a001891c:	e1a00004 	mov	r0, r4                                        
a0018920:	e12fff3c 	blx	ip                                            
  if ( status == (off_t) -1 )                                         
a0018924:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
a0018928:	e1a02000 	mov	r2, r0                                        
a001892c:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
a0018930:	0a000008 	beq	a0018958 <lseek+0xb4>                         
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0018934:	e1a01003 	mov	r1, r3                                        
a0018938:	e1a00002 	mov	r0, r2                                        
a001893c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
a0018940:	e9940003 	ldmib	r4, {r0, r1}                                
a0018944:	e0900007 	adds	r0, r0, r7                                   
a0018948:	e0a11008 	adc	r1, r1, r8                                    
a001894c:	e584000c 	str	r0, [r4, #12]                                 
a0018950:	e5841010 	str	r1, [r4, #16]                                 
      break;                                                          
a0018954:	eaffffed 	b	a0018910 <lseek+0x6c>                           
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
  if ( status == (off_t) -1 )                                         
a0018958:	e3710001 	cmn	r1, #1                                        
a001895c:	1afffff4 	bne	a0018934 <lseek+0x90>                         
    iop->offset = old_offset;                                         
a0018960:	e584500c 	str	r5, [r4, #12]                                 
a0018964:	e5846010 	str	r6, [r4, #16]                                 
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0018968:	e1a01003 	mov	r1, r3                                        
a001896c:	e1a00002 	mov	r0, r2                                        
a0018970:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0018974:	ebffd46c 	bl	a000db2c <__errno>                             
a0018978:	e3a03016 	mov	r3, #22                                       
a001897c:	e5803000 	str	r3, [r0]                                      
a0018980:	e3e02000 	mvn	r2, #0                                        
a0018984:	e3e03000 	mvn	r3, #0                                        
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
a0018988:	e1a01003 	mov	r1, r3                                        
a001898c:	e1a00002 	mov	r0, r2                                        
a0018990:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
a0018994:	e0970005 	adds	r0, r7, r5                                   
a0018998:	e0a81006 	adc	r1, r8, r6                                    
a001899c:	e584000c 	str	r0, [r4, #12]                                 
a00189a0:	e5841010 	str	r1, [r4, #16]                                 
      break;                                                          
a00189a4:	eaffffd9 	b	a0018910 <lseek+0x6c>                           
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
a00189a8:	ebffd45f 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00189ac:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a00189b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00189b4:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a00189b8:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a00189bc:	eaffffdc 	b	a0018934 <lseek+0x90>                           <== NOT EXECUTED
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00189c0:	ebffd459 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00189c4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00189c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00189cc:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a00189d0:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a00189d4:	eaffffd6 	b	a0018934 <lseek+0x90>                           <== NOT EXECUTED
                                                                      
a0001cd8 <malloc>:                                                    
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
a0001cd8:	e59f30e4 	ldr	r3, [pc, #228]	; a0001dc4 <malloc+0xec>       
a0001cdc:	e92d4070 	push	{r4, r5, r6, lr}                             
a0001ce0:	e5932004 	ldr	r2, [r3, #4]                                  
a0001ce4:	e1a04000 	mov	r4, r0                                        
a0001ce8:	e2822001 	add	r2, r2, #1                                    
a0001cec:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a0001cf0:	ebffffb2 	bl	a0001bc0 <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
a0001cf4:	e3540000 	cmp	r4, #0                                        
a0001cf8:	0a000021 	beq	a0001d84 <malloc+0xac>                        
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001cfc:	e59f30c4 	ldr	r3, [pc, #196]	; a0001dc8 <malloc+0xf0>       
a0001d00:	e5933000 	ldr	r3, [r3]                                      
a0001d04:	e3530003 	cmp	r3, #3                                        
a0001d08:	0a00001a 	beq	a0001d78 <malloc+0xa0>                        
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
a0001d0c:	e59f30b8 	ldr	r3, [pc, #184]	; a0001dcc <malloc+0xf4>       
a0001d10:	e3a02000 	mov	r2, #0                                        
a0001d14:	e1a01004 	mov	r1, r4                                        
a0001d18:	e5930000 	ldr	r0, [r3]                                      
a0001d1c:	e1a03002 	mov	r3, r2                                        
a0001d20:	eb0012ef 	bl	a00068e4 <_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 ) {                                               
a0001d24:	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;                                              
a0001d28:	11a05006 	movne	r5, r6                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
a0001d2c:	0a000017 	beq	a0001d90 <malloc+0xb8>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
a0001d30:	e59f3098 	ldr	r3, [pc, #152]	; a0001dd0 <malloc+0xf8>       
a0001d34:	e5933000 	ldr	r3, [r3]                                      
a0001d38:	e3530000 	cmp	r3, #0                                        
a0001d3c:	0a000003 	beq	a0001d50 <malloc+0x78>                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
a0001d40:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0001d44:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0001d48:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001d4c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a0001d50:	e59f307c 	ldr	r3, [pc, #124]	; a0001dd4 <malloc+0xfc>       
a0001d54:	e5933000 	ldr	r3, [r3]                                      
a0001d58:	e3530000 	cmp	r3, #0                                        
a0001d5c:	0a000002 	beq	a0001d6c <malloc+0x94>                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0001d60:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0001d64:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001d68:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001d6c:	e1a06005 	mov	r6, r5                                        
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
a0001d70:	e1a00006 	mov	r0, r6                                        
a0001d74:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a0001d78:	ebffff79 	bl	a0001b64 <malloc_is_system_state_OK>           
a0001d7c:	e3500000 	cmp	r0, #0                                        
a0001d80:	1affffe1 	bne	a0001d0c <malloc+0x34>                        
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
a0001d84:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
a0001d88:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0001d8c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
a0001d90:	e59f3040 	ldr	r3, [pc, #64]	; a0001dd8 <malloc+0x100>       
a0001d94:	e5933000 	ldr	r3, [r3]                                      
a0001d98:	e3530000 	cmp	r3, #0                                        
a0001d9c:	0a000004 	beq	a0001db4 <malloc+0xdc>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
a0001da0:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0001da4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001da8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( !return_this ) {                                             
a0001dac:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
a0001db0:	1affffde 	bne	a0001d30 <malloc+0x58>                        <== NOT EXECUTED
      errno = ENOMEM;                                                 
a0001db4:	eb002f5c 	bl	a000db2c <__errno>                             
a0001db8:	e3a0300c 	mov	r3, #12                                       
a0001dbc:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
a0001dc0:	eaffffea 	b	a0001d70 <malloc+0x98>                          
                                                                      
a0001bb0 <malloc_deferred_free>:                                      
}                                                                     
                                                                      
void malloc_deferred_free(                                            
  void *pointer                                                       
)                                                                     
{                                                                     
a0001bb0:	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 );                               
a0001bb4:	e59f0000 	ldr	r0, [pc, #0]	; a0001bbc <malloc_deferred_free+0xc><== NOT EXECUTED
a0001bb8:	ea000f1d 	b	a0005834 <_Chain_Append>                        <== NOT EXECUTED
                                                                      
a0001bc0 <malloc_deferred_frees_process>:                             
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
a0001bc0:	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)
a0001bc4:	ea000000 	b	a0001bcc <malloc_deferred_frees_process+0xc>    
    free(to_be_freed);                                                
a0001bc8:	ebffff7b 	bl	a00019bc <free>                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
a0001bcc:	e59f000c 	ldr	r0, [pc, #12]	; a0001be0 <malloc_deferred_frees_process+0x20>
a0001bd0:	eb000f22 	bl	a0005860 <_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)
a0001bd4:	e3500000 	cmp	r0, #0                                        
a0001bd8:	1afffffa 	bne	a0001bc8 <malloc_deferred_frees_process+0x8>  
    free(to_be_freed);                                                
}                                                                     
a0001bdc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
a0010f20 <memfile_free_blocks_in_table>:                              
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a0010f20:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a0010f24:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
a0010f28:	e1a08001 	mov	r8, r1                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a0010f2c:	0a000014 	beq	a0010f84 <memfile_free_blocks_in_table+0x64>  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a0010f30:	e3510000 	cmp	r1, #0                                        
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
a0010f34:	e5947000 	ldr	r7, [r4]                                      
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a0010f38:	da00000c 	ble	a0010f70 <memfile_free_blocks_in_table+0x50>  
a0010f3c:	e3a05000 	mov	r5, #0                                        
a0010f40:	e1a06005 	mov	r6, r5                                        
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
a0010f44:	e1a0a005 	mov	sl, r5                                        
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
a0010f48:	e7970005 	ldr	r0, [r7, r5]                                  
a0010f4c:	e3500000 	cmp	r0, #0                                        
a0010f50:	0a000001 	beq	a0010f5c <memfile_free_blocks_in_table+0x3c>  
      memfile_free_block( b[i] );                                     
a0010f54:	ebffff4b 	bl	a0010c88 <memfile_free_block>                  
      b[i] = 0;                                                       
a0010f58:	e787a005 	str	sl, [r7, r5]                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
a0010f5c:	e2866001 	add	r6, r6, #1                                    
a0010f60:	e1580006 	cmp	r8, r6                                        
a0010f64:	e2855004 	add	r5, r5, #4                                    
a0010f68:	cafffff6 	bgt	a0010f48 <memfile_free_blocks_in_table+0x28>  
a0010f6c:	e5947000 	ldr	r7, [r4]                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
a0010f70:	e1a00007 	mov	r0, r7                                        
a0010f74:	ebffff43 	bl	a0010c88 <memfile_free_block>                  
  *block_table = 0;                                                   
a0010f78:	e3a03000 	mov	r3, #0                                        
a0010f7c:	e5843000 	str	r3, [r4]                                      
}                                                                     
a0010f80:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
a0010f84:	e3a01e1b 	mov	r1, #432	; 0x1b0                              <== NOT EXECUTED
a0010f88:	e2811003 	add	r1, r1, #3                                    <== NOT EXECUTED
a0010f8c:	e59f0008 	ldr	r0, [pc, #8]	; a0010f9c <memfile_free_blocks_in_table+0x7c><== NOT EXECUTED
a0010f90:	e59f2008 	ldr	r2, [pc, #8]	; a0010fa0 <memfile_free_blocks_in_table+0x80><== NOT EXECUTED
a0010f94:	e59f3008 	ldr	r3, [pc, #8]	; a0010fa4 <memfile_free_blocks_in_table+0x84><== NOT EXECUTED
a0010f98:	ebfff63e 	bl	a000e898 <__assert_func>                       <== NOT EXECUTED
                                                                      
a001148c <memfile_ftruncate>:                                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a001148c:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a0011490:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
a0011494:	e24dd008 	sub	sp, sp, #8                                    
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
a0011498:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
a001149c:	e1530002 	cmp	r3, r2                                        
a00114a0:	ba00000e 	blt	a00114e0 <memfile_ftruncate+0x54>             
a00114a4:	0a00000a 	beq	a00114d4 <memfile_ftruncate+0x48>             
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
a00114a8:	e5841050 	str	r1, [r4, #80]	; 0x50                          
a00114ac:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
a00114b0:	e9800006 	stmib	r0, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
a00114b4:	e3a01000 	mov	r1, #0                                        
a00114b8:	e1a0000d 	mov	r0, sp                                        
a00114bc:	ebffc6d0 	bl	a0003004 <gettimeofday>                        
a00114c0:	e59d3000 	ldr	r3, [sp]                                      
a00114c4:	e3a00000 	mov	r0, #0                                        
a00114c8:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
}                                                                     
a00114cc:	e28dd008 	add	sp, sp, #8                                    
a00114d0:	e8bd8010 	pop	{r4, pc}                                      
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
a00114d4:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
a00114d8:	e1530001 	cmp	r3, r1                                        
a00114dc:	2afffff1 	bcs	a00114a8 <memfile_ftruncate+0x1c>             
    return IMFS_memfile_extend( the_jnode, length );                  
a00114e0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00114e4:	ebffff87 	bl	a0011308 <IMFS_memfile_extend>                 <== NOT EXECUTED
a00114e8:	eafffff7 	b	a00114cc <memfile_ftruncate+0x40>               <== NOT EXECUTED
                                                                      
a00114ec <memfile_lseek>:                                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a00114ec:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
a00114f0:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
a00114f4:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
a00114f8:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
a00114fc:	e3530006 	cmp	r3, #6                                        
a0011500:	0a00000d 	beq	a001153c <memfile_lseek+0x50>                 
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
a0011504:	e1a00005 	mov	r0, r5                                        
a0011508:	e284200c 	add	r2, r4, #12                                   
a001150c:	e8920006 	ldm	r2, {r1, r2}                                  
a0011510:	ebffff7c 	bl	a0011308 <IMFS_memfile_extend>                 
a0011514:	e3500000 	cmp	r0, #0                                        
a0011518:	1a00001a 	bne	a0011588 <memfile_lseek+0x9c>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
a001151c:	e2853050 	add	r3, r5, #80	; 0x50                            
a0011520:	e893000c 	ldm	r3, {r2, r3}                                  
a0011524:	e984000c 	stmib	r4, {r2, r3}                                
a0011528:	e284300c 	add	r3, r4, #12                                   
a001152c:	e893000c 	ldm	r3, {r2, r3}                                  
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a0011530:	e1a01003 	mov	r1, r3                                        
a0011534:	e1a00002 	mov	r0, r2                                        
a0011538:	e8bd8030 	pop	{r4, r5, pc}                                  
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
a001153c:	e5901010 	ldr	r1, [r0, #16]                                 <== NOT EXECUTED
a0011540:	e2853050 	add	r3, r5, #80	; 0x50                            <== NOT EXECUTED
a0011544:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
a0011548:	e590000c 	ldr	r0, [r0, #12]                                 <== NOT EXECUTED
a001154c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
a0011550:	ca000007 	bgt	a0011574 <memfile_lseek+0x88>                 <== NOT EXECUTED
a0011554:	0a000004 	beq	a001156c <memfile_lseek+0x80>                 <== NOT EXECUTED
a0011558:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a001155c:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a0011560:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a0011564:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0011568:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
a001156c:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
a0011570:	9afffff8 	bls	a0011558 <memfile_lseek+0x6c>                 <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
a0011574:	e584200c 	str	r2, [r4, #12]                                 <== NOT EXECUTED
a0011578:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
a001157c:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
a0011580:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0011584:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
a0011588:	eb000704 	bl	a00131a0 <__errno>                             <== NOT EXECUTED
a001158c:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
a0011590:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0011594:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
a0011598:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
a001159c:	eaffffe3 	b	a0011530 <memfile_lseek+0x44>                   <== NOT EXECUTED
                                                                      
a001185c <memfile_open>:                                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a001185c:	e92d4830 	push	{r4, r5, fp, lr}                             
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a0011860:	e5903014 	ldr	r3, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
a0011864:	e24dd004 	sub	sp, sp, #4                                    
a0011868:	e1a04000 	mov	r4, r0                                        
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a001186c:	e3130f81 	tst	r3, #516	; 0x204                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
a0011870:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
a0011874:	0a000002 	beq	a0011884 <memfile_open+0x28>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
a0011878:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
a001187c:	e3520006 	cmp	r2, #6                                        
a0011880:	0a00000b 	beq	a00118b4 <memfile_open+0x58>                  
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
a0011884:	e5952050 	ldr	r2, [r5, #80]	; 0x50                          
a0011888:	e5951054 	ldr	r1, [r5, #84]	; 0x54                          
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
a001188c:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
a0011890:	1584200c 	strne	r2, [r4, #12]                               
a0011894:	15841010 	strne	r1, [r4, #16]                               
a0011898:	15951054 	ldrne	r1, [r5, #84]	; 0x54                        
a001189c:	15952050 	ldrne	r2, [r5, #80]	; 0x50                        
                                                                      
  iop->size = the_jnode->info.file.size;                              
a00118a0:	e3a00000 	mov	r0, #0                                        
a00118a4:	e5841008 	str	r1, [r4, #8]                                  
a00118a8:	e5842004 	str	r2, [r4, #4]                                  
  return 0;                                                           
}                                                                     
a00118ac:	e28dd004 	add	sp, sp, #4                                    
a00118b0:	e8bd8830 	pop	{r4, r5, fp, pc}                              
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
a00118b4:	e595c050 	ldr	ip, [r5, #80]	; 0x50                          <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
a00118b8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
a00118bc:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
a00118c0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00118c4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
a00118c8:	e15c0000 	cmp	ip, r0                                        <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
a00118cc:	e585304c 	str	r3, [r5, #76]	; 0x4c                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
a00118d0:	e5850060 	str	r0, [r5, #96]	; 0x60                          <== NOT EXECUTED
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
a00118d4:	e5953058 	ldr	r3, [r5, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
a00118d8:	e5851050 	str	r1, [r5, #80]	; 0x50                          <== NOT EXECUTED
a00118dc:	e5852054 	str	r2, [r5, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
a00118e0:	e585005c 	str	r0, [r5, #92]	; 0x5c                          <== NOT EXECUTED
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
a00118e4:	e5850058 	str	r0, [r5, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
a00118e8:	1a000004 	bne	a0011900 <memfile_open+0xa4>                  <== NOT EXECUTED
a00118ec:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
a00118f0:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a00118f4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a00118f8:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
a00118fc:	eaffffe2 	b	a001188c <memfile_open+0x30>                    <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
a0011900:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0011904:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0011908:	ebffff24 	bl	a00115a0 <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)                                                  
a001190c:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
a0011910:	0affffe5 	beq	a00118ac <memfile_open+0x50>                  <== NOT EXECUTED
a0011914:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a0011918:	eaffffd9 	b	a0011884 <memfile_open+0x28>                    <== NOT EXECUTED
                                                                      
a0001dec <mknod>:                                                     
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a0001dec:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
a0001df0:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
a0001df4:	e24dd01c 	sub	sp, sp, #28                                   
a0001df8:	e1a05001 	mov	r5, r1                                        
a0001dfc:	e1a0e000 	mov	lr, r0                                        
a0001e00:	e1a07002 	mov	r7, r2                                        
a0001e04:	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) ) )                 
a0001e08:	0a000040 	beq	a0001f10 <mknod+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a0001e0c:	e5d03000 	ldrb	r3, [r0]                                     
a0001e10:	e353002f 	cmp	r3, #47	; 0x2f                                
a0001e14:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0001e18:	13a06000 	movne	r6, #0                                      
a0001e1c:	03a06001 	moveq	r6, #1                                      
a0001e20:	1a000029 	bne	a0001ecc <mknod+0xe0>                         
a0001e24:	e59f30f8 	ldr	r3, [pc, #248]	; a0001f24 <mknod+0x138>       
a0001e28:	e28d4004 	add	r4, sp, #4                                    
a0001e2c:	e3a06001 	mov	r6, #1                                        
a0001e30:	e593c000 	ldr	ip, [r3]                                      
a0001e34:	e28cc018 	add	ip, ip, #24                                   
a0001e38:	e1a0a004 	mov	sl, r4                                        
a0001e3c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0001e40:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
a0001e44:	e59d3010 	ldr	r3, [sp, #16]                                 
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a0001e48:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
a0001e4c:	e5933004 	ldr	r3, [r3, #4]                                  
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a0001e50:	e58a2000 	str	r2, [sl]                                      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
a0001e54:	e3530000 	cmp	r3, #0                                        
a0001e58:	0a000027 	beq	a0001efc <mknod+0x110>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
a0001e5c:	e08e0006 	add	r0, lr, r6                                    
a0001e60:	e1a01004 	mov	r1, r4                                        
a0001e64:	e28d2018 	add	r2, sp, #24                                   
a0001e68:	e12fff33 	blx	r3                                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
a0001e6c:	e3500000 	cmp	r0, #0                                        
a0001e70:	1a000024 	bne	a0001f08 <mknod+0x11c>                        
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
a0001e74:	e59d3010 	ldr	r3, [sp, #16]                                 
a0001e78:	e593c014 	ldr	ip, [r3, #20]                                 
a0001e7c:	e35c0000 	cmp	ip, #0                                        
a0001e80:	0a000018 	beq	a0001ee8 <mknod+0xfc>                         
    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 );
a0001e84:	e1a01005 	mov	r1, r5                                        
a0001e88:	e1a03008 	mov	r3, r8                                        
a0001e8c:	e58d4000 	str	r4, [sp]                                      
a0001e90:	e59d0018 	ldr	r0, [sp, #24]                                 
a0001e94:	e1a02007 	mov	r2, r7                                        
a0001e98:	e12fff3c 	blx	ip                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0001e9c:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
a0001ea0:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0001ea4:	e3530000 	cmp	r3, #0                                        
a0001ea8:	0a000004 	beq	a0001ec0 <mknod+0xd4>                         
a0001eac:	e593301c 	ldr	r3, [r3, #28]                                 
a0001eb0:	e3530000 	cmp	r3, #0                                        
a0001eb4:	0a000001 	beq	a0001ec0 <mknod+0xd4>                         
a0001eb8:	e1a00004 	mov	r0, r4                                        
a0001ebc:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0001ec0:	e1a00005 	mov	r0, r5                                        
a0001ec4:	e28dd01c 	add	sp, sp, #28                                   
a0001ec8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
a0001ecc:	e3530000 	cmp	r3, #0                                        
a0001ed0:	0affffd3 	beq	a0001e24 <mknod+0x38>                         
a0001ed4:	e59f3048 	ldr	r3, [pc, #72]	; a0001f24 <mknod+0x138>        
a0001ed8:	e28d4004 	add	r4, sp, #4                                    
a0001edc:	e593c000 	ldr	ip, [r3]                                      
a0001ee0:	e28cc004 	add	ip, ip, #4                                    
a0001ee4:	eaffffd3 	b	a0001e38 <mknod+0x4c>                           
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
a0001ee8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0001eec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001ef0:	0a000001 	beq	a0001efc <mknod+0x110>                        <== NOT EXECUTED
a0001ef4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001ef8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001efc:	eb002f0a 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0001f00:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001f04:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001f08:	e3e05000 	mvn	r5, #0                                        
a0001f0c:	eaffffeb 	b	a0001ec0 <mknod+0xd4>                           
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0001f10:	eb002f05 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0001f14:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0001f18:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0001f1c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0001f20:	eaffffe6 	b	a0001ec0 <mknod+0xd4>                           <== NOT EXECUTED
                                                                      
a0001f44 <mount>:                                                     
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
a0001f44:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
a0001f48:	e2516000 	subs	r6, r1, #0                                   
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
a0001f4c:	e24dd018 	sub	sp, sp, #24                                   
a0001f50:	e1a07000 	mov	r7, r0                                        
a0001f54:	e1a05002 	mov	r5, r2                                        
a0001f58:	e1a09003 	mov	r9, r3                                        
a0001f5c:	e59da038 	ldr	sl, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
a0001f60:	0a000080 	beq	a0002168 <mount+0x224>                        
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
a0001f64:	e3520001 	cmp	r2, #1                                        
a0001f68:	8a00007e 	bhi	a0002168 <mount+0x224>                        
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
a0001f6c:	e5968024 	ldr	r8, [r6, #36]	; 0x24                          
a0001f70:	e3580000 	cmp	r8, #0                                        
a0001f74:	0a000086 	beq	a0002194 <mount+0x250>                        
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
a0001f78:	e3530000 	cmp	r3, #0                                        
a0001f7c:	03a0006c 	moveq	r0, #108	; 0x6c                             
a0001f80:	0a000002 	beq	a0001f90 <mount+0x4c>                         
     size += strlen( device ) + 1;                                    
a0001f84:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001f88:	eb0032d8 	bl	a000eaf0 <strlen>                              <== NOT EXECUTED
a0001f8c:	e280006d 	add	r0, r0, #109	; 0x6d                           <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
a0001f90:	ebffff50 	bl	a0001cd8 <malloc>                              
                                                                      
   if ( !temp_mt_entry ) {                                            
a0001f94:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
a0001f98:	e1a04000 	mov	r4, r0                                        
a0001f9c:	e1a08000 	mov	r8, r0                                        
                                                                      
   if ( !temp_mt_entry ) {                                            
a0001fa0:	0a000086 	beq	a00021c0 <mount+0x27c>                        
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
a0001fa4:	e3590000 	cmp	r9, #0                                        
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
a0001fa8:	e5805030 	str	r5, [r0, #48]	; 0x30                          
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
a0001fac:	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;                                          
a0001fb0:	05809068 	streq	r9, [r0, #104]	; 0x68                       
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
a0001fb4:	0a000004 	beq	a0001fcc <mount+0x88>                         
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
a0001fb8:	e280306c 	add	r3, r0, #108	; 0x6c                           <== NOT EXECUTED
     strcpy( temp_mt_entry->dev, device );                            
a0001fbc:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0001fc0:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
a0001fc4:	e5843068 	str	r3, [r4, #104]	; 0x68                         <== NOT EXECUTED
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
a0001fc8:	eb00328c 	bl	a000ea00 <strcpy>                              <== NOT EXECUTED
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
a0001fcc:	e35a0000 	cmp	sl, #0                                        
a0001fd0:	0a000048 	beq	a00020f8 <mount+0x1b4>                        
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
a0001fd4:	e1a0000a 	mov	r0, sl                                        
a0001fd8:	eb0032c4 	bl	a000eaf0 <strlen>                              
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
a0001fdc:	e28d5004 	add	r5, sp, #4                                    
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
a0001fe0:	e1a01000 	mov	r1, r0                                        
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
a0001fe4:	e3a0c001 	mov	ip, #1                                        
a0001fe8:	e1a0000a 	mov	r0, sl                                        
a0001fec:	e3a02007 	mov	r2, #7                                        
a0001ff0:	e1a03005 	mov	r3, r5                                        
a0001ff4:	e58dc000 	str	ip, [sp]                                      
a0001ff8:	ebfffe3e 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
a0001ffc:	e3700001 	cmn	r0, #1                                        
a0002000:	0a000066 	beq	a00021a0 <mount+0x25c>                        
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
a0002004:	e59d3010 	ldr	r3, [sp, #16]                                 
a0002008:	e5933010 	ldr	r3, [r3, #16]                                 
a000200c:	e3530000 	cmp	r3, #0                                        
a0002010:	0a000066 	beq	a00021b0 <mount+0x26c>                        
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
a0002014:	e1a00005 	mov	r0, r5                                        
a0002018:	e12fff33 	blx	r3                                            
a000201c:	e3500001 	cmp	r0, #1                                        
a0002020:	1a000057 	bne	a0002184 <mount+0x240>                        
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0002024:	e59f11a8 	ldr	r1, [pc, #424]	; a00021d4 <mount+0x290>       
a0002028:	e4913004 	ldr	r3, [r1], #4                                  
a000202c:	e1530001 	cmp	r3, r1                                        
a0002030:	0a000051 	beq	a000217c <mount+0x238>                        
        !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 )
a0002034:	e59d0004 	ldr	r0, [sp, #4]                                  
a0002038:	e593201c 	ldr	r2, [r3, #28]                                 
a000203c:	e1520000 	cmp	r2, r0                                        
a0002040:	1a000003 	bne	a0002054 <mount+0x110>                        
a0002044:	ea000021 	b	a00020d0 <mount+0x18c>                          <== NOT EXECUTED
a0002048:	e593201c 	ldr	r2, [r3, #28]                                 
a000204c:	e1520000 	cmp	r2, r0                                        
a0002050:	0a00001e 	beq	a00020d0 <mount+0x18c>                        
   * 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 ) {                                 
a0002054:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0002058:	e1530001 	cmp	r3, r1                                        
a000205c:	1afffff9 	bne	a0002048 <mount+0x104>                        
     *  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;                       
a0002060:	e59d2010 	ldr	r2, [sp, #16]                                 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
a0002064:	e59d100c 	ldr	r1, [sp, #12]                                 
     *  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;       
a0002068:	e5840008 	str	r0, [r4, #8]                                  
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a000206c:	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;             
a0002070:	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;             
a0002074:	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 ){                                         
a0002078:	e3530000 	cmp	r3, #0                                        
     *  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;                       
a000207c:	e5842014 	str	r2, [r4, #20]                                 
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
a0002080:	e5841018 	str	r1, [r4, #24]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
a0002084:	0a000049 	beq	a00021b0 <mount+0x26c>                        
      errno = ENOTSUP;                                                
      goto cleanup_and_bail;                                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
a0002088:	e1a00004 	mov	r0, r4                                        
a000208c:	e12fff33 	blx	r3                                            
a0002090:	e3500000 	cmp	r0, #0                                        
a0002094:	1a000010 	bne	a00020dc <mount+0x198>                        
    temp_mt_entry->mt_point_node.handlers = NULL;                     
    temp_mt_entry->mt_point_node.ops = NULL;                          
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
a0002098:	e5963024 	ldr	r3, [r6, #36]	; 0x24                          
a000209c:	e1a00004 	mov	r0, r4                                        
a00020a0:	e12fff33 	blx	r3                                            
a00020a4:	e2506000 	subs	r6, r0, #0                                   
a00020a8:	1a00001b 	bne	a000211c <mount+0x1d8>                        
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
a00020ac:	e59f0120 	ldr	r0, [pc, #288]	; a00021d4 <mount+0x290>       
a00020b0:	e1a01004 	mov	r1, r4                                        
a00020b4:	eb000dde 	bl	a0005834 <_Chain_Append>                       
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
a00020b8:	e3570000 	cmp	r7, #0                                        
a00020bc:	01a00007 	moveq	r0, r7                                      
    *mt_entry = temp_mt_entry;                                        
a00020c0:	15874000 	strne	r4, [r7]                                    
a00020c4:	11a00006 	movne	r0, r6                                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
a00020c8:	e28dd018 	add	sp, sp, #24                                   
a00020cc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
a00020d0:	eb002e95 	bl	a000db2c <__errno>                             
a00020d4:	e3a03010 	mov	r3, #16                                       
a00020d8:	e5803000 	str	r3, [r0]                                      
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
a00020dc:	e1a00004 	mov	r0, r4                                        
a00020e0:	ebfffe35 	bl	a00019bc <free>                                
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
a00020e4:	e595300c 	ldr	r3, [r5, #12]                                 
a00020e8:	e3530000 	cmp	r3, #0                                        
a00020ec:	1a000016 	bne	a000214c <mount+0x208>                        
a00020f0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00020f4:	eafffff3 	b	a00020c8 <mount+0x184>                          <== 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;                     
a00020f8:	e584a01c 	str	sl, [r4, #28]                                 
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
a00020fc:	e584a024 	str	sl, [r4, #36]	; 0x24                          
    temp_mt_entry->mt_fs_root.ops = NULL;                             
a0002100:	e584a028 	str	sl, [r4, #40]	; 0x28                          
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
a0002104:	e584a008 	str	sl, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = NULL;                     
a0002108:	e584a010 	str	sl, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = NULL;                          
a000210c:	e584a014 	str	sl, [r4, #20]                                 
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
a0002110:	e584a018 	str	sl, [r4, #24]                                 
a0002114:	e1a0500a 	mov	r5, sl                                        
a0002118:	eaffffde 	b	a0002098 <mount+0x154>                          
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
a000211c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0002120:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
a0002124:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002128:	0a000001 	beq	a0002134 <mount+0x1f0>                        <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
a000212c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002130:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
a0002134:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002138:	ebfffe1f 	bl	a00019bc <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
a000213c:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a0002140:	1affffe7 	bne	a00020e4 <mount+0x1a0>                        <== NOT EXECUTED
    rtems_filesystem_freenode( loc_to_free );                         
a0002144:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0002148:	eaffffde 	b	a00020c8 <mount+0x184>                          <== NOT EXECUTED
a000214c:	e593301c 	ldr	r3, [r3, #28]                                 
a0002150:	e3530000 	cmp	r3, #0                                        
a0002154:	0affffe5 	beq	a00020f0 <mount+0x1ac>                        
a0002158:	e1a00005 	mov	r0, r5                                        
a000215c:	e12fff33 	blx	r3                                            
a0002160:	e3e00000 	mvn	r0, #0                                        
a0002164:	eaffffd7 	b	a00020c8 <mount+0x184>                          
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
a0002168:	eb002e6f 	bl	a000db2c <__errno>                             
a000216c:	e3a03016 	mov	r3, #22                                       
a0002170:	e5803000 	str	r3, [r0]                                      
a0002174:	e3e00000 	mvn	r0, #0                                        
    return -1;                                                        
a0002178:	eaffffd2 	b	a00020c8 <mount+0x184>                          
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
a000217c:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
a0002180:	eaffffb6 	b	a0002060 <mount+0x11c>                          <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
a0002184:	eb002e68 	bl	a000db2c <__errno>                             
a0002188:	e3a03014 	mov	r3, #20                                       
a000218c:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
a0002190:	eaffffd1 	b	a00020dc <mount+0x198>                          
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
    errno = ENOTSUP;                                                  
a0002194:	eb002e64 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0002198:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000219c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
a00021a0:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a00021a4:	ebfffe04 	bl	a00019bc <free>                                <== NOT EXECUTED
a00021a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00021ac:	eaffffc5 	b	a00020c8 <mount+0x184>                          <== NOT EXECUTED
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
      errno = ENOTSUP;                                                
a00021b0:	eb002e5d 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00021b4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00021b8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      goto cleanup_and_bail;                                          
a00021bc:	eaffffc6 	b	a00020dc <mount+0x198>                          <== NOT EXECUTED
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
                                                                      
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
a00021c0:	eb002e59 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00021c4:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
a00021c8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00021cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
     return -1;                                                       
a00021d0:	eaffffbc 	b	a00020c8 <mount+0x184>                          <== NOT EXECUTED
                                                                      
a0002248 <newlib_free_buffers>:                                       
 */                                                                   
                                                                      
int newlib_free_buffers(                                              
  FILE *fp                                                            
)                                                                     
{                                                                     
a0002248:	e92d4010 	push	{r4, lr}                                     
a000224c:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
a0002250:	eb002f34 	bl	a000df28 <fileno>                              
a0002254:	e3500002 	cmp	r0, #2                                        
a0002258:	9a000003 	bls	a000226c <newlib_free_buffers+0x24>           
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
a000225c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0002260:	eb002e7e 	bl	a000dc60 <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
a0002264:	e3a00000 	mov	r0, #0                                        
a0002268:	e8bd8010 	pop	{r4, pc}                                      
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
a000226c:	e1d430bc 	ldrh	r3, [r4, #12]                                
a0002270:	e3130080 	tst	r3, #128	; 0x80                               
a0002274:	0afffffa 	beq	a0002264 <newlib_free_buffers+0x1c>           
        free( fp->_bf._base );                                        
a0002278:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a000227c:	ebfffdce 	bl	a00019bc <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
a0002280:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0002284:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
a0002288:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
a000228c:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
a0002290:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
a0002294:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
a0002298:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000229c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a00023fc <null_initialize>:                                           
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a00023fc:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002400:	e59f3044 	ldr	r3, [pc, #68]	; a000244c <null_initialize+0x50>
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
a0002404:	e1a04000 	mov	r4, r0                                        
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
a0002408:	e5d32000 	ldrb	r2, [r3]                                     
a000240c:	e3520000 	cmp	r2, #0                                        
a0002410:	0a000001 	beq	a000241c <null_initialize+0x20>               
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002414:	e3a00000 	mov	r0, #0                                        
a0002418:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a000241c:	e3a0c001 	mov	ip, #1                                        
                                                                      
    status = rtems_io_register_name(                                  
a0002420:	e59f0028 	ldr	r0, [pc, #40]	; a0002450 <null_initialize+0x54>
a0002424:	e1a01004 	mov	r1, r4                                        
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
a0002428:	e5c3c000 	strb	ip, [r3]                                     
                                                                      
    status = rtems_io_register_name(                                  
a000242c:	eb00004e 	bl	a000256c <rtems_io_register_name>              
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
a0002430:	e3500000 	cmp	r0, #0                                        
a0002434:	1a000003 	bne	a0002448 <null_initialize+0x4c>               
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a0002438:	e59f3014 	ldr	r3, [pc, #20]	; a0002454 <null_initialize+0x58>
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000243c:	e3a00000 	mov	r0, #0                                        
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
a0002440:	e5834000 	str	r4, [r3]                                      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0002444:	e8bd8010 	pop	{r4, pc}                                      
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
a0002448:	eb0010b3 	bl	a000671c <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a00024e4 <open>:                                                      
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
a00024e4:	e92d000e 	push	{r1, r2, r3}                                 
a00024e8:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
a00024ec:	e24dd01c 	sub	sp, sp, #28                                   
a00024f0:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
a00024f4:	e1a06000 	mov	r6, r0                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a00024f8:	e59da040 	ldr	sl, [sp, #64]	; 0x40                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
a00024fc:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
a0002500:	e2138001 	ands	r8, r3, #1                                   
a0002504:	13a08004 	movne	r8, #4                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
a0002508:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a000250c:	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;                            
a0002510:	13888002 	orrne	r8, r8, #2                                  
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
a0002514:	e58d3018 	str	r3, [sp, #24]                                 
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
a0002518:	eb001dd3 	bl	a0009c6c <rtems_libio_allocate>                
  if ( iop == 0 ) {                                                   
a000251c:	e2504000 	subs	r4, r0, #0                                   
a0002520:	03a06017 	moveq	r6, #23                                     
a0002524:	0a00005d 	beq	a00026a0 <open+0x1bc>                         
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
a0002528:	e1a00006 	mov	r0, r6                                        
a000252c:	eb00316f 	bl	a000eaf0 <strlen>                              
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
a0002530:	e28d7004 	add	r7, sp, #4                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
a0002534:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
a0002538:	e1a02008 	mov	r2, r8                                        
a000253c:	e1a00006 	mov	r0, r6                                        
a0002540:	e3a08001 	mov	r8, #1                                        
a0002544:	e1a03007 	mov	r3, r7                                        
a0002548:	e58d8000 	str	r8, [sp]                                      
a000254c:	ebfffce9 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
a0002550:	e3700001 	cmn	r0, #1                                        
a0002554:	0a000055 	beq	a00026b0 <open+0x1cc>                         
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
a0002558:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
a000255c:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
a0002560:	03a06011 	moveq	r6, #17                                     
a0002564:	0a00003f 	beq	a0002668 <open+0x184>                         
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
a0002568:	e59d300c 	ldr	r3, [sp, #12]                                 
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a000256c:	e1a00005 	mov	r0, r5                                        
a0002570:	e5948014 	ldr	r8, [r4, #20]                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
a0002574:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
  iop->file_info  = loc.node_access;                                  
a0002578:	e59d3004 	ldr	r3, [sp, #4]                                  
a000257c:	e5843038 	str	r3, [r4, #56]	; 0x38                          
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a0002580:	eb001de7 	bl	a0009d24 <rtems_libio_fcntl_flags>             
  iop->pathinfo   = loc;                                              
a0002584:	e284c018 	add	ip, r4, #24                                   
a0002588:	e1a0e007 	mov	lr, r7                                        
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a000258c:	e1808008 	orr	r8, r0, r8                                    
  iop->pathinfo   = loc;                                              
a0002590:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0002594:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a0002598:	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;                                              
a000259c:	e59e2000 	ldr	r2, [lr]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
a00025a0:	e5848014 	str	r8, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a00025a4:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
a00025a8:	e58c2000 	str	r2, [ip]                                      
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
a00025ac:	0a00002c 	beq	a0002664 <open+0x180>                         
a00025b0:	e593c000 	ldr	ip, [r3]                                      
a00025b4:	e35c0000 	cmp	ip, #0                                        
a00025b8:	0a000029 	beq	a0002664 <open+0x180>                         
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
a00025bc:	e1a01006 	mov	r1, r6                                        
a00025c0:	e1a0300a 	mov	r3, sl                                        
a00025c4:	e1a00004 	mov	r0, r4                                        
a00025c8:	e1a02005 	mov	r2, r5                                        
a00025cc:	e12fff3c 	blx	ip                                            
  if ( rc ) {                                                         
a00025d0:	e3500000 	cmp	r0, #0                                        
a00025d4:	1a000009 	bne	a0002600 <open+0x11c>                         
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
a00025d8:	e3150b01 	tst	r5, #1024	; 0x400                             
a00025dc:	1a00000c 	bne	a0002614 <open+0x130>                         
a00025e0:	e59f5154 	ldr	r5, [pc, #340]	; a000273c <open+0x258>        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
a00025e4:	e5950000 	ldr	r0, [r5]                                      
a00025e8:	e0604004 	rsb	r4, r0, r4                                    
a00025ec:	e1a00344 	asr	r0, r4, #6                                    
}                                                                     
a00025f0:	e28dd01c 	add	sp, sp, #28                                   
a00025f4:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
a00025f8:	e28dd00c 	add	sp, sp, #12                                   
a00025fc:	e12fff1e 	bx	lr                                             
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  if ( rc ) {                                                         
    rc = errno;                                                       
a0002600:	eb002d49 	bl	a000db2c <__errno>                             
a0002604:	e5906000 	ldr	r6, [r0]                                      
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
a0002608:	e3560000 	cmp	r6, #0                                        
a000260c:	0afffff3 	beq	a00025e0 <open+0xfc>                          
a0002610:	ea000014 	b	a0002668 <open+0x184>                           
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
a0002614:	e59f5120 	ldr	r5, [pc, #288]	; a000273c <open+0x258>        
a0002618:	e3a01000 	mov	r1, #0                                        
a000261c:	e3a02000 	mov	r2, #0                                        
a0002620:	e5950000 	ldr	r0, [r5]                                      
a0002624:	e0600004 	rsb	r0, r0, r4                                    
a0002628:	e1a00340 	asr	r0, r0, #6                                    
a000262c:	eb001cb5 	bl	a0009908 <ftruncate>                           
    if ( rc ) {                                                       
a0002630:	e2506000 	subs	r6, r0, #0                                   
a0002634:	0affffea 	beq	a00025e4 <open+0x100>                         
      if(errno) rc = errno;                                           
a0002638:	eb002d3b 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000263c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0002640:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002644:	1a000039 	bne	a0002730 <open+0x24c>                         <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
a0002648:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000264c:	e0600004 	rsb	r0, r0, r4                                    <== NOT EXECUTED
a0002650:	e1a00340 	asr	r0, r0, #6                                    <== NOT EXECUTED
a0002654:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a0002658:	eb001c82 	bl	a0009868 <close>                               <== NOT EXECUTED
a000265c:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
a0002660:	eaffffe8 	b	a0002608 <open+0x124>                           <== NOT EXECUTED
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
a0002664:	e3a06086 	mov	r6, #134	; 0x86                               <== NOT EXECUTED
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
a0002668:	e3540000 	cmp	r4, #0                                        
a000266c:	0a000001 	beq	a0002678 <open+0x194>                         
      rtems_libio_free( iop );                                        
a0002670:	e1a00004 	mov	r0, r4                                        
a0002674:	eb001d65 	bl	a0009c10 <rtems_libio_free>                    
    if ( loc_to_free )                                                
a0002678:	e3570000 	cmp	r7, #0                                        
a000267c:	0a000007 	beq	a00026a0 <open+0x1bc>                         
      rtems_filesystem_freenode( loc_to_free );                       
a0002680:	e597300c 	ldr	r3, [r7, #12]                                 
a0002684:	e3530000 	cmp	r3, #0                                        
a0002688:	0a000004 	beq	a00026a0 <open+0x1bc>                         
a000268c:	e593301c 	ldr	r3, [r3, #28]                                 
a0002690:	e3530000 	cmp	r3, #0                                        
a0002694:	0a000001 	beq	a00026a0 <open+0x1bc>                         
a0002698:	e1a00007 	mov	r0, r7                                        
a000269c:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( rc );                       
a00026a0:	eb002d21 	bl	a000db2c <__errno>                             
a00026a4:	e5806000 	str	r6, [r0]                                      
a00026a8:	e3e00000 	mvn	r0, #0                                        
a00026ac:	eaffffcf 	b	a00025f0 <open+0x10c>                           
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
a00026b0:	eb002d1d 	bl	a000db2c <__errno>                             
a00026b4:	e5903000 	ldr	r3, [r0]                                      
a00026b8:	e3530002 	cmp	r3, #2                                        
a00026bc:	0a000003 	beq	a00026d0 <open+0x1ec>                         
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
a00026c0:	eb002d19 	bl	a000db2c <__errno>                             
a00026c4:	e3a07000 	mov	r7, #0                                        
a00026c8:	e5906000 	ldr	r6, [r0]                                      
      goto done;                                                      
a00026cc:	eaffffcd 	b	a0002608 <open+0x124>                           
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
a00026d0:	e2159c02 	ands	r9, r5, #512	; 0x200                         
a00026d4:	01a07009 	moveq	r7, r9                                      
a00026d8:	01a06003 	moveq	r6, r3                                      
a00026dc:	0affffe1 	beq	a0002668 <open+0x184>                         
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
a00026e0:	e1a00006 	mov	r0, r6                                        
a00026e4:	e38a1902 	orr	r1, sl, #32768	; 0x8000                       
a00026e8:	e3a02000 	mov	r2, #0                                        
a00026ec:	e3a03000 	mov	r3, #0                                        
a00026f0:	ebfffdbd 	bl	a0001dec <mknod>                               
    if ( rc ) {                                                       
a00026f4:	e2509000 	subs	r9, r0, #0                                   
a00026f8:	1afffff0 	bne	a00026c0 <open+0x1dc>                         
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
a00026fc:	e1a00006 	mov	r0, r6                                        
a0002700:	eb0030fa 	bl	a000eaf0 <strlen>                              
a0002704:	e1a03007 	mov	r3, r7                                        
a0002708:	e1a01000 	mov	r1, r0                                        
a000270c:	e1a02009 	mov	r2, r9                                        
a0002710:	e1a00006 	mov	r0, r6                                        
a0002714:	e58d8000 	str	r8, [sp]                                      
a0002718:	ebfffc76 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
    if ( status != 0 ) {   /* The file did not exist */               
a000271c:	e3500000 	cmp	r0, #0                                        
a0002720:	11a07009 	movne	r7, r9                                      
a0002724:	13a0600d 	movne	r6, #13                                     
a0002728:	1affffce 	bne	a0002668 <open+0x184>                         
a000272c:	eaffff8d 	b	a0002568 <open+0x84>                            
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
a0002730:	eb002cfd 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0002734:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
a0002738:	eaffffc2 	b	a0002648 <open+0x164>                           <== NOT EXECUTED
                                                                      
a000247c <open_dev_console>:                                          
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
a000247c:	e3a01000 	mov	r1, #0                                        
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
a0002480:	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) {         
a0002484:	e59f004c 	ldr	r0, [pc, #76]	; a00024d8 <open_dev_console+0x5c>
a0002488:	e1a02001 	mov	r2, r1                                        
a000248c:	eb000014 	bl	a00024e4 <open>                                
a0002490:	e3700001 	cmn	r0, #1                                        
a0002494:	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)          
a0002498:	e59f0038 	ldr	r0, [pc, #56]	; a00024d8 <open_dev_console+0x5c>
a000249c:	e3a01001 	mov	r1, #1                                        
a00024a0:	e3a02000 	mov	r2, #0                                        
a00024a4:	eb00000e 	bl	a00024e4 <open>                                
a00024a8:	e3700001 	cmn	r0, #1                                        
a00024ac:	0a000007 	beq	a00024d0 <open_dev_console+0x54>              
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
a00024b0:	e59f0020 	ldr	r0, [pc, #32]	; a00024d8 <open_dev_console+0x5c>
a00024b4:	e3a01001 	mov	r1, #1                                        
a00024b8:	e3a02000 	mov	r2, #0                                        
a00024bc:	eb000008 	bl	a00024e4 <open>                                
a00024c0:	e3700001 	cmn	r0, #1                                        
a00024c4:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
a00024c8:	e59f000c 	ldr	r0, [pc, #12]	; a00024dc <open_dev_console+0x60><== NOT EXECUTED
a00024cc:	eb000c10 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
a00024d0:	e59f0008 	ldr	r0, [pc, #8]	; a00024e0 <open_dev_console+0x64><== NOT EXECUTED
a00024d4:	eb000c0e 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a0002e6c <oproc>:                                                     
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002e6c:	e92d4010 	push	{r4, lr}                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0002e70:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002e74:	e24dd004 	sub	sp, sp, #4                                    
a0002e78:	e1a04001 	mov	r4, r1                                        
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0002e7c:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
a0002e80:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
a0002e84:	0a000014 	beq	a0002edc <oproc+0x70>                         
		switch (c) {                                                        
a0002e88:	e5dd1000 	ldrb	r1, [sp]                                     
a0002e8c:	e2412008 	sub	r2, r1, #8                                    
a0002e90:	e3520005 	cmp	r2, #5                                        
a0002e94:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
a0002e98:	ea000005 	b	a0002eb4 <oproc+0x48>                           
a0002e9c:	a0002f4c 	.word	0xa0002f4c                                  <== NOT EXECUTED
a0002ea0:	a0002f28 	.word	0xa0002f28                                  <== NOT EXECUTED
a0002ea4:	a0002f60 	.word	0xa0002f60                                  <== NOT EXECUTED
a0002ea8:	a0002eb4 	.word	0xa0002eb4                                  <== NOT EXECUTED
a0002eac:	a0002eb4 	.word	0xa0002eb4                                  <== NOT EXECUTED
a0002eb0:	a0002ef4 	.word	0xa0002ef4                                  <== NOT EXECUTED
			if (tty->column > 0)                                               
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
a0002eb4:	e3130002 	tst	r3, #2                                        
a0002eb8:	1a000034 	bne	a0002f90 <oproc+0x124>                        
a0002ebc:	e59f310c 	ldr	r3, [pc, #268]	; a0002fd0 <oproc+0x164>       
a0002ec0:	e5933000 	ldr	r3, [r3]                                      
				c = toupper(c);                                                   
			if (!iscntrl(c))                                                   
a0002ec4:	e0831001 	add	r1, r3, r1                                    
a0002ec8:	e5d13001 	ldrb	r3, [r1, #1]                                 
a0002ecc:	e3130020 	tst	r3, #32                                       
				tty->column++;                                                    
a0002ed0:	05943028 	ldreq	r3, [r4, #40]	; 0x28                        
a0002ed4:	02833001 	addeq	r3, r3, #1                                  
a0002ed8:	05843028 	streq	r3, [r4, #40]	; 0x28                        
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
a0002edc:	e1a02004 	mov	r2, r4                                        
a0002ee0:	e1a0000d 	mov	r0, sp                                        
a0002ee4:	e3a01001 	mov	r1, #1                                        
a0002ee8:	ebffff97 	bl	a0002d4c <rtems_termios_puts>                  
}                                                                     
a0002eec:	e28dd004 	add	sp, sp, #4                                    
a0002ef0:	e8bd8010 	pop	{r4, pc}                                      
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
a0002ef4:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0002ef8:	0a000002 	beq	a0002f08 <oproc+0x9c>                         <== NOT EXECUTED
a0002efc:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002f00:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0002f04:	0afffff8 	beq	a0002eec <oproc+0x80>                         <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
a0002f08:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
a0002f0c:	0a00000c 	beq	a0002f44 <oproc+0xd8>                         <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
a0002f10:	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';                                                         
a0002f14:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
a0002f18:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
					tty->column = 0;                                                 
a0002f1c:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a0002f20:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0002f24:	eaffffec 	b	a0002edc <oproc+0x70>                           <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a0002f28:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0002f2c:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
a0002f30:	e3530b06 	cmp	r3, #6144	; 0x1800                            
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
a0002f34:	e2021007 	and	r1, r2, #7                                    
a0002f38:	e2611008 	rsb	r1, r1, #8                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
a0002f3c:	10812002 	addne	r2, r1, r2                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
a0002f40:	0a00001c 	beq	a0002fb8 <oproc+0x14c>                        
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
a0002f44:	e5842028 	str	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
			break;                                                             
a0002f48:	eaffffe3 	b	a0002edc <oproc+0x70>                           <== NOT EXECUTED
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
a0002f4c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
a0002f50:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				tty->column--;                                                    
a0002f54:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
a0002f58:	c5843028 	strgt	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
a0002f5c:	eaffffde 	b	a0002edc <oproc+0x70>                           <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
		switch (c) {                                                        
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
a0002f60:	e3130020 	tst	r3, #32                                       
				tty->column = 0;                                                  
a0002f64:	13a02000 	movne	r2, #0                                      
a0002f68:	15842028 	strne	r2, [r4, #40]	; 0x28                        
			if (tty->termios.c_oflag & ONLCR) {                                
a0002f6c:	e3130004 	tst	r3, #4                                        
a0002f70:	0affffd9 	beq	a0002edc <oproc+0x70>                         
				rtems_termios_puts ("\r", 1, tty);                                
a0002f74:	e59f0058 	ldr	r0, [pc, #88]	; a0002fd4 <oproc+0x168>        
a0002f78:	e3a01001 	mov	r1, #1                                        
a0002f7c:	e1a02004 	mov	r2, r4                                        
a0002f80:	ebffff71 	bl	a0002d4c <rtems_termios_puts>                  
				tty->column = 0;                                                  
a0002f84:	e3a03000 	mov	r3, #0                                        
a0002f88:	e5843028 	str	r3, [r4, #40]	; 0x28                          
a0002f8c:	eaffffd2 	b	a0002edc <oproc+0x70>                           
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
				c = toupper(c);                                                   
a0002f90:	e59f3038 	ldr	r3, [pc, #56]	; a0002fd0 <oproc+0x164>        <== NOT EXECUTED
a0002f94:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0002f98:	e0832001 	add	r2, r3, r1                                    <== NOT EXECUTED
a0002f9c:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
a0002fa0:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
a0002fa4:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
a0002fa8:	02411020 	subeq	r1, r1, #32                                 <== NOT EXECUTED
a0002fac:	e20110ff 	and	r1, r1, #255	; 0xff                           <== NOT EXECUTED
a0002fb0:	e5cd1000 	strb	r1, [sp]                                     <== NOT EXECUTED
a0002fb4:	eaffffc2 	b	a0002ec4 <oproc+0x58>                           <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
a0002fb8:	e0812002 	add	r2, r1, r2                                    
a0002fbc:	e5842028 	str	r2, [r4, #40]	; 0x28                          
				rtems_termios_puts ( "        ",  i, tty);                        
a0002fc0:	e59f0010 	ldr	r0, [pc, #16]	; a0002fd8 <oproc+0x16c>        
a0002fc4:	e1a02004 	mov	r2, r4                                        
a0002fc8:	ebffff5f 	bl	a0002d4c <rtems_termios_puts>                  
				return;                                                           
a0002fcc:	eaffffc6 	b	a0002eec <oproc+0x80>                           
                                                                      
a000d014 <pipe_create>:                                               
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000d014:	e92d4070 	push	{r4, r5, r6, lr}                             
a000d018:	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)
a000d01c:	e28d4004 	add	r4, sp, #4                                    
a000d020:	e3a0c001 	mov	ip, #1                                        
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
a000d024:	e1a05000 	mov	r5, r0                                        
  rtems_filesystem_location_info_t loc;                               
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
a000d028:	e3a01003 	mov	r1, #3                                        
a000d02c:	e59f0160 	ldr	r0, [pc, #352]	; a000d194 <pipe_create+0x180> 
a000d030:	e3a02007 	mov	r2, #7                                        
a000d034:	e1a03004 	mov	r3, r4                                        
a000d038:	e58dc000 	str	ip, [sp]                                      
a000d03c:	ebffd22d 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
a000d040:	e3500000 	cmp	r0, #0                                        
a000d044:	1a00003d 	bne	a000d140 <pipe_create+0x12c>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
a000d048:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000d04c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d050:	0a000004 	beq	a000d068 <pipe_create+0x54>                   <== NOT EXECUTED
a000d054:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000d058:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d05c:	0a000001 	beq	a000d068 <pipe_create+0x54>                   <== NOT EXECUTED
a000d060:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d064:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d068:	e59fc128 	ldr	ip, [pc, #296]	; a000d198 <pipe_create+0x184> 
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d06c:	e28d4018 	add	r4, sp, #24                                   
a000d070:	e3a03c6f 	mov	r3, #28416	; 0x6f00                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d074:	e1dce0b0 	ldrh	lr, [ip]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d078:	e2833066 	add	r3, r3, #102	; 0x66                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d07c:	e59f1118 	ldr	r1, [pc, #280]	; a000d19c <pipe_create+0x188> 
a000d080:	e1a0200e 	mov	r2, lr                                        
a000d084:	e28ee001 	add	lr, lr, #1                                    
a000d088:	e1cce0b0 	strh	lr, [ip]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d08c:	e59fc10c 	ldr	ip, [pc, #268]	; a000d1a0 <pipe_create+0x18c> 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d090:	e284000a 	add	r0, r4, #10                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
a000d094:	e1c430b8 	strh	r3, [r4, #8]                                 
a000d098:	e58dc018 	str	ip, [sp, #24]                                 
a000d09c:	e28cc33e 	add	ip, ip, #-134217728	; 0xf8000000              
a000d0a0:	e28cc73e 	add	ip, ip, #16252928	; 0xf80000                  
a000d0a4:	e28cccba 	add	ip, ip, #47616	; 0xba00                       
a000d0a8:	e58dc01c 	str	ip, [sp, #28]                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
a000d0ac:	eb000552 	bl	a000e5fc <sprintf>                             
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
a000d0b0:	e1a00004 	mov	r0, r4                                        
a000d0b4:	e3a01d06 	mov	r1, #384	; 0x180                              
a000d0b8:	eb00004b 	bl	a000d1ec <mkfifo>                              
a000d0bc:	e2506000 	subs	r6, r0, #0                                   
a000d0c0:	1a00001c 	bne	a000d138 <pipe_create+0x124>                  
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
a000d0c4:	e1a00004 	mov	r0, r4                                        
a000d0c8:	e3a01901 	mov	r1, #16384	; 0x4000                           
a000d0cc:	ebffd504 	bl	a00024e4 <open>                                
  if (filsdes[0] < 0) {                                               
a000d0d0:	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);                 
a000d0d4:	e5850000 	str	r0, [r5]                                      
  if (filsdes[0] < 0) {                                               
a000d0d8:	ba000023 	blt	a000d16c <pipe_create+0x158>                  
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
a000d0dc:	e59f30c0 	ldr	r3, [pc, #192]	; a000d1a4 <pipe_create+0x190> <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d0e0:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
a000d0e4:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a000d0e8:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000d0ec:	359f30b4 	ldrcc	r3, [pc, #180]	; a000d1a8 <pipe_create+0x194><== NOT EXECUTED
a000d0f0:	35936000 	ldrcc	r6, [r3]                                    <== NOT EXECUTED
a000d0f4:	30866300 	addcc	r6, r6, r0, lsl #6                          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000d0f8:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d0fc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
a000d100:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
a000d104:	e5863014 	str	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
a000d108:	ebffd4f5 	bl	a00024e4 <open>                                <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000d10c:	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);                            
a000d110:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
a000d114:	a3a06000 	movge	r6, #0                                      <== NOT EXECUTED
a000d118:	ba000018 	blt	a000d180 <pipe_create+0x16c>                  <== NOT EXECUTED
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
a000d11c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d120:	eb000035 	bl	a000d1fc <unlink>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
a000d124:	eb000280 	bl	a000db2c <__errno>                             
a000d128:	e5806000 	str	r6, [r0]                                      
}                                                                     
a000d12c:	e3e00000 	mvn	r0, #0                                        
a000d130:	e28dd028 	add	sp, sp, #40	; 0x28                            
a000d134:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
a000d138:	eb00027b 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000d13c:	eafffffa 	b	a000d12c <pipe_create+0x118>                    <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
      != 0) {                                                         
    if (errno != ENOENT)                                              
a000d140:	eb000279 	bl	a000db2c <__errno>                             
a000d144:	e5903000 	ldr	r3, [r0]                                      
a000d148:	e3530002 	cmp	r3, #2                                        
a000d14c:	1afffff6 	bne	a000d12c <pipe_create+0x118>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
a000d150:	e3a01fff 	mov	r1, #1020	; 0x3fc                             
a000d154:	e2811003 	add	r1, r1, #3                                    
a000d158:	e59f0034 	ldr	r0, [pc, #52]	; a000d194 <pipe_create+0x180>  
a000d15c:	ebffd31e 	bl	a0001ddc <mkdir>                               
a000d160:	e3500000 	cmp	r0, #0                                        
a000d164:	0affffbf 	beq	a000d068 <pipe_create+0x54>                   
a000d168:	eaffffef 	b	a000d12c <pipe_create+0x118>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
a000d16c:	eb00026e 	bl	a000db2c <__errno>                             
a000d170:	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);                                                 
a000d174:	e1a00004 	mov	r0, r4                                        
a000d178:	eb00001f 	bl	a000d1fc <unlink>                              
a000d17c:	eaffffe8 	b	a000d124 <pipe_create+0x110>                    
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
a000d180:	eb000269 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000d184:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
a000d188:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000d18c:	ebfff1b5 	bl	a0009868 <close>                               <== NOT EXECUTED
a000d190:	eaffffe1 	b	a000d11c <pipe_create+0x108>                    <== NOT EXECUTED
                                                                      
a000b800 <pipe_ioctl>:                                                
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
a000b800:	e59f3060 	ldr	r3, [pc, #96]	; a000b868 <pipe_ioctl+0x68>    <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000b804:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a000b808:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000b80c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a000b810:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
a000b814:	0a000001 	beq	a000b820 <pipe_ioctl+0x20>                    <== NOT EXECUTED
a000b818:	e3e00015 	mvn	r0, #21                                       <== NOT EXECUTED
a000b81c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
    if (buffer == NULL)                                               
a000b820:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000b824:	1a000001 	bne	a000b830 <pipe_ioctl+0x30>                    <== NOT EXECUTED
a000b828:	e3e0000d 	mvn	r0, #13                                       <== NOT EXECUTED
a000b82c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
a000b830:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000b834:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000b838:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000b83c:	ebffe593 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000b840:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
a000b844:	0a000001 	beq	a000b850 <pipe_ioctl+0x50>                    <== NOT EXECUTED
a000b848:	e3e00003 	mvn	r0, #3                                        <== NOT EXECUTED
a000b84c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
a000b850:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a000b854:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
a000b858:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
a000b85c:	ebffe5d3 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a000b860:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
a000b864:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a000b788 <pipe_lseek>:                                                
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
a000b788:	e3e0001c 	mvn	r0, #28                                       <== NOT EXECUTED
a000b78c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000b86c <pipe_read>:                                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000b86c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
a000b870:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000b874:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000b878:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a000b87c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a000b880:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000b884:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000b888:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000b88c:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000b890:	ebffe57e 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000b894:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
a000b898:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a000b89c:	1a000027 	bne	a000b940 <pipe_read+0xd4>                     <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a000b8a0:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
a000b8a4:	01a07005 	moveq	r7, r5                                      <== NOT EXECUTED
a000b8a8:	01a06007 	moveq	r6, r7                                      <== NOT EXECUTED
a000b8ac:	0a00001f 	beq	a000b930 <pipe_read+0xc4>                     <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
a000b8b0:	e1a0700a 	mov	r7, sl                                        <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a000b8b4:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
a000b8b8:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
a000b8bc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000b8c0:	1a000021 	bne	a000b94c <pipe_read+0xe0>                     <== NOT EXECUTED
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
a000b8c4:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
a000b8c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b8cc:	0a00003c 	beq	a000b9c4 <pipe_read+0x158>                    <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a000b8d0:	e5986014 	ldr	r6, [r8, #20]                                 <== NOT EXECUTED
a000b8d4:	e2166001 	ands	r6, r6, #1                                   <== NOT EXECUTED
a000b8d8:	1a00003b 	bne	a000b9cc <pipe_read+0x160>                    <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000b8dc:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000b8e0:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
a000b8e4:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a000b8e8:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000b8ec:	ebffe5af 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
a000b8f0:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000b8f4:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000b8f8:	eb000446 	bl	a000ca18 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000b8fc:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
a000b900:	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))                                      
a000b904:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000b908:	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))                                      
a000b90c:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000b910:	ebffe55e 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000b914:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b918:	1a00002d 	bne	a000b9d4 <pipe_read+0x168>                    <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000b91c:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000b920:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
a000b924:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a000b928:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000b92c:	0affffe1 	beq	a000b8b8 <pipe_read+0x4c>                     <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000b930:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000b934:	ebffe59d 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
a000b938:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000b93c:	d1a07006 	movle	r7, r6                                      <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
a000b940:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000b944:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000b948:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
a000b94c:	e9941008 	ldmib	r4, {r3, ip}                                <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
a000b950:	e06a6005 	rsb	r6, sl, r5                                    <== NOT EXECUTED
a000b954:	e1520006 	cmp	r2, r6                                        <== NOT EXECUTED
a000b958:	31a06002 	movcc	r6, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
a000b95c:	e06c3003 	rsb	r3, ip, r3                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000b960:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
a000b964:	ca00001c 	bgt	a000b9dc <pipe_read+0x170>                    <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
a000b968:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000b96c:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a000b970:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a000b974:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a000b978:	eb000a79 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
a000b97c:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a000b980:	e5941004 	ldr	r1, [r4, #4]                                  <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
a000b984:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
a000b988:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
a000b98c:	eb002e2d 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a000b990:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
a000b994:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
a000b998:	e0663003 	rsb	r3, r6, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
a000b99c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      pipe->Start = 0;                                                
a000b9a0:	05843008 	streq	r3, [r4, #8]                                <== NOT EXECUTED
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
a000b9a4:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
a000b9a8:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
a000b9ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b9b0:	1a000016 	bne	a000ba10 <pipe_read+0x1a4>                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
a000b9b4:	e0877006 	add	r7, r7, r6                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
a000b9b8:	e1570005 	cmp	r7, r5                                        <== NOT EXECUTED
a000b9bc:	e1a0a007 	mov	sl, r7                                        <== NOT EXECUTED
a000b9c0:	3affffbc 	bcc	a000b8b8 <pipe_read+0x4c>                     <== NOT EXECUTED
a000b9c4:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a000b9c8:	eaffffd8 	b	a000b930 <pipe_read+0xc4>                       <== NOT EXECUTED
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
a000b9cc:	e3e0600a 	mvn	r6, #10                                       <== NOT EXECUTED
a000b9d0:	eaffffd6 	b	a000b930 <pipe_read+0xc4>                       <== NOT EXECUTED
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000b9d4:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
a000b9d8:	eaffffd6 	b	a000b938 <pipe_read+0xcc>                       <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
a000b9dc:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000b9e0:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a000b9e4:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
a000b9e8:	e081100c 	add	r1, r1, ip                                    <== NOT EXECUTED
a000b9ec:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000b9f0:	eb000a5b 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
a000b9f4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000b9f8:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
a000b9fc:	e08a0003 	add	r0, sl, r3                                    <== NOT EXECUTED
a000ba00:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
a000ba04:	e0632006 	rsb	r2, r3, r6                                    <== NOT EXECUTED
a000ba08:	eb000a55 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
a000ba0c:	eaffffda 	b	a000b97c <pipe_read+0x110>                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
a000ba10:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000ba14:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a000ba18:	eb0003e5 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000ba1c:	eaffffe4 	b	a000b9b4 <pipe_read+0x148>                      <== NOT EXECUTED
                                                                      
a000bc3c <pipe_release>:                                              
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bc3c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
a000bc40:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bc44:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a000bc48:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
a000bc4c:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a000bc50:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
a000bc54:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000bc58:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000bc5c:	ebffe48b 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
a000bc60:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000bc64:	1a000039 	bne	a000bd50 <pipe_release+0x114>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
a000bc68:	e5956014 	ldr	r6, [r5, #20]                                 <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a000bc6c:	e59f50e0 	ldr	r5, [pc, #224]	; a000bd54 <pipe_release+0x118><== NOT EXECUTED
a000bc70:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
a000bc74:	e3160002 	tst	r6, #2                                        <== NOT EXECUTED
     pipe->Readers --;                                                
a000bc78:	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);                                          
a000bc7c:	e2066006 	and	r6, r6, #6                                    <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a000bc80:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
a000bc84:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000bc88:	15843010 	strne	r3, [r4, #16]                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
a000bc8c:	e3160004 	tst	r6, #4                                        <== NOT EXECUTED
     pipe->Writers --;                                                
a000bc90:	15943014 	ldrne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a000bc94:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
a000bc98:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
a000bc9c:	15843014 	strne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
a000bca0:	ebffe47a 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
a000bca4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000bca8:	1a000028 	bne	a000bd50 <pipe_release+0x114>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
a000bcac:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000bcb0:	ebffe4be 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000bcb4:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
a000bcb8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bcbc:	0a00000e 	beq	a000bcfc <pipe_release+0xc0>                  <== NOT EXECUTED
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
a000bcc0:	e5942014 	ldr	r2, [r4, #20]                                 <== NOT EXECUTED
a000bcc4:	e2723001 	rsbs	r3, r2, #1                                   <== NOT EXECUTED
a000bcc8:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
a000bccc:	e3560002 	cmp	r6, #2                                        <== NOT EXECUTED
a000bcd0:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
a000bcd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000bcd8:	0a000002 	beq	a000bce8 <pipe_release+0xac>                  <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
a000bcdc:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000bce0:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000bce4:	eb000332 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
a000bce8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000bcec:	ebffe4af 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
a000bcf0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a000bcf4:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a000bcf8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000bcfc:	e5948014 	ldr	r8, [r4, #20]                                 <== NOT EXECUTED
a000bd00:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a000bd04:	0a000005 	beq	a000bd20 <pipe_release+0xe4>                  <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
a000bd08:	e3560004 	cmp	r6, #4                                        <== NOT EXECUTED
a000bd0c:	0afffff5 	beq	a000bce8 <pipe_release+0xac>                  <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
a000bd10:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000bd14:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
a000bd18:	eb000325 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000bd1c:	eafffff1 	b	a000bce8 <pipe_release+0xac>                    <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
a000bd20:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
a000bd24:	eb000308 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
a000bd28:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
a000bd2c:	eb000306 	bl	a000c94c <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
a000bd30:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
a000bd34:	ebffe42c 	bl	a0004dec <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
a000bd38:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a000bd3c:	ebffd71e 	bl	a00019bc <free>                                <== NOT EXECUTED
  free(pipe);                                                         
a000bd40:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000bd44:	ebffd71c 	bl	a00019bc <free>                                <== NOT EXECUTED
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
a000bd48:	e5878000 	str	r8, [r7]                                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
a000bd4c:	eaffffe5 	b	a000bce8 <pipe_release+0xac>                    <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
a000bd50:	ebffe5ef 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a000ba20 <pipe_write>:                                                
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000ba20:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000ba24:	e2524000 	subs	r4, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
a000ba28:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a000ba2c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a000ba30:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
a000ba34:	01a07004 	moveq	r7, r4                                      <== NOT EXECUTED
a000ba38:	1a000002 	bne	a000ba48 <pipe_write+0x28>                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
a000ba3c:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000ba40:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a000ba44:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
a000ba48:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000ba4c:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
a000ba50:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a000ba54:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000ba58:	ebffe50c 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000ba5c:	e2509000 	subs	r9, r0, #0                                   <== NOT EXECUTED
a000ba60:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000ba64:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
a000ba68:	1afffff3 	bne	a000ba3c <pipe_write+0x1c>                    <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
a000ba6c:	e5957010 	ldr	r7, [r5, #16]                                 <== NOT EXECUTED
a000ba70:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000ba74:	0a000050 	beq	a000bbbc <pipe_write+0x19c>                   <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000ba78:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a000ba7c:	e1a07009 	mov	r7, r9                                        <== NOT EXECUTED
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a000ba80:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
a000ba84:	e1540008 	cmp	r4, r8                                        <== NOT EXECUTED
a000ba88:	91a0a004 	movls	sl, r4                                      <== NOT EXECUTED
a000ba8c:	83a0a001 	movhi	sl, #1                                      <== NOT EXECUTED
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a000ba90:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a000ba94:	e0602008 	rsb	r2, r0, r8                                    <== NOT EXECUTED
a000ba98:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a000ba9c:	2a000021 	bcs	a000bb28 <pipe_write+0x108>                   <== NOT EXECUTED
      if (LIBIO_NODELAY(iop)) {                                       
a000baa0:	e5938014 	ldr	r8, [r3, #20]                                 <== NOT EXECUTED
a000baa4:	e2188001 	ands	r8, r8, #1                                   <== NOT EXECUTED
a000baa8:	1a000051 	bne	a000bbf4 <pipe_write+0x1d4>                   <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000baac:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000bab0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000bab4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
a000bab8:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a000babc:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
a000bac0:	ebffe53a 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
a000bac4:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000bac8:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
a000bacc:	eb0003d1 	bl	a000ca18 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000bad0:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a000bad4:	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))                                     
a000bad8:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000badc:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
a000bae0:	13e08003 	mvnne	r8, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000bae4:	ebffe4e9 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
a000bae8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000baec:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000baf0:	1a00003d 	bne	a000bbec <pipe_write+0x1cc>                   <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000baf4:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000baf8:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
a000bafc:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
a000bb00:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
a000bb04:	1a00002d 	bne	a000bbc0 <pipe_write+0x1a0>                   <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
a000bb08:	e5952010 	ldr	r2, [r5, #16]                                 <== NOT EXECUTED
a000bb0c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000bb10:	0a000029 	beq	a000bbbc <pipe_write+0x19c>                   <== NOT EXECUTED
a000bb14:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
a000bb18:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a000bb1c:	e0602008 	rsb	r2, r0, r8                                    <== NOT EXECUTED
a000bb20:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a000bb24:	3affffdd 	bcc	a000baa0 <pipe_write+0x80>                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000bb28:	e595c008 	ldr	ip, [r5, #8]                                  <== NOT EXECUTED
a000bb2c:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000bb30:	e069a004 	rsb	sl, r9, r4                                    <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000bb34:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
a000bb38:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
a000bb3c:	31a0a002 	movcc	sl, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000bb40:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000bb44:	eb002dbf 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
a000bb48:	e0608008 	rsb	r8, r0, r8                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000bb4c:	e15a0008 	cmp	sl, r8                                        <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
a000bb50:	e1a0c000 	mov	ip, r0                                        <== NOT EXECUTED
    if (chunk > chunk1) {                                             
a000bb54:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000bb58:	da000027 	ble	a000bbfc <pipe_write+0x1dc>                   <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
a000bb5c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000bb60:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a000bb64:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
a000bb68:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a000bb6c:	eb0009fc 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
a000bb70:	e0881009 	add	r1, r8, r9                                    <== NOT EXECUTED
a000bb74:	e0861001 	add	r1, r6, r1                                    <== NOT EXECUTED
a000bb78:	e068200a 	rsb	r2, r8, sl                                    <== NOT EXECUTED
a000bb7c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000bb80:	eb0009f7 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
a000bb84:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000bb88:	e595200c 	ldr	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000bb8c:	e5951018 	ldr	r1, [r5, #24]                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000bb90:	e082200a 	add	r2, r2, sl                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000bb94:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
a000bb98:	e585200c 	str	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
a000bb9c:	1a00001e 	bne	a000bc1c <pipe_write+0x1fc>                   <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
a000bba0:	e087700a 	add	r7, r7, sl                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a000bba4:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
a000bba8:	e1a09007 	mov	r9, r7                                        <== NOT EXECUTED
a000bbac:	9a000020 	bls	a000bc34 <pipe_write+0x214>                   <== NOT EXECUTED
a000bbb0:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
a000bbb4:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
a000bbb8:	eaffffb4 	b	a000ba90 <pipe_write+0x70>                      <== NOT EXECUTED
a000bbbc:	e3e0801f 	mvn	r8, #31                                       <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
a000bbc0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
a000bbc4:	ebffe4f9 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
a000bbc8:	e3780020 	cmn	r8, #32                                       <== NOT EXECUTED
a000bbcc:	0a000002 	beq	a000bbdc <pipe_write+0x1bc>                   <== NOT EXECUTED
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
a000bbd0:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a000bbd4:	d1a07008 	movle	r7, r8                                      <== NOT EXECUTED
a000bbd8:	eaffff97 	b	a000ba3c <pipe_write+0x1c>                      <== NOT EXECUTED
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
a000bbdc:	eb000244 	bl	a000c4f4 <getpid>                              <== NOT EXECUTED
a000bbe0:	e3a0100d 	mov	r1, #13                                       <== NOT EXECUTED
a000bbe4:	eb000289 	bl	a000c610 <kill>                                <== NOT EXECUTED
a000bbe8:	eafffff8 	b	a000bbd0 <pipe_write+0x1b0>                     <== NOT EXECUTED
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
a000bbec:	e3e08003 	mvn	r8, #3                                        <== NOT EXECUTED
a000bbf0:	eafffff6 	b	a000bbd0 <pipe_write+0x1b0>                     <== NOT EXECUTED
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
a000bbf4:	e3e0800a 	mvn	r8, #10                                       <== NOT EXECUTED
a000bbf8:	eafffff0 	b	a000bbc0 <pipe_write+0x1a0>                     <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
a000bbfc:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
a000bc00:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
a000bc04:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
a000bc08:	e080000c 	add	r0, r0, ip                                    <== NOT EXECUTED
a000bc0c:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000bc10:	eb0009d3 	bl	a000e364 <memcpy>                              <== NOT EXECUTED
a000bc14:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000bc18:	eaffffda 	b	a000bb88 <pipe_write+0x168>                     <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
a000bc1c:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
a000bc20:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
a000bc24:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a000bc28:	eb000361 	bl	a000c9b4 <rtems_barrier_release>               <== NOT EXECUTED
a000bc2c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000bc30:	eaffffda 	b	a000bba0 <pipe_write+0x180>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
a000bc34:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
a000bc38:	eaffffe0 	b	a000bbc0 <pipe_write+0x1a0>                     <== NOT EXECUTED
                                                                      
a00061c8 <pthread_rwlock_timedrdlock>:                                
                                                                      
int pthread_rwlock_timedrdlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
a00061c8:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
a00061cc:	e2505000 	subs	r5, r0, #0                                   
                                                                      
int pthread_rwlock_timedrdlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
a00061d0:	e24dd00c 	sub	sp, sp, #12                                   
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
a00061d4:	0a00001d 	beq	a0006250 <pthread_rwlock_timedrdlock+0x88>    
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
a00061d8:	e1a00001 	mov	r0, r1                                        
a00061dc:	e28d1004 	add	r1, sp, #4                                    
a00061e0:	eb001986 	bl	a000c800 <_POSIX_Absolute_timeout_to_ticks>    
a00061e4:	e5951000 	ldr	r1, [r5]                                      
a00061e8:	e1a04000 	mov	r4, r0                                        
a00061ec:	e28d2008 	add	r2, sp, #8                                    
a00061f0:	e59f0090 	ldr	r0, [pc, #144]	; a0006288 <pthread_rwlock_timedrdlock+0xc0>
a00061f4:	eb000a81 	bl	a0008c00 <_Objects_Get>                        
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
a00061f8:	e59dc008 	ldr	ip, [sp, #8]                                  
a00061fc:	e35c0000 	cmp	ip, #0                                        
a0006200:	1a000012 	bne	a0006250 <pthread_rwlock_timedrdlock+0x88>    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
a0006204:	e5951000 	ldr	r1, [r5]                                      
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
a0006208:	e3540003 	cmp	r4, #3                                        
a000620c:	13a05000 	movne	r5, #0                                      
a0006210:	03a05001 	moveq	r5, #1                                      
a0006214:	e2800010 	add	r0, r0, #16                                   
a0006218:	e59d3004 	ldr	r3, [sp, #4]                                  
a000621c:	e1a02005 	mov	r2, r5                                        
a0006220:	e58dc000 	str	ip, [sp]                                      
a0006224:	eb000722 	bl	a0007eb4 <_CORE_RWLock_Obtain_for_reading>     
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
a0006228:	eb000cb6 	bl	a0009508 <_Thread_Enable_dispatch>             
      if ( !do_wait ) {                                               
a000622c:	e3550000 	cmp	r5, #0                                        
a0006230:	1a00000f 	bne	a0006274 <pthread_rwlock_timedrdlock+0xac>    
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
a0006234:	e59f3050 	ldr	r3, [pc, #80]	; a000628c <pthread_rwlock_timedrdlock+0xc4>
a0006238:	e5933000 	ldr	r3, [r3]                                      
a000623c:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
a0006240:	e3500002 	cmp	r0, #2                                        
a0006244:	0a000004 	beq	a000625c <pthread_rwlock_timedrdlock+0x94>    
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
a0006248:	eb000042 	bl	a0006358 <_POSIX_RWLock_Translate_core_RWLock_return_code>
a000624c:	ea000000 	b	a0006254 <pthread_rwlock_timedrdlock+0x8c>      
a0006250:	e3a00016 	mov	r0, #22                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
a0006254:	e28dd00c 	add	sp, sp, #12                                   
a0006258:	e8bd8030 	pop	{r4, r5, pc}                                  
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
a000625c:	e3540000 	cmp	r4, #0                                        
a0006260:	0afffffa 	beq	a0006250 <pthread_rwlock_timedrdlock+0x88>    
a0006264:	e3540002 	cmp	r4, #2                                        
a0006268:	93a00074 	movls	r0, #116	; 0x74                             
a000626c:	9afffff8 	bls	a0006254 <pthread_rwlock_timedrdlock+0x8c>    
a0006270:	eafffff4 	b	a0006248 <pthread_rwlock_timedrdlock+0x80>      <== NOT EXECUTED
a0006274:	e59f3010 	ldr	r3, [pc, #16]	; a000628c <pthread_rwlock_timedrdlock+0xc4>
a0006278:	e5933000 	ldr	r3, [r3]                                      
a000627c:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
a0006280:	eb000034 	bl	a0006358 <_POSIX_RWLock_Translate_core_RWLock_return_code>
a0006284:	eafffff2 	b	a0006254 <pthread_rwlock_timedrdlock+0x8c>      
                                                                      
a0006290 <pthread_rwlock_timedwrlock>:                                
                                                                      
int pthread_rwlock_timedwrlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
a0006290:	e92d4030 	push	{r4, r5, lr}                                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
a0006294:	e2505000 	subs	r5, r0, #0                                   
                                                                      
int pthread_rwlock_timedwrlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
a0006298:	e24dd00c 	sub	sp, sp, #12                                   
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
a000629c:	0a00001d 	beq	a0006318 <pthread_rwlock_timedwrlock+0x88>    
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
a00062a0:	e1a00001 	mov	r0, r1                                        
a00062a4:	e28d1004 	add	r1, sp, #4                                    
a00062a8:	eb001954 	bl	a000c800 <_POSIX_Absolute_timeout_to_ticks>    
a00062ac:	e5951000 	ldr	r1, [r5]                                      
a00062b0:	e1a04000 	mov	r4, r0                                        
a00062b4:	e28d2008 	add	r2, sp, #8                                    
a00062b8:	e59f0090 	ldr	r0, [pc, #144]	; a0006350 <pthread_rwlock_timedwrlock+0xc0>
a00062bc:	eb000a4f 	bl	a0008c00 <_Objects_Get>                        
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
a00062c0:	e59dc008 	ldr	ip, [sp, #8]                                  
a00062c4:	e35c0000 	cmp	ip, #0                                        
a00062c8:	1a000012 	bne	a0006318 <pthread_rwlock_timedwrlock+0x88>    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
a00062cc:	e5951000 	ldr	r1, [r5]                                      
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
a00062d0:	e3540003 	cmp	r4, #3                                        
a00062d4:	13a05000 	movne	r5, #0                                      
a00062d8:	03a05001 	moveq	r5, #1                                      
a00062dc:	e2800010 	add	r0, r0, #16                                   
a00062e0:	e59d3004 	ldr	r3, [sp, #4]                                  
a00062e4:	e1a02005 	mov	r2, r5                                        
a00062e8:	e58dc000 	str	ip, [sp]                                      
a00062ec:	eb000727 	bl	a0007f90 <_CORE_RWLock_Obtain_for_writing>     
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
a00062f0:	eb000c84 	bl	a0009508 <_Thread_Enable_dispatch>             
      if ( !do_wait &&                                                
a00062f4:	e3550000 	cmp	r5, #0                                        
a00062f8:	1a00000f 	bne	a000633c <pthread_rwlock_timedwrlock+0xac>    
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
a00062fc:	e59f3050 	ldr	r3, [pc, #80]	; a0006354 <pthread_rwlock_timedwrlock+0xc4>
a0006300:	e5933000 	ldr	r3, [r3]                                      
a0006304:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
a0006308:	e3500002 	cmp	r0, #2                                        
a000630c:	0a000004 	beq	a0006324 <pthread_rwlock_timedwrlock+0x94>    
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
a0006310:	eb000010 	bl	a0006358 <_POSIX_RWLock_Translate_core_RWLock_return_code>
a0006314:	ea000000 	b	a000631c <pthread_rwlock_timedwrlock+0x8c>      
a0006318:	e3a00016 	mov	r0, #22                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
a000631c:	e28dd00c 	add	sp, sp, #12                                   
a0006320:	e8bd8030 	pop	{r4, r5, pc}                                  
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
a0006324:	e3540000 	cmp	r4, #0                                        
a0006328:	0afffffa 	beq	a0006318 <pthread_rwlock_timedwrlock+0x88>    
a000632c:	e3540002 	cmp	r4, #2                                        
a0006330:	93a00074 	movls	r0, #116	; 0x74                             
a0006334:	9afffff8 	bls	a000631c <pthread_rwlock_timedwrlock+0x8c>    
a0006338:	eafffff4 	b	a0006310 <pthread_rwlock_timedwrlock+0x80>      <== NOT EXECUTED
a000633c:	e59f3010 	ldr	r3, [pc, #16]	; a0006354 <pthread_rwlock_timedwrlock+0xc4>
a0006340:	e5933000 	ldr	r3, [r3]                                      
a0006344:	e5930034 	ldr	r0, [r3, #52]	; 0x34                          
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
a0006348:	eb000002 	bl	a0006358 <_POSIX_RWLock_Translate_core_RWLock_return_code>
a000634c:	eafffff2 	b	a000631c <pthread_rwlock_timedwrlock+0x8c>      
                                                                      
a00054c8 <pthread_testcancel>:                                        
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
a00054c8:	e59f3060 	ldr	r3, [pc, #96]	; a0005530 <pthread_testcancel+0x68>
 *                                                                    
 *  18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183     
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
a00054cc:	e92d4010 	push	{r4, lr}                                     
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
a00054d0:	e5933000 	ldr	r3, [r3]                                      
a00054d4:	e3530000 	cmp	r3, #0                                        
a00054d8:	1a000011 	bne	a0005524 <pthread_testcancel+0x5c>            
a00054dc:	e59f3050 	ldr	r3, [pc, #80]	; a0005534 <pthread_testcancel+0x6c>
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
a00054e0:	e59f4050 	ldr	r4, [pc, #80]	; a0005538 <pthread_testcancel+0x70>
a00054e4:	e5931000 	ldr	r1, [r3]                                      
a00054e8:	e5942000 	ldr	r2, [r4]                                      
a00054ec:	e2811001 	add	r1, r1, #1                                    
a00054f0:	e5831000 	str	r1, [r3]                                      
a00054f4:	e5923108 	ldr	r3, [r2, #264]	; 0x108                        
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
a00054f8:	e59320d4 	ldr	r2, [r3, #212]	; 0xd4                         
a00054fc:	e3520000 	cmp	r2, #0                                        
a0005500:	1a000008 	bne	a0005528 <pthread_testcancel+0x60>            
         thread_support->cancelation_requested )                      
a0005504:	e59330dc 	ldr	r3, [r3, #220]	; 0xdc                         
a0005508:	e3530000 	cmp	r3, #0                                        
a000550c:	0a000005 	beq	a0005528 <pthread_testcancel+0x60>            
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
a0005510:	eb000996 	bl	a0007b70 <_Thread_Enable_dispatch>             
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
a0005514:	e5940000 	ldr	r0, [r4]                                      
a0005518:	e3e01000 	mvn	r1, #0                                        
}                                                                     
a000551c:	e8bd4010 	pop	{r4, lr}                                      
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
a0005520:	ea0016f4 	b	a000b0f8 <_POSIX_Thread_Exit>                   
a0005524:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
}                                                                     
a0005528:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
a000552c:	ea00098f 	b	a0007b70 <_Thread_Enable_dispatch>              
                                                                      
a0018a84 <read>:                                                      
)                                                                     
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018a84:	e59f30c0 	ldr	r3, [pc, #192]	; a0018b4c <read+0xc8>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0018a88:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018a8c:	e593c000 	ldr	ip, [r3]                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0018a90:	e1a05001 	mov	r5, r1                                        
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018a94:	e150000c 	cmp	r0, ip                                        
a0018a98:	2a00001c 	bcs	a0018b10 <read+0x8c>                          
  iop = rtems_libio_iop( fd );                                        
a0018a9c:	e59fc0ac 	ldr	ip, [pc, #172]	; a0018b50 <read+0xcc>         
a0018aa0:	e59c4000 	ldr	r4, [ip]                                      
a0018aa4:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0018aa8:	e5940014 	ldr	r0, [r4, #20]                                 
a0018aac:	e3100c01 	tst	r0, #256	; 0x100                              
a0018ab0:	0a000016 	beq	a0018b10 <read+0x8c>                          
  rtems_libio_check_buffer( buffer );                                 
a0018ab4:	e3510000 	cmp	r1, #0                                        
a0018ab8:	0a000019 	beq	a0018b24 <read+0xa0>                          
  rtems_libio_check_count( count );                                   
a0018abc:	e3520000 	cmp	r2, #0                                        
a0018ac0:	0a000010 	beq	a0018b08 <read+0x84>                          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0018ac4:	e3100002 	tst	r0, #2                                        
a0018ac8:	0a000015 	beq	a0018b24 <read+0xa0>                          
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
a0018acc:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0018ad0:	e5933008 	ldr	r3, [r3, #8]                                  
a0018ad4:	e3530000 	cmp	r3, #0                                        
a0018ad8:	0a000016 	beq	a0018b38 <read+0xb4>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
a0018adc:	e1a00004 	mov	r0, r4                                        
a0018ae0:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0018ae4:	e3500000 	cmp	r0, #0                                        
a0018ae8:	da000005 	ble	a0018b04 <read+0x80>                          
    iop->offset += rc;                                                
a0018aec:	e284600c 	add	r6, r4, #12                                   
a0018af0:	e8960060 	ldm	r6, {r5, r6}                                  
a0018af4:	e0952000 	adds	r2, r5, r0                                   
a0018af8:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0018afc:	e584200c 	str	r2, [r4, #12]                                 
a0018b00:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0018b04:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0018b08:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a0018b0c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0018b10:	ebffd405 	bl	a000db2c <__errno>                             
a0018b14:	e3a03009 	mov	r3, #9                                        
a0018b18:	e5803000 	str	r3, [r0]                                      
a0018b1c:	e3e00000 	mvn	r0, #0                                        
a0018b20:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0018b24:	ebffd400 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018b28:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0018b2c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0018b30:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018b34:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0018b38:	ebffd3fb 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018b3c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0018b40:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0018b44:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018b48:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a0005238 <readlink>:                                                  
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0005238:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a000523c:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
a0005240:	e24dd018 	sub	sp, sp, #24                                   
a0005244:	e1a05002 	mov	r5, r2                                        
a0005248:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
a000524c:	0a000030 	beq	a0005314 <readlink+0xdc>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
a0005250:	eb003b60 	bl	a0013fd8 <strlen>                              
a0005254:	e28d4004 	add	r4, sp, #4                                    
a0005258:	e3a0c000 	mov	ip, #0                                        
a000525c:	e1a01000 	mov	r1, r0                                        
a0005260:	e1a0200c 	mov	r2, ip                                        
a0005264:	e1a00007 	mov	r0, r7                                        
a0005268:	e1a03004 	mov	r3, r4                                        
a000526c:	e58dc000 	str	ip, [sp]                                      
a0005270:	ebfffb5f 	bl	a0003ff4 <rtems_filesystem_evaluate_path>      
                                           0, &loc, false );          
  if ( result != 0 )                                                  
a0005274:	e3500000 	cmp	r0, #0                                        
a0005278:	1a000023 	bne	a000530c <readlink+0xd4>                      
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a000527c:	e59d2010 	ldr	r2, [sp, #16]                                 
a0005280:	e5923010 	ldr	r3, [r2, #16]                                 
a0005284:	e3530000 	cmp	r3, #0                                        
a0005288:	0a000017 	beq	a00052ec <readlink+0xb4>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
a000528c:	e1a00004 	mov	r0, r4                                        
a0005290:	e12fff33 	blx	r3                                            
a0005294:	e3500004 	cmp	r0, #4                                        
a0005298:	1a000022 	bne	a0005328 <readlink+0xf0>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
a000529c:	e59d2010 	ldr	r2, [sp, #16]                                 
a00052a0:	e592303c 	ldr	r3, [r2, #60]	; 0x3c                          
a00052a4:	e3530000 	cmp	r3, #0                                        
a00052a8:	0a00002b 	beq	a000535c <readlink+0x124>                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a00052ac:	e1a02005 	mov	r2, r5                                        
a00052b0:	e1a01006 	mov	r1, r6                                        
a00052b4:	e1a00004 	mov	r0, r4                                        
a00052b8:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00052bc:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
a00052c0:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00052c4:	e3530000 	cmp	r3, #0                                        
a00052c8:	0a000004 	beq	a00052e0 <readlink+0xa8>                      
a00052cc:	e593301c 	ldr	r3, [r3, #28]                                 
a00052d0:	e3530000 	cmp	r3, #0                                        
a00052d4:	0a000001 	beq	a00052e0 <readlink+0xa8>                      
a00052d8:	e1a00004 	mov	r0, r4                                        
a00052dc:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00052e0:	e1a00005 	mov	r0, r5                                        
a00052e4:	e28dd018 	add	sp, sp, #24                                   
a00052e8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
a00052ec:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00052f0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00052f4:	0a000001 	beq	a0005300 <readlink+0xc8>                      <== NOT EXECUTED
a00052f8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00052fc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0005300:	eb0033f5 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0005304:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005308:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000530c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0005310:	eafffff2 	b	a00052e0 <readlink+0xa8>                        <== NOT EXECUTED
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a0005314:	eb0033f0 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0005318:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a000531c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005320:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0005324:	eaffffed 	b	a00052e0 <readlink+0xa8>                        <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
a0005328:	e59d3010 	ldr	r3, [sp, #16]                                 
a000532c:	e3530000 	cmp	r3, #0                                        
a0005330:	0a000004 	beq	a0005348 <readlink+0x110>                     
a0005334:	e593301c 	ldr	r3, [r3, #28]                                 
a0005338:	e3530000 	cmp	r3, #0                                        
a000533c:	0a000001 	beq	a0005348 <readlink+0x110>                     
a0005340:	e1a00004 	mov	r0, r4                                        
a0005344:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a0005348:	eb0033e3 	bl	a00122dc <__errno>                             
a000534c:	e3a03016 	mov	r3, #22                                       
a0005350:	e5803000 	str	r3, [r0]                                      
a0005354:	e3e05000 	mvn	r5, #0                                        
a0005358:	eaffffe0 	b	a00052e0 <readlink+0xa8>                        
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
a000535c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0005360:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0005364:	0a000001 	beq	a0005370 <readlink+0x138>                     <== NOT EXECUTED
a0005368:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000536c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0005370:	eb0033d9 	bl	a00122dc <__errno>                             <== NOT EXECUTED
a0005374:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0005378:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000537c:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
a0005380:	eaffffd6 	b	a00052e0 <readlink+0xa8>                        <== NOT EXECUTED
                                                                      
a0003b5c <readv>:                                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0003b5c:	e59f315c 	ldr	r3, [pc, #348]	; a0003cc0 <readv+0x164>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003b60:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0003b64:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0003b68:	e1a04002 	mov	r4, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0003b6c:	e1500003 	cmp	r0, r3                                        
a0003b70:	2a000048 	bcs	a0003c98 <readv+0x13c>                        
  iop = rtems_libio_iop( fd );                                        
a0003b74:	e59f3148 	ldr	r3, [pc, #328]	; a0003cc4 <readv+0x168>       
a0003b78:	e5936000 	ldr	r6, [r3]                                      
a0003b7c:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0003b80:	e5963014 	ldr	r3, [r6, #20]                                 
a0003b84:	e3130c01 	tst	r3, #256	; 0x100                              
a0003b88:	0a000042 	beq	a0003c98 <readv+0x13c>                        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
a0003b8c:	e3130002 	tst	r3, #2                                        
a0003b90:	0a00003a 	beq	a0003c80 <readv+0x124>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0003b94:	e3510000 	cmp	r1, #0                                        
a0003b98:	0a000038 	beq	a0003c80 <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0003b9c:	e3520000 	cmp	r2, #0                                        
a0003ba0:	da000036 	ble	a0003c80 <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0003ba4:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0003ba8:	ca000034 	bgt	a0003c80 <readv+0x124>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
a0003bac:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a0003bb0:	e5933008 	ldr	r3, [r3, #8]                                  
a0003bb4:	e3530000 	cmp	r3, #0                                        
a0003bb8:	0a00003b 	beq	a0003cac <readv+0x150>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003bbc:	e1a05001 	mov	r5, r1                                        
a0003bc0:	e3a01000 	mov	r1, #0                                        
a0003bc4:	e1a02005 	mov	r2, r5                                        
a0003bc8:	e3a07001 	mov	r7, #1                                        
a0003bcc:	e1a00001 	mov	r0, r1                                        
a0003bd0:	ea000000 	b	a0003bd8 <readv+0x7c>                           
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003bd4:	e1a00008 	mov	r0, r8                                        
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a0003bd8:	e592c000 	ldr	ip, [r2]                                      
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003bdc:	e2811001 	add	r1, r1, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
a0003be0:	e35c0000 	cmp	ip, #0                                        
a0003be4:	0a000025 	beq	a0003c80 <readv+0x124>                        
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0003be8:	e592c004 	ldr	ip, [r2, #4]                                  
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003bec:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0003bf0:	e080800c 	add	r8, r0, ip                                    
    if ( total < old )                                                
a0003bf4:	e1580000 	cmp	r8, r0                                        
a0003bf8:	ba000020 	blt	a0003c80 <readv+0x124>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a0003bfc:	e35c0000 	cmp	ip, #0                                        
a0003c00:	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++ ) {                           
a0003c04:	e1540001 	cmp	r4, r1                                        
a0003c08:	cafffff1 	bgt	a0003bd4 <readv+0x78>                         
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
a0003c0c:	e3570000 	cmp	r7, #0                                        
a0003c10:	13a08000 	movne	r8, #0                                      
a0003c14:	1a00001d 	bne	a0003c90 <readv+0x134>                        
a0003c18:	e1a08007 	mov	r8, r7                                        
a0003c1c:	ea00000f 	b	a0003c60 <readv+0x104>                          
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a0003c20:	0a000006 	beq	a0003c40 <readv+0xe4>                         
      iop->offset += bytes;                                           
a0003c24:	e286c00c 	add	ip, r6, #12                                   
a0003c28:	e89c1800 	ldm	ip, {fp, ip}                                  
a0003c2c:	e09b2000 	adds	r2, fp, r0                                   
a0003c30:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
a0003c34:	e586200c 	str	r2, [r6, #12]                                 
a0003c38:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
a0003c3c:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003c40:	e5953004 	ldr	r3, [r5, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c44:	e2855008 	add	r5, r5, #8                                    
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a0003c48:	e1500003 	cmp	r0, r3                                        
a0003c4c:	1a00000f 	bne	a0003c90 <readv+0x134>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c50:	e1540007 	cmp	r4, r7                                        
a0003c54:	da00000d 	ble	a0003c90 <readv+0x134>                        
a0003c58:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
a0003c5c:	e5933008 	ldr	r3, [r3, #8]                                  
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
a0003c60:	e8950006 	ldm	r5, {r1, r2}                                  
a0003c64:	e1a00006 	mov	r0, r6                                        
a0003c68:	e12fff33 	blx	r3                                            
                                                                      
    if ( bytes < 0 )                                                  
a0003c6c:	e3500000 	cmp	r0, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c70:	e2877001 	add	r7, r7, #1                                    
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
a0003c74:	aaffffe9 	bge	a0003c20 <readv+0xc4>                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0003c78:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003c7c:	ea000003 	b	a0003c90 <readv+0x134>                          <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0003c80:	eb00319b 	bl	a00102f4 <__errno>                             
a0003c84:	e3a03016 	mov	r3, #22                                       
a0003c88:	e5803000 	str	r3, [r0]                                      
a0003c8c:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0003c90:	e1a00008 	mov	r0, r8                                        
a0003c94:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0003c98:	eb003195 	bl	a00102f4 <__errno>                             <== NOT EXECUTED
a0003c9c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0003ca0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003ca4:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003ca8:	eafffff8 	b	a0003c90 <readv+0x134>                          <== NOT EXECUTED
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003cac:	eb003190 	bl	a00102f4 <__errno>                             <== NOT EXECUTED
a0003cb0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003cb4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0003cb8:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0003cbc:	eafffff3 	b	a0003c90 <readv+0x134>                          <== NOT EXECUTED
                                                                      
a0018bac <realloc>:                                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0018bac:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0018bb0:	e59f3118 	ldr	r3, [pc, #280]	; a0018cd0 <realloc+0x124>     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0018bb4:	e59f5118 	ldr	r5, [pc, #280]	; a0018cd4 <realloc+0x128>     
a0018bb8:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0018bbc:	e5933000 	ldr	r3, [r3]                                      
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0018bc0:	e5952010 	ldr	r2, [r5, #16]                                 
a0018bc4:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0018bc8:	e3530003 	cmp	r3, #3                                        
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
a0018bcc:	e2822001 	add	r2, r2, #1                                    
a0018bd0:	e1a06001 	mov	r6, r1                                        
a0018bd4:	e5852010 	str	r2, [r5, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
a0018bd8:	0a000020 	beq	a0018c60 <realloc+0xb4>                       
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
a0018bdc:	e3540000 	cmp	r4, #0                                        
a0018be0:	0a00001a 	beq	a0018c50 <realloc+0xa4>                       
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
a0018be4:	e3560000 	cmp	r6, #0                                        
a0018be8:	0a00000f 	beq	a0018c2c <realloc+0x80>                       
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
a0018bec:	e59f70e4 	ldr	r7, [pc, #228]	; a0018cd8 <realloc+0x12c>     
a0018bf0:	e1a01004 	mov	r1, r4                                        
a0018bf4:	e1a0200d 	mov	r2, sp                                        
a0018bf8:	e5970000 	ldr	r0, [r7]                                      
a0018bfc:	eb00006c 	bl	a0018db4 <_Protected_heap_Get_block_size>      
a0018c00:	e2508000 	subs	r8, r0, #0                                   
a0018c04:	0a00000c 	beq	a0018c3c <realloc+0x90>                       
  #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)                          
    if (rtems_malloc_boundary_helpers)                                
      resize += (*rtems_malloc_boundary_helpers->overhead)();         
  #endif                                                              
                                                                      
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, resize ) ) {
a0018c08:	e5970000 	ldr	r0, [r7]                                      
a0018c0c:	e1a01004 	mov	r1, r4                                        
a0018c10:	e1a02006 	mov	r2, r6                                        
a0018c14:	eb000077 	bl	a0018df8 <_Protected_heap_Resize_block>        
a0018c18:	e3500000 	cmp	r0, #0                                        
a0018c1c:	0a00001b 	beq	a0018c90 <realloc+0xe4>                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
a0018c20:	e1a00004 	mov	r0, r4                                        
a0018c24:	e28dd004 	add	sp, sp, #4                                    
a0018c28:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
a0018c2c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0018c30:	ebffa361 	bl	a00019bc <free>                                <== NOT EXECUTED
a0018c34:	e1a04006 	mov	r4, r6                                        <== NOT EXECUTED
    return (void *) 0;                                                
a0018c38:	eafffff8 	b	a0018c20 <realloc+0x74>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
a0018c3c:	ebffd3ba 	bl	a000db2c <__errno>                             
a0018c40:	e3a03016 	mov	r3, #22                                       
a0018c44:	e5803000 	str	r3, [r0]                                      
a0018c48:	e1a04008 	mov	r4, r8                                        
    return (void *) 0;                                                
a0018c4c:	eafffff3 	b	a0018c20 <realloc+0x74>                         
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
a0018c50:	e1a00006 	mov	r0, r6                                        
a0018c54:	ebffa41f 	bl	a0001cd8 <malloc>                              
a0018c58:	e1a04000 	mov	r4, r0                                        
a0018c5c:	eaffffef 	b	a0018c20 <realloc+0x74>                         
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
a0018c60:	e59f3074 	ldr	r3, [pc, #116]	; a0018cdc <realloc+0x130>     
a0018c64:	e5933000 	ldr	r3, [r3]                                      
a0018c68:	e3530000 	cmp	r3, #0                                        
a0018c6c:	0a000001 	beq	a0018c78 <realloc+0xcc>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
a0018c70:	e3a04000 	mov	r4, #0                                        
a0018c74:	eaffffe9 	b	a0018c20 <realloc+0x74>                         
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
a0018c78:	e59f3060 	ldr	r3, [pc, #96]	; a0018ce0 <realloc+0x134>      
a0018c7c:	e5933000 	ldr	r3, [r3]                                      
a0018c80:	e3530000 	cmp	r3, #0                                        
a0018c84:	0affffd4 	beq	a0018bdc <realloc+0x30>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
a0018c88:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
a0018c8c:	eaffffe3 	b	a0018c20 <realloc+0x74>                         <== NOT EXECUTED
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
a0018c90:	e1a00006 	mov	r0, r6                                        
a0018c94:	ebffa40f 	bl	a0001cd8 <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0018c98:	e5953004 	ldr	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0018c9c:	e2507000 	subs	r7, r0, #0                                   
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
a0018ca0:	e2433001 	sub	r3, r3, #1                                    
a0018ca4:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
a0018ca8:	0afffff0 	beq	a0018c70 <realloc+0xc4>                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
a0018cac:	e59d2000 	ldr	r2, [sp]                                      
a0018cb0:	e1a01004 	mov	r1, r4                                        
a0018cb4:	e1560002 	cmp	r6, r2                                        
a0018cb8:	31a02006 	movcc	r2, r6                                      
a0018cbc:	ebffd5a8 	bl	a000e364 <memcpy>                              
  free( ptr );                                                        
a0018cc0:	e1a00004 	mov	r0, r4                                        
a0018cc4:	ebffa33c 	bl	a00019bc <free>                                
a0018cc8:	e1a04007 	mov	r4, r7                                        
                                                                      
  return new_area;                                                    
a0018ccc:	eaffffd3 	b	a0018c20 <realloc+0x74>                         
                                                                      
a00063fc <rmdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
a00063fc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a0006400:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
a0006404:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
a0006408:	ebfff9ae 	bl	a0004ac8 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a000640c:	e2507000 	subs	r7, r0, #0                                   
a0006410:	1a000078 	bne	a00065f8 <rmdir+0x1fc>                        
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a0006414:	e5d53000 	ldrb	r3, [r5]                                     
a0006418:	e353002f 	cmp	r3, #47	; 0x2f                                
a000641c:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0006420:	1a000047 	bne	a0006544 <rmdir+0x148>                        
a0006424:	e59f3268 	ldr	r3, [pc, #616]	; a0006694 <rmdir+0x298>       
a0006428:	e28d4018 	add	r4, sp, #24                                   
a000642c:	e3a06000 	mov	r6, #0                                        
a0006430:	e593c000 	ldr	ip, [r3]                                      
a0006434:	e28cc018 	add	ip, ip, #24                                   
a0006438:	e1a0e004 	mov	lr, r4                                        
a000643c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0006440:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0006444:	e59c2000 	ldr	r2, [ip]                                      
a0006448:	e58e2000 	str	r2, [lr]                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000644c:	e28dc004 	add	ip, sp, #4                                    
a0006450:	e1a0e004 	mov	lr, r4                                        
a0006454:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006458:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000645c:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
a0006460:	e0855007 	add	r5, r5, r7                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a0006464:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a0006468:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000646c:	eb003fa3 	bl	a0016300 <strlen>                              
a0006470:	e1a01000 	mov	r1, r0                                        
a0006474:	e1a00005 	mov	r0, r5                                        
a0006478:	ebfff97e 	bl	a0004a78 <rtems_filesystem_prefix_separators>  
a000647c:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a0006480:	e1a00007 	mov	r0, r7                                        
a0006484:	eb003f9d 	bl	a0016300 <strlen>                              
a0006488:	e28d5004 	add	r5, sp, #4                                    
a000648c:	e3a0c000 	mov	ip, #0                                        
a0006490:	e1a01000 	mov	r1, r0                                        
a0006494:	e1a0200c 	mov	r2, ip                                        
a0006498:	e1a00007 	mov	r0, r7                                        
a000649c:	e1a03005 	mov	r3, r5                                        
a00064a0:	e58dc000 	str	ip, [sp]                                      
a00064a4:	ebfff9a0 	bl	a0004b2c <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a00064a8:	e3500000 	cmp	r0, #0                                        
a00064ac:	1a000043 	bne	a00065c0 <rmdir+0x1c4>                        
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
a00064b0:	e59d2010 	ldr	r2, [sp, #16]                                 
a00064b4:	e5923010 	ldr	r3, [r2, #16]                                 
a00064b8:	e3530000 	cmp	r3, #0                                        
a00064bc:	0a000070 	beq	a0006684 <rmdir+0x288>                        
    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 ){
a00064c0:	e1a00005 	mov	r0, r5                                        
a00064c4:	e12fff33 	blx	r3                                            
a00064c8:	e3500001 	cmp	r0, #1                                        
a00064cc:	1a000024 	bne	a0006564 <rmdir+0x168>                        
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
a00064d0:	e59d300c 	ldr	r3, [sp, #12]                                 
a00064d4:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
a00064d8:	e3530000 	cmp	r3, #0                                        
a00064dc:	0a000051 	beq	a0006628 <rmdir+0x22c>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a00064e0:	e1a00004 	mov	r0, r4                                        
a00064e4:	e1a01005 	mov	r1, r5                                        
a00064e8:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00064ec:	e59d3010 	ldr	r3, [sp, #16]                                 
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
a00064f0:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00064f4:	e3530000 	cmp	r3, #0                                        
a00064f8:	0a000004 	beq	a0006510 <rmdir+0x114>                        
a00064fc:	e593301c 	ldr	r3, [r3, #28]                                 
a0006500:	e3530000 	cmp	r3, #0                                        
a0006504:	0a000001 	beq	a0006510 <rmdir+0x114>                        
a0006508:	e1a00005 	mov	r0, r5                                        
a000650c:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a0006510:	e3560000 	cmp	r6, #0                                        
a0006514:	0a000007 	beq	a0006538 <rmdir+0x13c>                        
    rtems_filesystem_freenode( &parentloc );                          
a0006518:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000651c:	e3530000 	cmp	r3, #0                                        
a0006520:	0a000004 	beq	a0006538 <rmdir+0x13c>                        
a0006524:	e593301c 	ldr	r3, [r3, #28]                                 
a0006528:	e3530000 	cmp	r3, #0                                        
a000652c:	0a000001 	beq	a0006538 <rmdir+0x13c>                        
a0006530:	e1a00004 	mov	r0, r4                                        
a0006534:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0006538:	e1a00007 	mov	r0, r7                                        
a000653c:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a0006540:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
a0006544:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006548:	0affffb5 	beq	a0006424 <rmdir+0x28>                         <== NOT EXECUTED
a000654c:	e59f3140 	ldr	r3, [pc, #320]	; a0006694 <rmdir+0x298>       <== NOT EXECUTED
a0006550:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
a0006554:	e1a06007 	mov	r6, r7                                        <== NOT EXECUTED
a0006558:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
a000655c:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
a0006560:	eaffffb4 	b	a0006438 <rmdir+0x3c>                           <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
    rtems_filesystem_freenode( &loc );                                
a0006564:	e59d3010 	ldr	r3, [sp, #16]                                 
a0006568:	e3530000 	cmp	r3, #0                                        
a000656c:	0a000004 	beq	a0006584 <rmdir+0x188>                        
a0006570:	e593301c 	ldr	r3, [r3, #28]                                 
a0006574:	e3530000 	cmp	r3, #0                                        
a0006578:	0a000001 	beq	a0006584 <rmdir+0x188>                        
a000657c:	e1a00005 	mov	r0, r5                                        
a0006580:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a0006584:	e3560000 	cmp	r6, #0                                        
a0006588:	0a000007 	beq	a00065ac <rmdir+0x1b0>                        
      rtems_filesystem_freenode( &parentloc );                        
a000658c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a0006590:	e3530000 	cmp	r3, #0                                        
a0006594:	0a000004 	beq	a00065ac <rmdir+0x1b0>                        
a0006598:	e593301c 	ldr	r3, [r3, #28]                                 
a000659c:	e3530000 	cmp	r3, #0                                        
a00065a0:	0a000001 	beq	a00065ac <rmdir+0x1b0>                        
a00065a4:	e1a00004 	mov	r0, r4                                        
a00065a8:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
a00065ac:	eb003244 	bl	a0012ec4 <__errno>                             
a00065b0:	e3a03014 	mov	r3, #20                                       
a00065b4:	e5803000 	str	r3, [r0]                                      
a00065b8:	e3e07000 	mvn	r7, #0                                        
a00065bc:	eaffffdd 	b	a0006538 <rmdir+0x13c>                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
a00065c0:	e3560000 	cmp	r6, #0                                        
a00065c4:	1a000001 	bne	a00065d0 <rmdir+0x1d4>                        
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
a00065c8:	e3e07000 	mvn	r7, #0                                        
a00065cc:	eaffffd9 	b	a0006538 <rmdir+0x13c>                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
a00065d0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a00065d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00065d8:	0afffffa 	beq	a00065c8 <rmdir+0x1cc>                        <== NOT EXECUTED
a00065dc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00065e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00065e4:	0afffff7 	beq	a00065c8 <rmdir+0x1cc>                        <== NOT EXECUTED
a00065e8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00065ec:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00065f0:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a00065f4:	eaffffcf 	b	a0006538 <rmdir+0x13c>                          <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
a00065f8:	e28d4018 	add	r4, sp, #24                                   
a00065fc:	e3a0c000 	mov	ip, #0                                        
a0006600:	e1a00005 	mov	r0, r5                                        
a0006604:	e1a01007 	mov	r1, r7                                        
a0006608:	e3a02002 	mov	r2, #2                                        
a000660c:	e1a03004 	mov	r3, r4                                        
a0006610:	e58dc000 	str	ip, [sp]                                      
a0006614:	ebfff97e 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
a0006618:	e3500000 	cmp	r0, #0                                        
a000661c:	1affffe9 	bne	a00065c8 <rmdir+0x1cc>                        
a0006620:	e3a06001 	mov	r6, #1                                        
a0006624:	eaffff88 	b	a000644c <rmdir+0x50>                           
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
    rtems_filesystem_freenode( &loc );                                
a0006628:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000662c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006630:	0a000004 	beq	a0006648 <rmdir+0x24c>                        <== NOT EXECUTED
a0006634:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0006638:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000663c:	0a000001 	beq	a0006648 <rmdir+0x24c>                        <== NOT EXECUTED
a0006640:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0006644:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a0006648:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000664c:	0a000007 	beq	a0006670 <rmdir+0x274>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a0006650:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a0006654:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006658:	0a000004 	beq	a0006670 <rmdir+0x274>                        <== NOT EXECUTED
a000665c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0006660:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006664:	0a000001 	beq	a0006670 <rmdir+0x274>                        <== NOT EXECUTED
a0006668:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000666c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006670:	eb003213 	bl	a0012ec4 <__errno>                             <== NOT EXECUTED
a0006674:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0006678:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000667c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a0006680:	eaffffac 	b	a0006538 <rmdir+0x13c>                          <== NOT EXECUTED
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
a0006684:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0006688:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000668c:	1affffeb 	bne	a0006640 <rmdir+0x244>                        <== NOT EXECUTED
a0006690:	eaffffec 	b	a0006648 <rmdir+0x24c>                          <== NOT EXECUTED
                                                                      
a0013bac <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;                                                
}                                                                     
a0013bac:	e59f0000 	ldr	r0, [pc, #0]	; a0013bb4 <rtems_assoc_name_bad+0x8><== NOT EXECUTED
a0013bb0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a001027c <rtems_assoc_name_by_local>:                                 
                                                                      
const char *rtems_assoc_name_by_local(                                
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a001027c:	e92d4010 	push	{r4, lr}                                     
a0010280:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a0010284:	eb000006 	bl	a00102a4 <rtems_assoc_ptr_by_local>            
  if (nap)                                                            
a0010288:	e3500000 	cmp	r0, #0                                        
a001028c:	0a000001 	beq	a0010298 <rtems_assoc_name_by_local+0x1c>     
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
a0010290:	e5900000 	ldr	r0, [r0]                                      
a0010294:	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);                           
a0010298:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
a001029c:	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);                           
a00102a0:	ea000e41 	b	a0013bac <rtems_assoc_name_bad>                 <== NOT EXECUTED
                                                                      
a000da94 <rtems_assoc_ptr_by_local>:                                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a000da94:	e92d4030 	push	{r4, r5, lr}                                 
a000da98:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000da9c:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
a000daa0:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000daa4:	e3500000 	cmp	r0, #0                                        
a000daa8:	01a04000 	moveq	r4, r0                                      
a000daac:	0a000013 	beq	a000db00 <rtems_assoc_ptr_by_local+0x6c>      
a000dab0:	e59f105c 	ldr	r1, [pc, #92]	; a000db14 <rtems_assoc_ptr_by_local+0x80>
a000dab4:	eb000345 	bl	a000e7d0 <strcmp>                              
a000dab8:	e3500000 	cmp	r0, #0                                        
a000dabc:	13a02000 	movne	r2, #0                                      
a000dac0:	1a00000b 	bne	a000daf4 <rtems_assoc_ptr_by_local+0x60>      
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000dac4:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a000dac8:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a000dacc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000dad0:	0a00000a 	beq	a000db00 <rtems_assoc_ptr_by_local+0x6c>      <== NOT EXECUTED
a000dad4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000dad8:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->local_value == local_value)                               
a000dadc:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
a000dae0:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a000dae4:	0a000005 	beq	a000db00 <rtems_assoc_ptr_by_local+0x6c>      <== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000dae8:	e5b4300c 	ldr	r3, [r4, #12]!                                
a000daec:	e3530000 	cmp	r3, #0                                        
a000daf0:	0a000004 	beq	a000db08 <rtems_assoc_ptr_by_local+0x74>      
    if (ap->local_value == local_value)                               
a000daf4:	e5943004 	ldr	r3, [r4, #4]                                  
a000daf8:	e1530005 	cmp	r3, r5                                        
a000dafc:	1afffff9 	bne	a000dae8 <rtems_assoc_ptr_by_local+0x54>      
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000db00:	e1a00004 	mov	r0, r4                                        
a000db04:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000db08:	e1a04002 	mov	r4, r2                                        
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000db0c:	e1a00004 	mov	r0, r4                                        
a000db10:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a000c470 <rtems_assoc_ptr_by_remote>:                                 
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
a000c470:	e92d4030 	push	{r4, r5, lr}                                 
a000c474:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000c478:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
a000c47c:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
a000c480:	e3500000 	cmp	r0, #0                                        
a000c484:	01a04000 	moveq	r4, r0                                      
a000c488:	0a000013 	beq	a000c4dc <rtems_assoc_ptr_by_remote+0x6c>     
a000c48c:	e59f105c 	ldr	r1, [pc, #92]	; a000c4f0 <rtems_assoc_ptr_by_remote+0x80>
a000c490:	eb0008ce 	bl	a000e7d0 <strcmp>                              
a000c494:	e3500000 	cmp	r0, #0                                        
a000c498:	13a02000 	movne	r2, #0                                      
a000c49c:	1a00000b 	bne	a000c4d0 <rtems_assoc_ptr_by_remote+0x60>     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000c4a0:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
a000c4a4:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
a000c4a8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a000c4ac:	0a00000a 	beq	a000c4dc <rtems_assoc_ptr_by_remote+0x6c>     <== NOT EXECUTED
a000c4b0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a000c4b4:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->remote_value == remote_value)                             
a000c4b8:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a000c4bc:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a000c4c0:	0a000005 	beq	a000c4dc <rtems_assoc_ptr_by_remote+0x6c>     <== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000c4c4:	e5b4300c 	ldr	r3, [r4, #12]!                                
a000c4c8:	e3530000 	cmp	r3, #0                                        
a000c4cc:	0a000004 	beq	a000c4e4 <rtems_assoc_ptr_by_remote+0x74>     
    if (ap->remote_value == remote_value)                             
a000c4d0:	e5943008 	ldr	r3, [r4, #8]                                  
a000c4d4:	e1530005 	cmp	r3, r5                                        
a000c4d8:	1afffff9 	bne	a000c4c4 <rtems_assoc_ptr_by_remote+0x54>     
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000c4dc:	e1a00004 	mov	r0, r4                                        
a000c4e0:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
a000c4e4:	e1a04002 	mov	r4, r2                                        
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
a000c4e8:	e1a00004 	mov	r0, r4                                        
a000c4ec:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
a000d1d8 <rtems_assoc_remote_by_local>:                               
                                                                      
uint32_t rtems_assoc_remote_by_local(                                 
  const rtems_assoc_t *ap,                                            
  uint32_t       local_value                                          
)                                                                     
{                                                                     
a000d1d8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
a000d1dc:	eb00022c 	bl	a000da94 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if (nap)                                                            
a000d1e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
a000d1e4:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
a000d1e8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a000d1ac <rtems_deviceio_errno>:                                      
    { 0, 0, 0 },                                                      
};                                                                    
                                                                      
int                                                                   
rtems_deviceio_errno(rtems_status_code code)                          
{                                                                     
a000d1ac:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
a000d1b0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
a000d1b4:	e59f0018 	ldr	r0, [pc, #24]	; a000d1d4 <rtems_deviceio_errno+0x28><== NOT EXECUTED
a000d1b8:	eb000006 	bl	a000d1d8 <rtems_assoc_remote_by_local>         <== NOT EXECUTED
a000d1bc:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
a000d1c0:	0a000001 	beq	a000d1cc <rtems_deviceio_errno+0x20>          <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
a000d1c4:	eb000258 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000d1c8:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
a000d1cc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a000d1d0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a0006be4 <rtems_error>:                                               
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
a0006be4:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
a0006be8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0006bec:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a0006bf0:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a0006bf4:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0006bf8:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
  )                                                                   
{                                                                     
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
a0006bfc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
a0006c00:	ebffff79 	bl	a00069ec <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
a0006c04:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006c08:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a0006c0c:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a0006c10:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a00018f8 <rtems_filesystem_evaluate_path>:                            
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a00018f8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a00018fc:	e2505000 	subs	r5, r0, #0                                   
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001900:	e1a08001 	mov	r8, r1                                        
a0001904:	e1a07002 	mov	r7, r2                                        
a0001908:	e1a0c003 	mov	ip, r3                                        
a000190c:	e59d9024 	ldr	r9, [sp, #36]	; 0x24                          
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001910:	0a000024 	beq	a00019a8 <rtems_filesystem_evaluate_path+0xb0>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001914:	e3530000 	cmp	r3, #0                                        
a0001918:	0a00001d 	beq	a0001994 <rtems_filesystem_evaluate_path+0x9c>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a000191c:	e5d53000 	ldrb	r3, [r5]                                     
a0001920:	e353002f 	cmp	r3, #47	; 0x2f                                
a0001924:	1353005c 	cmpne	r3, #92	; 0x5c                              
a0001928:	13a06000 	movne	r6, #0                                      
a000192c:	03a06001 	moveq	r6, #1                                      
a0001930:	1a000010 	bne	a0001978 <rtems_filesystem_evaluate_path+0x80>
a0001934:	e59f307c 	ldr	r3, [pc, #124]	; a00019b8 <rtems_filesystem_evaluate_path+0xc0>
a0001938:	e3a06001 	mov	r6, #1                                        
a000193c:	e1a0a006 	mov	sl, r6                                        
a0001940:	e5934000 	ldr	r4, [r3]                                      
a0001944:	e2844018 	add	r4, r4, #24                                   
a0001948:	e1a0b00c 	mov	fp, ip                                        
a000194c:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0001950:	e8ab000f 	stmia	fp!, {r0, r1, r2, r3}                       
a0001954:	e5942000 	ldr	r2, [r4]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001958:	e0850006 	add	r0, r5, r6                                    
a000195c:	e06a1008 	rsb	r1, sl, r8                                    
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a0001960:	e58b2000 	str	r2, [fp]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001964:	e1a0300c 	mov	r3, ip                                        
a0001968:	e1a02007 	mov	r2, r7                                        
a000196c:	e58d9024 	str	r9, [sp, #36]	; 0x24                          
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a0001970:	e8bd4ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, lr}          
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
a0001974:	eaffffa5 	b	a0001810 <rtems_filesystem_evaluate_relative_path>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
a0001978:	e3530000 	cmp	r3, #0                                        
a000197c:	0affffec 	beq	a0001934 <rtems_filesystem_evaluate_path+0x3c>
a0001980:	e59f3030 	ldr	r3, [pc, #48]	; a00019b8 <rtems_filesystem_evaluate_path+0xc0>
a0001984:	e1a0a006 	mov	sl, r6                                        
a0001988:	e5934000 	ldr	r4, [r3]                                      
a000198c:	e2844004 	add	r4, r4, #4                                    
a0001990:	eaffffec 	b	a0001948 <rtems_filesystem_evaluate_path+0x50>  
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a0001994:	eb003064 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0001998:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a000199c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
a00019a0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00019a4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00019a8:	eb00305f 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00019ac:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00019b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00019b4:	eafffff9 	b	a00019a0 <rtems_filesystem_evaluate_path+0xa8>  <== NOT EXECUTED
                                                                      
a0001810 <rtems_filesystem_evaluate_relative_path>:                   
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001810:	e3500000 	cmp	r0, #0                                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
a0001814:	e92d4030 	push	{r4, r5, lr}                                 
a0001818:	e1a05002 	mov	r5, r2                                        
a000181c:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
a0001820:	0a00002a 	beq	a00018d0 <rtems_filesystem_evaluate_relative_path+0xc0>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
a0001824:	e3530000 	cmp	r3, #0                                        
a0001828:	0a00002d 	beq	a00018e4 <rtems_filesystem_evaluate_relative_path+0xd4>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
a000182c:	e593c00c 	ldr	ip, [r3, #12]                                 
a0001830:	e59cc000 	ldr	ip, [ip]                                      
a0001834:	e35c0000 	cmp	ip, #0                                        
a0001838:	0a00001f 	beq	a00018bc <rtems_filesystem_evaluate_relative_path+0xac>
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
a000183c:	e12fff3c 	blx	ip                                            
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
a0001840:	e59d200c 	ldr	r2, [sp, #12]                                 
a0001844:	e2703001 	rsbs	r3, r0, #1                                   
a0001848:	33a03000 	movcc	r3, #0                                      
a000184c:	e3520000 	cmp	r2, #0                                        
a0001850:	03a03000 	moveq	r3, #0                                      
a0001854:	e3530000 	cmp	r3, #0                                        
a0001858:	0a000011 	beq	a00018a4 <rtems_filesystem_evaluate_relative_path+0x94>
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
a000185c:	e594200c 	ldr	r2, [r4, #12]                                 
a0001860:	e5923010 	ldr	r3, [r2, #16]                                 
a0001864:	e3530000 	cmp	r3, #0                                        
a0001868:	0a00000e 	beq	a00018a8 <rtems_filesystem_evaluate_relative_path+0x98>
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
a000186c:	e1a00004 	mov	r0, r4                                        
a0001870:	e12fff33 	blx	r3                                            
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
a0001874:	e2400003 	sub	r0, r0, #3                                    
a0001878:	e3500001 	cmp	r0, #1                                        
a000187c:	9a000001 	bls	a0001888 <rtems_filesystem_evaluate_relative_path+0x78>
a0001880:	e3a00000 	mov	r0, #0                                        
a0001884:	e8bd8030 	pop	{r4, r5, pc}                                  
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
a0001888:	e594200c 	ldr	r2, [r4, #12]                                 
a000188c:	e5923034 	ldr	r3, [r2, #52]	; 0x34                          
a0001890:	e3530000 	cmp	r3, #0                                        
a0001894:	0a000003 	beq	a00018a8 <rtems_filesystem_evaluate_relative_path+0x98>
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
a0001898:	e1a00004 	mov	r0, r4                                        
a000189c:	e1a01005 	mov	r1, r5                                        
a00018a0:	e12fff33 	blx	r3                                            
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
a00018a4:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
          rtems_filesystem_freenode( pathloc );                       
a00018a8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00018ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00018b0:	0a000001 	beq	a00018bc <rtems_filesystem_evaluate_relative_path+0xac><== NOT EXECUTED
a00018b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00018b8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
a00018bc:	eb00309a 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00018c0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00018c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00018c8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00018cc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00018d0:	eb003095 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00018d4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
a00018d8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00018dc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00018e0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
a00018e4:	eb003090 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a00018e8:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
a00018ec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00018f0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00018f4:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
a0001628 <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 )                              
{                                                                     
a0001628:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a000162c:	e59f6108 	ldr	r6, [pc, #264]	; a000173c <rtems_filesystem_initialize+0x114>
a0001630:	e3a02012 	mov	r2, #18                                       
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
a0001634:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
a0001638:	e5963000 	ldr	r3, [r6]                                      
a000163c:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
                                                                      
  init_fs_mount_table();                                              
a0001640:	eb000238 	bl	a0001f28 <init_fs_mount_table>                 
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
a0001644:	e59f30f4 	ldr	r3, [pc, #244]	; a0001740 <rtems_filesystem_initialize+0x118>
a0001648:	e5933000 	ldr	r3, [r3]                                      
a000164c:	e3530000 	cmp	r3, #0                                        
a0001650:	0a000033 	beq	a0001724 <rtems_filesystem_initialize+0xfc>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a0001654:	e59f30e8 	ldr	r3, [pc, #232]	; a0001744 <rtems_filesystem_initialize+0x11c>
                                                                      
  status = mount(                                                     
a0001658:	e28d0018 	add	r0, sp, #24                                   
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
a000165c:	e593c000 	ldr	ip, [r3]                                      
                                                                      
  status = mount(                                                     
a0001660:	e89c100e 	ldm	ip, {r1, r2, r3, ip}                          
a0001664:	e58dc000 	str	ip, [sp]                                      
a0001668:	eb000235 	bl	a0001f44 <mount>                               
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
a000166c:	e3700001 	cmn	r0, #1                                        
a0001670:	0a00002f 	beq	a0001734 <rtems_filesystem_initialize+0x10c>  
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001674:	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;                   
a0001678:	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;                                   
a000167c:	e3a05000 	mov	r5, #0                                        
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
a0001680:	e287c018 	add	ip, r7, #24                                   
a0001684:	e28ee01c 	add	lr, lr, #28                                   
a0001688:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000168c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0001690:	e59e3000 	ldr	r3, [lr]                                      
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0001694:	e28d4004 	add	r4, sp, #4                                    
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
a0001698:	e1c753b0 	strh	r5, [r7, #48]	; 0x30                         
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
a000169c:	e58c3000 	str	r3, [ip]                                      
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00016a0:	e3a01001 	mov	r1, #1                                        
a00016a4:	e1a03004 	mov	r3, r4                                        
a00016a8:	e1a02005 	mov	r2, r5                                        
a00016ac:	e59f0094 	ldr	r0, [pc, #148]	; a0001748 <rtems_filesystem_initialize+0x120>
a00016b0:	e58d5000 	str	r5, [sp]                                      
a00016b4:	eb00008f 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
a00016b8:	e596c000 	ldr	ip, [r6]                                      
a00016bc:	e1a07004 	mov	r7, r4                                        
a00016c0:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a00016c4:	e28cc018 	add	ip, ip, #24                                   
a00016c8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00016cc:	e5973000 	ldr	r3, [r7]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00016d0:	e1a02005 	mov	r2, r5                                        
a00016d4:	e3a01001 	mov	r1, #1                                        
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
a00016d8:	e58c3000 	str	r3, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a00016dc:	e59f0064 	ldr	r0, [pc, #100]	; a0001748 <rtems_filesystem_initialize+0x120>
a00016e0:	e1a03004 	mov	r3, r4                                        
a00016e4:	e58d5000 	str	r5, [sp]                                      
a00016e8:	eb000082 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
a00016ec:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a00016f0:	e596c000 	ldr	ip, [r6]                                      
a00016f4:	e28cc004 	add	ip, ip, #4                                    
a00016f8:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a00016fc:	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);                                      
a0001700:	e3a01f7f 	mov	r1, #508	; 0x1fc                              
a0001704:	e2811003 	add	r1, r1, #3                                    
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current     = loc;                                 
a0001708:	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);                                      
a000170c:	e59f0038 	ldr	r0, [pc, #56]	; a000174c <rtems_filesystem_initialize+0x124>
a0001710:	eb0001b1 	bl	a0001ddc <mkdir>                               
  if ( status != 0 )                                                  
a0001714:	e1500005 	cmp	r0, r5                                        
a0001718:	1a000003 	bne	a000172c <rtems_filesystem_initialize+0x104>  
   *  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.        
   */                                                                 
}                                                                     
a000171c:	e28dd01c 	add	sp, sp, #28                                   
a0001720:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
a0001724:	e59f0024 	ldr	r0, [pc, #36]	; a0001750 <rtems_filesystem_initialize+0x128><== NOT EXECUTED
a0001728:	eb000f79 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
a000172c:	e59f0020 	ldr	r0, [pc, #32]	; a0001754 <rtems_filesystem_initialize+0x12c><== NOT EXECUTED
a0001730:	eb000f77 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  status = mount(                                                     
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
a0001734:	e59f001c 	ldr	r0, [pc, #28]	; a0001758 <rtems_filesystem_initialize+0x130><== NOT EXECUTED
a0001738:	eb000f75 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a000878c <rtems_filesystem_nodes_equal>:                              
);                                                                    
                                                                      
bool rtems_filesystem_nodes_equal(                                    
  const rtems_filesystem_location_info_t   *loc1,                     
  const rtems_filesystem_location_info_t   *loc2                      
){                                                                    
a000878c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a0008790:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
a0008794:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
a0008798:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
a000879c:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
a00087a0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a00014e8 <rtems_io_lookup_name>:                                      
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
a00014e8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
a00014ec:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
a00014f0:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
a00014f4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
a00014f8:	eb00357c 	bl	a000eaf0 <strlen>                              <== NOT EXECUTED
a00014fc:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
a0001500:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0001504:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0001508:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
a000150c:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
a0001510:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0001514:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0001518:	eb0000f6 	bl	a00018f8 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a000151c:	e59d2010 	ldr	r2, [sp, #16]                                 <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
a0001520:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
a0001524:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a0001528:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
a000152c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001530:	0a000011 	beq	a000157c <rtems_io_lookup_name+0x94>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
a0001534:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0001538:	e12fff33 	blx	r3                                            <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
a000153c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0001540:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
a0001544:	03a07000 	moveq	r7, #0                                      <== NOT EXECUTED
a0001548:	13a07001 	movne	r7, #1                                      <== NOT EXECUTED
a000154c:	0a000014 	beq	a00015a4 <rtems_io_lookup_name+0xbc>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
a0001550:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a0001554:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001558:	0a000023 	beq	a00015ec <rtems_io_lookup_name+0x104>         <== NOT EXECUTED
a000155c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0001560:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001564:	0a000020 	beq	a00015ec <rtems_io_lookup_name+0x104>         <== NOT EXECUTED
a0001568:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000156c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0001570:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a0001574:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
a0001578:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
a000157c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0001580:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0001584:	0a000001 	beq	a0001590 <rtems_io_lookup_name+0xa8>          <== NOT EXECUTED
a0001588:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000158c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0001590:	eb003165 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0001594:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0001598:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000159c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00015a0:	eafffff3 	b	a0001574 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
a00015a4:	e5865000 	str	r5, [r6]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
a00015a8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00015ac:	eb00354f 	bl	a000eaf0 <strlen>                              <== NOT EXECUTED
a00015b0:	e5860004 	str	r0, [r6, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
a00015b4:	e5982050 	ldr	r2, [r8, #80]	; 0x50                          <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00015b8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
a00015bc:	e5862008 	str	r2, [r6, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
a00015c0:	e5982054 	ldr	r2, [r8, #84]	; 0x54                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00015c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
a00015c8:	e586200c 	str	r2, [r6, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a00015cc:	0a000008 	beq	a00015f4 <rtems_io_lookup_name+0x10c>         <== NOT EXECUTED
a00015d0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a00015d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00015d8:	0a000005 	beq	a00015f4 <rtems_io_lookup_name+0x10c>         <== NOT EXECUTED
a00015dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00015e0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00015e4:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a00015e8:	eaffffe1 	b	a0001574 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
a00015ec:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
a00015f0:	eaffffdf 	b	a0001574 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
a00015f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00015f8:	eaffffdd 	b	a0001574 <rtems_io_lookup_name+0x8c>            <== NOT EXECUTED
                                                                      
a0006ef0 <rtems_io_register_driver>:                                  
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
a0006ef0:	e92d4010 	push	{r4, lr}                                     
a0006ef4:	e1a04000 	mov	r4, r0                                        
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006ef8:	e59f0148 	ldr	r0, [pc, #328]	; a0007048 <rtems_io_register_driver+0x158>
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
a0006efc:	e59f3148 	ldr	r3, [pc, #328]	; a000704c <rtems_io_register_driver+0x15c>
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006f00:	e5900000 	ldr	r0, [r0]                                      
a0006f04:	e3500000 	cmp	r0, #0                                        
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
a0006f08:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006f0c:	1a000032 	bne	a0006fdc <rtems_io_register_driver+0xec>      
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
a0006f10:	e3520000 	cmp	r2, #0                                        
a0006f14:	0a000040 	beq	a000701c <rtems_io_register_driver+0x12c>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
a0006f18:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
a0006f1c:	e5820000 	str	r0, [r2]                                      
                                                                      
  if ( driver_table == NULL )                                         
a0006f20:	0a00003d 	beq	a000701c <rtems_io_register_driver+0x12c>     
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006f24:	e591c000 	ldr	ip, [r1]                                      
a0006f28:	e35c0000 	cmp	ip, #0                                        
a0006f2c:	0a000037 	beq	a0007010 <rtems_io_register_driver+0x120>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
a0006f30:	e1500004 	cmp	r0, r4                                        
a0006f34:	9a000026 	bls	a0006fd4 <rtems_io_register_driver+0xe4>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006f38:	e59f0110 	ldr	r0, [pc, #272]	; a0007050 <rtems_io_register_driver+0x160>
a0006f3c:	e590c000 	ldr	ip, [r0]                                      
a0006f40:	e28cc001 	add	ip, ip, #1                                    
a0006f44:	e580c000 	str	ip, [r0]                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
a0006f48:	e3540000 	cmp	r4, #0                                        
a0006f4c:	1a000024 	bne	a0006fe4 <rtems_io_register_driver+0xf4>      
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
a0006f50:	e593c000 	ldr	ip, [r3]                                      
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
a0006f54:	e35c0000 	cmp	ip, #0                                        
a0006f58:	0a000031 	beq	a0007024 <rtems_io_register_driver+0x134>     
a0006f5c:	e59f30f0 	ldr	r3, [pc, #240]	; a0007054 <rtems_io_register_driver+0x164>
a0006f60:	e593e000 	ldr	lr, [r3]                                      
a0006f64:	e1a0300e 	mov	r3, lr                                        
a0006f68:	ea000003 	b	a0006f7c <rtems_io_register_driver+0x8c>        
a0006f6c:	e2844001 	add	r4, r4, #1                                    
a0006f70:	e15c0004 	cmp	ip, r4                                        
a0006f74:	e2833018 	add	r3, r3, #24                                   
a0006f78:	9a000005 	bls	a0006f94 <rtems_io_register_driver+0xa4>      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006f7c:	e5930000 	ldr	r0, [r3]                                      
a0006f80:	e3500000 	cmp	r0, #0                                        
a0006f84:	1afffff8 	bne	a0006f6c <rtems_io_register_driver+0x7c>      
a0006f88:	e5930004 	ldr	r0, [r3, #4]                                  
a0006f8c:	e3500000 	cmp	r0, #0                                        
a0006f90:	1afffff5 	bne	a0006f6c <rtems_io_register_driver+0x7c>      
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
a0006f94:	e15c0004 	cmp	ip, r4                                        
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a0006f98:	e5824000 	str	r4, [r2]                                      
                                                                      
  if ( m != n )                                                       
a0006f9c:	0a000021 	beq	a0007028 <rtems_io_register_driver+0x138>     
a0006fa0:	e3a03018 	mov	r3, #24                                       
a0006fa4:	e02ce493 	mla	ip, r3, r4, lr                                
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
a0006fa8:	e1a0e001 	mov	lr, r1                                        
a0006fac:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0006fb0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0006fb4:	e89e0003 	ldm	lr, {r0, r1}                                  
a0006fb8:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  _Thread_Enable_dispatch();                                          
a0006fbc:	eb0006ae 	bl	a0008a7c <_Thread_Enable_dispatch>             
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a0006fc0:	e3a01000 	mov	r1, #0                                        
a0006fc4:	e1a00004 	mov	r0, r4                                        
a0006fc8:	e1a02001 	mov	r2, r1                                        
}                                                                     
a0006fcc:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a0006fd0:	ea0023bf 	b	a000fed4 <rtems_io_initialize>                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
a0006fd4:	e3a0000a 	mov	r0, #10                                       
a0006fd8:	e8bd8010 	pop	{r4, pc}                                      
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
a0006fdc:	e3a00012 	mov	r0, #18                                       
a0006fe0:	e8bd8010 	pop	{r4, pc}                                      
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0006fe4:	e3a00018 	mov	r0, #24                                       
a0006fe8:	e0030490 	mul	r3, r0, r4                                    
a0006fec:	e59f0060 	ldr	r0, [pc, #96]	; a0007054 <rtems_io_register_driver+0x164>
a0006ff0:	e590c000 	ldr	ip, [r0]                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006ff4:	e79c0003 	ldr	r0, [ip, r3]                                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
a0006ff8:	e08cc003 	add	ip, ip, r3                                    
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0006ffc:	e3500000 	cmp	r0, #0                                        
a0007000:	0a00000b 	beq	a0007034 <rtems_io_register_driver+0x144>     
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
a0007004:	eb00069c 	bl	a0008a7c <_Thread_Enable_dispatch>             
a0007008:	e3a0000c 	mov	r0, #12                                       
      return RTEMS_RESOURCE_IN_USE;                                   
a000700c:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0007010:	e591c004 	ldr	ip, [r1, #4]                                  
a0007014:	e35c0000 	cmp	ip, #0                                        
a0007018:	1affffc4 	bne	a0006f30 <rtems_io_register_driver+0x40>      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
a000701c:	e3a00009 	mov	r0, #9                                        
}                                                                     
a0007020:	e8bd8010 	pop	{r4, pc}                                      
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
a0007024:	e5824000 	str	r4, [r2]                                      <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
a0007028:	eb000693 	bl	a0008a7c <_Thread_Enable_dispatch>             
a000702c:	e3a00005 	mov	r0, #5                                        
      return sc;                                                      
a0007030:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
a0007034:	e59c3004 	ldr	r3, [ip, #4]                                  
a0007038:	e3530000 	cmp	r3, #0                                        
a000703c:	1afffff0 	bne	a0007004 <rtems_io_register_driver+0x114>     
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
a0007040:	e5824000 	str	r4, [r2]                                      
a0007044:	eaffffd7 	b	a0006fa8 <rtems_io_register_driver+0xb8>        
                                                                      
a0001a8c <rtems_libio_init>:                                          
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0001a8c:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0001a90:	e59f40b4 	ldr	r4, [pc, #180]	; a0001b4c <rtems_libio_init+0xc0>
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
a0001a94:	e24dd004 	sub	sp, sp, #4                                    
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
a0001a98:	e5940000 	ldr	r0, [r4]                                      
a0001a9c:	e3500000 	cmp	r0, #0                                        
a0001aa0:	0a000016 	beq	a0001b00 <rtems_libio_init+0x74>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
a0001aa4:	e3a01040 	mov	r1, #64	; 0x40                                
a0001aa8:	eb001f5b 	bl	a000981c <calloc>                              
a0001aac:	e59f309c 	ldr	r3, [pc, #156]	; a0001b50 <rtems_libio_init+0xc4>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0001ab0:	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,
a0001ab4:	e1a02000 	mov	r2, r0                                        
a0001ab8:	e5830000 	str	r0, [r3]                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
a0001abc:	0a000020 	beq	a0001b44 <rtems_libio_init+0xb8>              
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0001ac0:	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;            
a0001ac4:	e59f3088 	ldr	r3, [pc, #136]	; a0001b54 <rtems_libio_init+0xc8>
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0001ac8:	e3510001 	cmp	r1, #1                                        
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
a0001acc:	e5830000 	str	r0, [r3]                                      
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0001ad0:	9a000008 	bls	a0001af8 <rtems_libio_init+0x6c>              
a0001ad4:	e2803040 	add	r3, r0, #64	; 0x40                            
a0001ad8:	e3a02001 	mov	r2, #1                                        
          iop->data1 = iop + 1;                                       
a0001adc:	e2822001 	add	r2, r2, #1                                    
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0001ae0:	e1520001 	cmp	r2, r1                                        
          iop->data1 = iop + 1;                                       
a0001ae4:	e503300c 	str	r3, [r3, #-12]                                
a0001ae8:	e2833040 	add	r3, r3, #64	; 0x40                            
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
a0001aec:	1afffffa 	bne	a0001adc <rtems_libio_init+0x50>              
a0001af0:	e2422001 	sub	r2, r2, #1                                    
a0001af4:	e0802302 	add	r2, r0, r2, lsl #6                            
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
a0001af8:	e3a03000 	mov	r3, #0                                        
a0001afc:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
a0001b00:	e59fc050 	ldr	ip, [pc, #80]	; a0001b58 <rtems_libio_init+0xcc>
a0001b04:	e59f0050 	ldr	r0, [pc, #80]	; a0001b5c <rtems_libio_init+0xd0>
a0001b08:	e3a01001 	mov	r1, #1                                        
a0001b0c:	e3a02054 	mov	r2, #84	; 0x54                                
a0001b10:	e3a03000 	mov	r3, #0                                        
a0001b14:	e58dc000 	str	ip, [sp]                                      
a0001b18:	eb000c41 	bl	a0004c24 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
a0001b1c:	e3500000 	cmp	r0, #0                                        
a0001b20:	1a000006 	bne	a0001b40 <rtems_libio_init+0xb4>              
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
a0001b24:	e59f3034 	ldr	r3, [pc, #52]	; a0001b60 <rtems_libio_init+0xd4>
a0001b28:	e5933000 	ldr	r3, [r3]                                      
a0001b2c:	e3530000 	cmp	r3, #0                                        
a0001b30:	0a000000 	beq	a0001b38 <rtems_libio_init+0xac>              
     (* rtems_fs_init_helper)();                                      
a0001b34:	e12fff33 	blx	r3                                            
}                                                                     
a0001b38:	e28dd004 	add	sp, sp, #4                                    
a0001b3c:	e8bd8010 	pop	{r4, pc}                                      
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
a0001b40:	eb000e73 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
a0001b44:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
a0001b48:	eb000e71 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a00032c0 <rtems_libio_set_private_env>:                               
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
a00032c0:	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);                         
a00032c4:	e3a00000 	mov	r0, #0                                        
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
a00032c8:	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);                         
a00032cc:	e1a01000 	mov	r1, r0                                        
a00032d0:	e28d2018 	add	r2, sp, #24                                   
a00032d4:	eb000b0c 	bl	a0005f0c <rtems_task_ident>                    
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a00032d8:	e2508000 	subs	r8, r0, #0                                   
a00032dc:	1a00002e 	bne	a000339c <rtems_libio_set_private_env+0xdc>   
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
a00032e0:	e59f60fc 	ldr	r6, [pc, #252]	; a00033e4 <rtems_libio_set_private_env+0x124>
a00032e4:	e59f30fc 	ldr	r3, [pc, #252]	; a00033e8 <rtems_libio_set_private_env+0x128>
a00032e8:	e5964000 	ldr	r4, [r6]                                      
a00032ec:	e1540003 	cmp	r4, r3                                        
a00032f0:	0a00002c 	beq	a00033a8 <rtems_libio_set_private_env+0xe8>   
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
a00032f4:	e59f10ec 	ldr	r1, [pc, #236]	; a00033e8 <rtems_libio_set_private_env+0x128>
a00032f8:	e3a02048 	mov	r2, #72	; 0x48                                
a00032fc:	e1a00004 	mov	r0, r4                                        
a0003300:	eb003318 	bl	a000ff68 <memcpy>                              
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a0003304:	e59f30e0 	ldr	r3, [pc, #224]	; a00033ec <rtems_libio_set_private_env+0x12c>
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
a0003308:	e1a0c004 	mov	ip, 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);                 
a000330c:	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;                         
a0003310:	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*/
a0003314:	e59d3018 	ldr	r3, [sp, #24]                                 
   * 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);                 
a0003318:	e28d4004 	add	r4, sp, #4                                    
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a000331c:	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*/
a0003320:	e48c3018 	str	r3, [ip], #24                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
a0003324:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003328:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000332c:	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);                 
a0003330:	e3a01001 	mov	r1, #1                                        
a0003334:	e1a02005 	mov	r2, r5                                        
                                                                      
  *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;                         
a0003338:	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);                 
a000333c:	e59f00ac 	ldr	r0, [pc, #172]	; a00033f0 <rtems_libio_set_private_env+0x130>
a0003340:	e1a03004 	mov	r3, r4                                        
a0003344:	e58d5000 	str	r5, [sp]                                      
a0003348:	ebfffb29 	bl	a0001ff4 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root    = loc;                                     
a000334c:	e596c000 	ldr	ip, [r6]                                      
a0003350:	e1a07004 	mov	r7, r4                                        
a0003354:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
a0003358:	e28cc018 	add	ip, ip, #24                                   
a000335c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003360:	e5973000 	ldr	r3, [r7]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003364:	e3a01001 	mov	r1, #1                                        
a0003368:	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;                                     
a000336c:	e58c3000 	str	r3, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
a0003370:	e59f0078 	ldr	r0, [pc, #120]	; a00033f0 <rtems_libio_set_private_env+0x130>
a0003374:	e1a03004 	mov	r3, r4                                        
a0003378:	e58d5000 	str	r5, [sp]                                      
a000337c:	ebfffb1c 	bl	a0001ff4 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current = loc;                                     
a0003380:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
a0003384:	e596c000 	ldr	ip, [r6]                                      
a0003388:	e1a08005 	mov	r8, r5                                        
a000338c:	e28cc004 	add	ip, ip, #4                                    
a0003390:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003394:	e5973000 	ldr	r3, [r7]                                      
a0003398:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000339c:	e1a00008 	mov	r0, r8                                        
a00033a0:	e28dd01c 	add	sp, sp, #28                                   
a00033a4:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
a00033a8:	e3a00048 	mov	r0, #72	; 0x48                                
a00033ac:	ebfffcd3 	bl	a0002700 <malloc>                              
   if (!tmp)                                                          
a00033b0:	e2504000 	subs	r4, r0, #0                                   
a00033b4:	03a0801a 	moveq	r8, #26                                     
a00033b8:	0afffff7 	beq	a000339c <rtems_libio_set_private_env+0xdc>   
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
a00033bc:	e1a00008 	mov	r0, r8                                        
a00033c0:	e1a01006 	mov	r1, r6                                        
a00033c4:	e59f2028 	ldr	r2, [pc, #40]	; a00033f4 <rtems_libio_set_private_env+0x134>
a00033c8:	eb000b22 	bl	a0006058 <rtems_task_variable_add>             
   if (sc != RTEMS_SUCCESSFUL) {                                      
a00033cc:	e2508000 	subs	r8, r0, #0                                   
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
a00033d0:	05864000 	streq	r4, [r6]                                    
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
   if (sc != RTEMS_SUCCESSFUL) {                                      
a00033d4:	0affffc6 	beq	a00032f4 <rtems_libio_set_private_env+0x34>   
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
a00033d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00033dc:	ebfffb35 	bl	a00020b8 <free>                                <== NOT EXECUTED
     return sc;                                                       
a00033e0:	eaffffed 	b	a000339c <rtems_libio_set_private_env+0xdc>     <== NOT EXECUTED
                                                                      
a0003210 <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) {   
a0003210:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
a0003214:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
a0003218:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
a000321c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0003220:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
a0003224:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
a0003228:	eb000b37 	bl	a0005f0c <rtems_task_ident>                    <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
a000322c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0003230:	1a00000d 	bne	a000326c <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
a0003234:	e59f4078 	ldr	r4, [pc, #120]	; a00032b4 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a0003238:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a000323c:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
a0003240:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
a0003244:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003248:	0a00000a 	beq	a0003278 <rtems_libio_share_private_env+0x68> <== NOT EXECUTED
   free_user_env(tmp);                                                
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
a000324c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003250:	e59f105c 	ldr	r1, [pc, #92]	; a00032b4 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a0003254:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
a0003258:	eb000bd1 	bl	a00061a4 <rtems_task_variable_get>             <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
a000325c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0003260:	0a00000b 	beq	a0003294 <rtems_libio_share_private_env+0x84> <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
a0003264:	e59f204c 	ldr	r2, [pc, #76]	; a00032b8 <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
a0003268:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
a000326c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
a0003270:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0003274:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   /* kill the current user env & task_var*/                          
	rtems_user_env_t 	*tmp = rtems_current_user_env;                     
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
a0003278:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000327c:	eb000ba2 	bl	a000610c <rtems_task_variable_delete>          <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
a0003280:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a0003284:	1afffff8 	bne	a000326c <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
   free_user_env(tmp);                                                
a0003288:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000328c:	ebffffc5 	bl	a00031a8 <free_user_env>                       <== NOT EXECUTED
a0003290:	eaffffed 	b	a000324c <rtems_libio_share_private_env+0x3c>   <== NOT EXECUTED
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
a0003294:	e59f1018 	ldr	r1, [pc, #24]	; a00032b4 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
a0003298:	e59f201c 	ldr	r2, [pc, #28]	; a00032bc <rtems_libio_share_private_env+0xac><== NOT EXECUTED
a000329c:	eb000b6d 	bl	a0006058 <rtems_task_variable_add>             <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
a00032a0:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
a00032a4:	1affffee 	bne	a0003264 <rtems_libio_share_private_env+0x54> <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
a00032a8:	e59d2004 	ldr	r2, [sp, #4]                                  <== NOT EXECUTED
a00032ac:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
a00032b0:	eaffffed 	b	a000326c <rtems_libio_share_private_env+0x5c>   <== NOT EXECUTED
                                                                      
a000ed70 <rtems_memalign>:                                            
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000ed70:	e92d4070 	push	{r4, r5, r6, lr}                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000ed74:	e2504000 	subs	r4, r0, #0                                   
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
a000ed78:	e1a05001 	mov	r5, r1                                        
a000ed7c:	e1a06002 	mov	r6, r2                                        
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
a000ed80:	0a00001b 	beq	a000edf4 <rtems_memalign+0x84>                
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
a000ed84:	e3a03000 	mov	r3, #0                                        
a000ed88:	e5843000 	str	r3, [r4]                                      
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a000ed8c:	e59f3070 	ldr	r3, [pc, #112]	; a000ee04 <rtems_memalign+0x94>
a000ed90:	e5933000 	ldr	r3, [r3]                                      
a000ed94:	e3530003 	cmp	r3, #3                                        
a000ed98:	0a000012 	beq	a000ede8 <rtems_memalign+0x78>                
                                                                      
  /*                                                                  
   *                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
a000ed9c:	ebffd102 	bl	a00031ac <malloc_deferred_frees_process>       
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
    _Protected_heap_Allocate_aligned_with_boundary( heap, size, alignment, 0 );
a000eda0:	e59f3060 	ldr	r3, [pc, #96]	; a000ee08 <rtems_memalign+0x98>
a000eda4:	e1a02005 	mov	r2, r5                                        
a000eda8:	e1a01006 	mov	r1, r6                                        
a000edac:	e5930000 	ldr	r0, [r3]                                      
a000edb0:	e3a03000 	mov	r3, #0                                        
a000edb4:	ebffe560 	bl	a000833c <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a000edb8:	e2505000 	subs	r5, r0, #0                                   
a000edbc:	0a00000e 	beq	a000edfc <rtems_memalign+0x8c>                
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
a000edc0:	e59f3044 	ldr	r3, [pc, #68]	; a000ee0c <rtems_memalign+0x9c>
a000edc4:	e5933000 	ldr	r3, [r3]                                      
a000edc8:	e3530000 	cmp	r3, #0                                        
a000edcc:	0a000002 	beq	a000eddc <rtems_memalign+0x6c>                
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
a000edd0:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a000edd4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000edd8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
     */                                                               
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
a000eddc:	e5845000 	str	r5, [r4]                                      
a000ede0:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
a000ede4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
a000ede8:	ebffd0d8 	bl	a0003150 <malloc_is_system_state_OK>           
a000edec:	e3500000 	cmp	r0, #0                                        
a000edf0:	1affffe9 	bne	a000ed9c <rtems_memalign+0x2c>                
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
a000edf4:	e3a00016 	mov	r0, #22                                       
}                                                                     
a000edf8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
a000edfc:	e3a0000c 	mov	r0, #12                                       
a000ee00:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0006bb0 <rtems_panic>:                                               
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
a0006bb0:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
a0006bb4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
a0006bb8:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a0006bbc:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006bc0:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
a0006bc4:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a0006bc8:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    ...                                                               
  )                                                                   
{                                                                     
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
a0006bcc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
a0006bd0:	ebffff85 	bl	a00069ec <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
a0006bd4:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
a0006bd8:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
a0006bdc:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
a0006be0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a000b790 <rtems_pipe_initialize>:                                     
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
  if (!rtems_pipe_configured)                                         
a000b790:	e59f3058 	ldr	r3, [pc, #88]	; a000b7f0 <rtems_pipe_initialize+0x60>
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
a000b794:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  if (!rtems_pipe_configured)                                         
a000b798:	e5d33000 	ldrb	r3, [r3]                                     
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
a000b79c:	e24dd004 	sub	sp, sp, #4                                    
  if (!rtems_pipe_configured)                                         
a000b7a0:	e3530000 	cmp	r3, #0                                        
a000b7a4:	0a000003 	beq	a000b7b8 <rtems_pipe_initialize+0x28>         
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
a000b7a8:	e59fc044 	ldr	ip, [pc, #68]	; a000b7f4 <rtems_pipe_initialize+0x64><== NOT EXECUTED
a000b7ac:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
a000b7b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000b7b4:	0a000001 	beq	a000b7c0 <rtems_pipe_initialize+0x30>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
  rtems_pipe_no = now;                                                
}                                                                     
a000b7b8:	e28dd004 	add	sp, sp, #4                                    
a000b7bc:	e8bd8000 	pop	{pc}                                          
                                                                      
  if (rtems_pipe_semaphore)                                           
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
a000b7c0:	e59f0030 	ldr	r0, [pc, #48]	; a000b7f8 <rtems_pipe_initialize+0x68><== NOT EXECUTED
a000b7c4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a000b7c8:	e3a02054 	mov	r2, #84	; 0x54                                <== NOT EXECUTED
a000b7cc:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a000b7d0:	ebffe513 	bl	a0004c24 <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)                                         
a000b7d4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a000b7d8:	1a000003 	bne	a000b7ec <rtems_pipe_initialize+0x5c>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
a000b7dc:	ebffe408 	bl	a0004804 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
  rtems_pipe_no = now;                                                
a000b7e0:	e59f3014 	ldr	r3, [pc, #20]	; a000b7fc <rtems_pipe_initialize+0x6c><== NOT EXECUTED
a000b7e4:	e1c300b0 	strh	r0, [r3]                                     <== NOT EXECUTED
a000b7e8:	eafffff2 	b	a000b7b8 <rtems_pipe_initialize+0x28>           <== NOT EXECUTED
  sc = rtems_semaphore_create(                                        
        rtems_build_name ('P', 'I', 'P', 'E'), 1,                     
        RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
        RTEMS_NO_PRIORITY, &rtems_pipe_semaphore);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (sc);                                  
a000b7ec:	ebffe748 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a0005fd4 <rtems_rate_monotonic_period>:                               
                                                                      
rtems_status_code rtems_rate_monotonic_period(                        
  rtems_id       id,                                                  
  rtems_interval length                                               
)                                                                     
{                                                                     
a0005fd4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0005fd8:	e1a04000 	mov	r4, r0                                        
a0005fdc:	e24dd008 	sub	sp, sp, #8                                    
a0005fe0:	e1a05001 	mov	r5, r1                                        
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
a0005fe4:	e59f0180 	ldr	r0, [pc, #384]	; a000616c <rtems_rate_monotonic_period+0x198>
a0005fe8:	e1a01004 	mov	r1, r4                                        
a0005fec:	e28d2004 	add	r2, sp, #4                                    
a0005ff0:	eb00088f 	bl	a0008234 <_Objects_Get>                        
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
a0005ff4:	e59d3004 	ldr	r3, [sp, #4]                                  
a0005ff8:	e1a06000 	mov	r6, r0                                        
a0005ffc:	e3530000 	cmp	r3, #0                                        
a0006000:	1a000008 	bne	a0006028 <rtems_rate_monotonic_period+0x54>   
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
a0006004:	e59f7164 	ldr	r7, [pc, #356]	; a0006170 <rtems_rate_monotonic_period+0x19c>
a0006008:	e5902040 	ldr	r2, [r0, #64]	; 0x40                          
a000600c:	e5973000 	ldr	r3, [r7]                                      
a0006010:	e1520003 	cmp	r2, r3                                        
a0006014:	0a000005 	beq	a0006030 <rtems_rate_monotonic_period+0x5c>   
        _Thread_Enable_dispatch();                                    
a0006018:	eb000ae9 	bl	a0008bc4 <_Thread_Enable_dispatch>             
a000601c:	e3a00017 	mov	r0, #23                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
a0006020:	e28dd008 	add	sp, sp, #8                                    
a0006024:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
          return RTEMS_TIMEOUT;                                       
a0006028:	e3a00004 	mov	r0, #4                                        
a000602c:	eafffffb 	b	a0006020 <rtems_rate_monotonic_period+0x4c>     
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
a0006030:	e3550000 	cmp	r5, #0                                        
a0006034:	0a00002b 	beq	a00060e8 <rtems_rate_monotonic_period+0x114>  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0006038:	e10f8000 	mrs	r8, CPSR                                      
a000603c:	e3883080 	orr	r3, r8, #128	; 0x80                           
a0006040:	e129f003 	msr	CPSR_fc, r3                                   
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      switch ( the_period->state ) {                                  
a0006044:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a0006048:	e3530002 	cmp	r3, #2                                        
a000604c:	0a00002b 	beq	a0006100 <rtems_rate_monotonic_period+0x12c>  
a0006050:	e3530004 	cmp	r3, #4                                        
a0006054:	0a000015 	beq	a00060b0 <rtems_rate_monotonic_period+0xdc>   
a0006058:	e3530000 	cmp	r3, #0                                        
a000605c:	1afffff1 	bne	a0006028 <rtems_rate_monotonic_period+0x54>   
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006060:	e129f008 	msr	CPSR_fc, r8                                   
          _ISR_Enable( level );                                       
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
a0006064:	ebffff50 	bl	a0005dac <_Rate_monotonic_Initiate_statistics> 
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a0006068:	e3a03002 	mov	r3, #2                                        
a000606c:	e5863038 	str	r3, [r6, #56]	; 0x38                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a0006070:	e59f30fc 	ldr	r3, [pc, #252]	; a0006174 <rtems_rate_monotonic_period+0x1a0>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a0006074:	e3a07000 	mov	r7, #0                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0006078:	e59f00f8 	ldr	r0, [pc, #248]	; a0006178 <rtems_rate_monotonic_period+0x1a4>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
a000607c:	e586302c 	str	r3, [r6, #44]	; 0x2c                          
  the_watchdog->id        = id;                                       
a0006080:	e5864030 	str	r4, [r6, #48]	; 0x30                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a0006084:	e586501c 	str	r5, [r6, #28]                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0006088:	e2861010 	add	r1, r6, #16                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
a000608c:	e5867018 	str	r7, [r6, #24]                                 
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
a0006090:	e5867034 	str	r7, [r6, #52]	; 0x34                          
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
a0006094:	e586503c 	str	r5, [r6, #60]	; 0x3c                          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a0006098:	eb000fbd 	bl	a0009f94 <_Watchdog_Insert>                    
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
a000609c:	e1a00007 	mov	r0, r7                                        
a00060a0:	e58d0000 	str	r0, [sp]                                      
a00060a4:	eb000ac6 	bl	a0008bc4 <_Thread_Enable_dispatch>             
          return RTEMS_SUCCESSFUL;                                    
a00060a8:	e59d0000 	ldr	r0, [sp]                                      
a00060ac:	eaffffdb 	b	a0006020 <rtems_rate_monotonic_period+0x4c>     
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
a00060b0:	ebffff8c 	bl	a0005ee8 <_Rate_monotonic_Update_statistics>   
a00060b4:	e129f008 	msr	CPSR_fc, r8                                   
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
a00060b8:	e3a03002 	mov	r3, #2                                        
a00060bc:	e5863038 	str	r3, [r6, #56]	; 0x38                          
a00060c0:	e2861010 	add	r1, r6, #16                                   
a00060c4:	e59f00ac 	ldr	r0, [pc, #172]	; a0006178 <rtems_rate_monotonic_period+0x1a4>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
a00060c8:	e586501c 	str	r5, [r6, #28]                                 
          the_period->next_length = length;                           
a00060cc:	e586503c 	str	r5, [r6, #60]	; 0x3c                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
a00060d0:	eb000faf 	bl	a0009f94 <_Watchdog_Insert>                    
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
a00060d4:	e3a00006 	mov	r0, #6                                        
a00060d8:	e58d0000 	str	r0, [sp]                                      
a00060dc:	eb000ab8 	bl	a0008bc4 <_Thread_Enable_dispatch>             
          return RTEMS_TIMEOUT;                                       
a00060e0:	e59d0000 	ldr	r0, [sp]                                      
a00060e4:	eaffffcd 	b	a0006020 <rtems_rate_monotonic_period+0x4c>     
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
a00060e8:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
a00060ec:	e3530004 	cmp	r3, #4                                        
a00060f0:	959f2084 	ldrls	r2, [pc, #132]	; a000617c <rtems_rate_monotonic_period+0x1a8>
a00060f4:	81a00005 	movhi	r0, r5                                      
a00060f8:	97920103 	ldrls	r0, [r2, r3, lsl #2]                        
a00060fc:	eaffffe7 	b	a00060a0 <rtems_rate_monotonic_period+0xcc>     
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
a0006100:	ebffff78 	bl	a0005ee8 <_Rate_monotonic_Update_statistics>   
          /*                                                          
           *  This tells the _Rate_monotonic_Timeout that this task is
           *  in the process of blocking on the period and that we    
           *  may be changing the length of the next period.          
           */                                                         
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
a0006104:	e3a03001 	mov	r3, #1                                        
          the_period->next_length = length;                           
a0006108:	e586503c 	str	r5, [r6, #60]	; 0x3c                          
          /*                                                          
           *  This tells the _Rate_monotonic_Timeout that this task is
           *  in the process of blocking on the period and that we    
           *  may be changing the length of the next period.          
           */                                                         
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
a000610c:	e5863038 	str	r3, [r6, #56]	; 0x38                          
a0006110:	e129f008 	msr	CPSR_fc, r8                                   
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
a0006114:	e5973000 	ldr	r3, [r7]                                      
a0006118:	e5962008 	ldr	r2, [r6, #8]                                  
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a000611c:	e3a01901 	mov	r1, #16384	; 0x4000                           
a0006120:	e1a00003 	mov	r0, r3                                        
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
a0006124:	e5832020 	str	r2, [r3, #32]                                 
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a0006128:	eb000d10 	bl	a0009570 <_Thread_Set_state>                   
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000612c:	e10f2000 	mrs	r2, CPSR                                      
a0006130:	e3823080 	orr	r3, r2, #128	; 0x80                           
a0006134:	e129f003 	msr	CPSR_fc, r3                                   
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
a0006138:	e3a01002 	mov	r1, #2                                        
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
a000613c:	e5963038 	ldr	r3, [r6, #56]	; 0x38                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
a0006140:	e5861038 	str	r1, [r6, #56]	; 0x38                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0006144:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
          /*                                                          
           *  If it did, then we want to unblock ourself and continue as
           *  if nothing happen.  The period was reset in the timeout routine.
           */                                                         
          if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING ) 
a0006148:	e3530003 	cmp	r3, #3                                        
a000614c:	0a000002 	beq	a000615c <rtems_rate_monotonic_period+0x188>  
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
          _Thread_Enable_dispatch();                                  
a0006150:	eb000a9b 	bl	a0008bc4 <_Thread_Enable_dispatch>             
a0006154:	e3a00000 	mov	r0, #0                                        
          return RTEMS_SUCCESSFUL;                                    
a0006158:	eaffffb0 	b	a0006020 <rtems_rate_monotonic_period+0x4c>     
          /*                                                          
           *  If it did, then we want to unblock ourself and continue as
           *  if nothing happen.  The period was reset in the timeout routine.
           */                                                         
          if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING ) 
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
a000615c:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a0006160:	e3a01901 	mov	r1, #16384	; 0x4000                           <== NOT EXECUTED
a0006164:	eb000993 	bl	a00087b8 <_Thread_Clear_state>                 <== NOT EXECUTED
a0006168:	eafffff8 	b	a0006150 <rtems_rate_monotonic_period+0x17c>    <== NOT EXECUTED
                                                                      
a00014ec <rtems_stack_checker_is_blown>:                              
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a00014ec:	e92d4830 	push	{r4, r5, fp, lr}                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a00014f0:	e59f407c 	ldr	r4, [pc, #124]	; a0001574 <rtems_stack_checker_is_blown+0x88>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
a00014f4:	e28db00c 	add	fp, sp, #12                                   
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
a00014f8:	e5943000 	ldr	r3, [r4]                                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a00014fc:	e59300c8 	ldr	r0, [r3, #200]	; 0xc8                         
a0001500:	e15b0000 	cmp	fp, r0                                        
a0001504:	33a05000 	movcc	r5, #0                                      
a0001508:	3a000004 	bcc	a0001520 <rtems_stack_checker_is_blown+0x34>  
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
a000150c:	e59350c4 	ldr	r5, [r3, #196]	; 0xc4                         
a0001510:	e0805005 	add	r5, r0, r5                                    
a0001514:	e15b0005 	cmp	fp, r5                                        
a0001518:	83a05000 	movhi	r5, #0                                      
a000151c:	93a05001 	movls	r5, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
a0001520:	e59f3050 	ldr	r3, [pc, #80]	; a0001578 <rtems_stack_checker_is_blown+0x8c>
a0001524:	e5933000 	ldr	r3, [r3]                                      
a0001528:	e3530000 	cmp	r3, #0                                        
a000152c:	03a01001 	moveq	r1, #1                                      
a0001530:	0a000005 	beq	a000154c <rtems_stack_checker_is_blown+0x60>  
    pattern_ok = (!memcmp(                                            
a0001534:	e59f1040 	ldr	r1, [pc, #64]	; a000157c <rtems_stack_checker_is_blown+0x90>
a0001538:	e2800008 	add	r0, r0, #8                                    
a000153c:	e3a02010 	mov	r2, #16                                       
a0001540:	eb00335b 	bl	a000e2b4 <memcmp>                              
a0001544:	e2701001 	rsbs	r1, r0, #1                                   
a0001548:	33a01000 	movcc	r1, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
a000154c:	e3550000 	cmp	r5, #0                                        
a0001550:	0a000001 	beq	a000155c <rtems_stack_checker_is_blown+0x70>  
a0001554:	e3510000 	cmp	r1, #0                                        
a0001558:	1a000003 	bne	a000156c <rtems_stack_checker_is_blown+0x80>  
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
a000155c:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a0001560:	ebffffb4 	bl	a0001438 <Stack_check_report_blown_task>       <== NOT EXECUTED
a0001564:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  return true;                                                        
}                                                                     
a0001568:	e8bd8830 	pop	{r4, r5, fp, pc}                              <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
a000156c:	e3a00000 	mov	r0, #0                                        
a0001570:	e8bd8830 	pop	{r4, r5, fp, pc}                              
                                                                      
a0001428 <rtems_stack_checker_report_usage>:                          
                                                                      
void rtems_stack_checker_report_usage( void )                         
{                                                                     
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
a0001428:	e59f1004 	ldr	r1, [pc, #4]	; a0001434 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
a000142c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0001430:	eaffffe5 	b	a00013cc <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
                                                                      
a00013cc <rtems_stack_checker_report_usage_with_plugin>:              
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a00013cc:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  print_context = context;                                            
a00013d0:	e59f4040 	ldr	r4, [pc, #64]	; a0001418 <rtems_stack_checker_report_usage_with_plugin+0x4c><== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
a00013d4:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a00013d8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
a00013dc:	e5841004 	str	r1, [r4, #4]                                  <== NOT EXECUTED
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
  print_context = context;                                            
a00013e0:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
a00013e4:	e59f1030 	ldr	r1, [pc, #48]	; a000141c <rtems_stack_checker_report_usage_with_plugin+0x50><== NOT EXECUTED
a00013e8:	e12fff35 	blx	r5                                            <== NOT EXECUTED
  (*print)( context,                                                  
a00013ec:	e59f102c 	ldr	r1, [pc, #44]	; a0001420 <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
a00013f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00013f4:	e12fff35 	blx	r5                                            <== NOT EXECUTED
"    ID      NAME    LOW          HIGH     CURRENT     AVAILABLE     USED\n"
  );                                                                  
                                                                      
  /* iterate over all threads and dump the usage */                   
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
a00013f8:	e59f0024 	ldr	r0, [pc, #36]	; a0001424 <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
a00013fc:	eb001357 	bl	a0006160 <rtems_iterate_over_all_threads>      <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
a0001400:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0001404:	ebffffa1 	bl	a0001290 <Stack_check_Dump_threads_usage>      <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
a0001408:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  print_handler = NULL;                                               
a000140c:	e5843004 	str	r3, [r4, #4]                                  <== NOT EXECUTED
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
                                                                      
  print_context = NULL;                                               
a0001410:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
a0001414:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a0001580 <rtems_stack_checker_switch_extension>:                      
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
a0001580:	e92d4810 	push	{r4, fp, lr}                                 
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
a0001584:	e59030c8 	ldr	r3, [r0, #200]	; 0xc8                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
a0001588:	e28db008 	add	fp, sp, #8                                    
a000158c:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0001590:	e15b0003 	cmp	fp, r3                                        
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
a0001594:	e2830008 	add	r0, r3, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
a0001598:	3a000003 	bcc	a00015ac <rtems_stack_checker_switch_extension+0x2c>
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
  Stack_Control *the_stack = &running->Start.Initial_stack;           
a000159c:	e59420c4 	ldr	r2, [r4, #196]	; 0xc4                         
a00015a0:	e0833002 	add	r3, r3, r2                                    
a00015a4:	e15b0003 	cmp	fp, r3                                        
a00015a8:	9a000007 	bls	a00015cc <rtems_stack_checker_switch_extension+0x4c>
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
a00015ac:	e59f1034 	ldr	r1, [pc, #52]	; a00015e8 <rtems_stack_checker_switch_extension+0x68><== NOT EXECUTED
a00015b0:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
a00015b4:	eb00333e 	bl	a000e2b4 <memcmp>                              <== NOT EXECUTED
a00015b8:	e2701001 	rsbs	r1, r0, #1                                   <== NOT EXECUTED
a00015bc:	33a01000 	movcc	r1, #0                                      <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
a00015c0:	e1a00004 	mov	r0, r4                                        
  }                                                                   
}                                                                     
a00015c4:	e8bd4810 	pop	{r4, fp, lr}                                  
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
a00015c8:	eaffff9a 	b	a0001438 <Stack_check_report_blown_task>        
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
a00015cc:	e59f1014 	ldr	r1, [pc, #20]	; a00015e8 <rtems_stack_checker_switch_extension+0x68>
a00015d0:	e3a02010 	mov	r2, #16                                       
a00015d4:	eb003336 	bl	a000e2b4 <memcmp>                              
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
a00015d8:	e3500000 	cmp	r0, #0                                        
a00015dc:	13a01000 	movne	r1, #0                                      
a00015e0:	1afffff6 	bne	a00015c0 <rtems_stack_checker_switch_extension+0x40>
a00015e4:	e8bd8810 	pop	{r4, fp, pc}                                  
                                                                      
a000b9c0 <rtems_string_to_pointer>:                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a000b9c0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a000b9c4:	e2515000 	subs	r5, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
a000b9c8:	e1a04000 	mov	r4, r0                                        
a000b9cc:	e24dd004 	sub	sp, sp, #4                                    
a000b9d0:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
a000b9d4:	03a00009 	moveq	r0, #9                                      
a000b9d8:	0a000013 	beq	a000ba2c <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
a000b9dc:	eb000a5c 	bl	a000e354 <__errno>                             
a000b9e0:	e3a03000 	mov	r3, #0                                        
a000b9e4:	e5803000 	str	r3, [r0]                                      
  *n    = 0;                                                          
a000b9e8:	e5853000 	str	r3, [r5]                                      
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a000b9ec:	e1a00004 	mov	r0, r4                                        
a000b9f0:	e1a0100d 	mov	r1, sp                                        
a000b9f4:	e3a02010 	mov	r2, #16                                       
a000b9f8:	eb001759 	bl	a0011764 <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 )                                                       
a000b9fc:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
a000ba00:	159d3000 	ldrne	r3, [sp]                                    
a000ba04:	059d3000 	ldreq	r3, [sp]                                    
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
a000ba08:	e1a07000 	mov	r7, r0                                        
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
a000ba0c:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
a000ba10:	e1530004 	cmp	r3, r4                                        
a000ba14:	03a0000b 	moveq	r0, #11                                     
a000ba18:	0a000003 	beq	a000ba2c <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a000ba1c:	e3770001 	cmn	r7, #1                                        
a000ba20:	0a000003 	beq	a000ba34 <rtems_string_to_pointer+0x74>       
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
a000ba24:	e5857000 	str	r7, [r5]                                      
a000ba28:	e3a00000 	mov	r0, #0                                        
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
a000ba2c:	e28dd004 	add	sp, sp, #4                                    
a000ba30:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
a000ba34:	eb000a46 	bl	a000e354 <__errno>                             <== NOT EXECUTED
a000ba38:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
a000ba3c:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
a000ba40:	03a0000a 	moveq	r0, #10                                     <== NOT EXECUTED
a000ba44:	1afffff6 	bne	a000ba24 <rtems_string_to_pointer+0x64>       <== NOT EXECUTED
a000ba48:	eafffff7 	b	a000ba2c <rtems_string_to_pointer+0x6c>         <== NOT EXECUTED
                                                                      
a0003dd8 <rtems_termios_baud_to_index>:                               
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003dd8:	e3500009 	cmp	r0, #9                                        
a0003ddc:	012fff1e 	bxeq	lr                                           
a0003de0:	da000013 	ble	a0003e34 <rtems_termios_baud_to_index+0x5c>   
a0003de4:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
a0003de8:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003dec:	da00001b 	ble	a0003e60 <rtems_termios_baud_to_index+0x88>   <== NOT EXECUTED
a0003df0:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0003df4:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
a0003df8:	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;                          
a0003dfc:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003e00:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003e04:	da000028 	ble	a0003eac <rtems_termios_baud_to_index+0xd4>   <== NOT EXECUTED
a0003e08:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0003e0c:	e2833003 	add	r3, r3, #3                                    <== NOT EXECUTED
a0003e10:	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;                          
a0003e14:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003e18:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003e1c:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0003e20:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
a0003e24:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003e28:	1a00001d 	bne	a0003ea4 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
a0003e2c:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
a0003e30:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003e34:	e3500004 	cmp	r0, #4                                        
a0003e38:	012fff1e 	bxeq	lr                                           
a0003e3c:	ca000010 	bgt	a0003e84 <rtems_termios_baud_to_index+0xac>   
a0003e40:	e3500001 	cmp	r0, #1                                        
a0003e44:	012fff1e 	bxeq	lr                                           
a0003e48:	da00001f 	ble	a0003ecc <rtems_termios_baud_to_index+0xf4>   
a0003e4c:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
a0003e50:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003e54:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
a0003e58:	1a000011 	bne	a0003ea4 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a0003e5c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003e60:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
a0003e64:	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;                          
a0003e68:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003e6c:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0003e70:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
a0003e74:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003e78:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
a0003e7c:	1a000008 	bne	a0003ea4 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
a0003e80:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
a0003e84:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
a0003e88:	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;                          
a0003e8c:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003e90:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
a0003e94:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
a0003e98:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003e9c:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
a0003ea0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
a0003ea4:	e3e00000 	mvn	r0, #0                                        
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
a0003ea8:	e12fff1e 	bx	lr                                             
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003eac:	e350000f 	cmp	r0, #15                                       <== NOT EXECUTED
a0003eb0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
a0003eb4:	e3a03a01 	mov	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0003eb8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0003ebc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0003ec0:	1afffff7 	bne	a0003ea4 <rtems_termios_baud_to_index+0xcc>   <== NOT EXECUTED
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
a0003ec4:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
a0003ec8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
a0003ecc:	e3500000 	cmp	r0, #0                                        
a0003ed0:	012fff1e 	bxeq	lr                                           
a0003ed4:	eafffff2 	b	a0003ea4 <rtems_termios_baud_to_index+0xcc>     
                                                                      
a00027c8 <rtems_termios_bufsize>:                                     
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
a00027c8:	e59f3008 	ldr	r3, [pc, #8]	; a00027d8 <rtems_termios_bufsize+0x10><== NOT EXECUTED
a00027cc:	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;                                            
}                                                                     
a00027d0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a00027d4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
a0003d24 <rtems_termios_close>:                                       
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a0003d24:	e92d4070 	push	{r4, r5, r6, lr}                             
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d28:	e59f51ac 	ldr	r5, [pc, #428]	; a0003edc <rtems_termios_close+0x1b8>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0003d2c:	e5903000 	ldr	r3, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d30:	e3a01000 	mov	r1, #0                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
a0003d34:	e1a06000 	mov	r6, r0                                        
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d38:	e1a02001 	mov	r2, r1                                        
a0003d3c:	e5950000 	ldr	r0, [r5]                                      
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0003d40:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003d44:	eb000451 	bl	a0004e90 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003d48:	e3500000 	cmp	r0, #0                                        
a0003d4c:	1a00005e 	bne	a0003ecc <rtems_termios_close+0x1a8>          
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
a0003d50:	e5943008 	ldr	r3, [r4, #8]                                  
a0003d54:	e2433001 	sub	r3, r3, #1                                    
a0003d58:	e3530000 	cmp	r3, #0                                        
a0003d5c:	e5843008 	str	r3, [r4, #8]                                  
a0003d60:	1a00002e 	bne	a0003e20 <rtems_termios_close+0xfc>           
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
a0003d64:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a0003d68:	e59f3170 	ldr	r3, [pc, #368]	; a0003ee0 <rtems_termios_close+0x1bc>
a0003d6c:	e0833282 	add	r3, r3, r2, lsl #5                            
a0003d70:	e5931004 	ldr	r1, [r3, #4]                                  
a0003d74:	e3510000 	cmp	r1, #0                                        
a0003d78:	0a00003f 	beq	a0003e7c <rtems_termios_close+0x158>          
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a0003d7c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003d80:	e12fff31 	blx	r1                                            <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
a0003d84:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a0003d88:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0003d8c:	0a000044 	beq	a0003ea4 <rtems_termios_close+0x180>          <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
a0003d90:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
a0003d94:	e3530000 	cmp	r3, #0                                        
a0003d98:	0a000003 	beq	a0003dac <rtems_termios_close+0x88>           
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
a0003d9c:	e1a02006 	mov	r2, r6                                        
a0003da0:	e594000c 	ldr	r0, [r4, #12]                                 
a0003da4:	e5941010 	ldr	r1, [r4, #16]                                 
a0003da8:	e12fff33 	blx	r3                                            
		if (tty->forw == NULL) {                                            
a0003dac:	e5943000 	ldr	r3, [r4]                                      
a0003db0:	e3530000 	cmp	r3, #0                                        
a0003db4:	0a000020 	beq	a0003e3c <rtems_termios_close+0x118>          
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
a0003db8:	e5942004 	ldr	r2, [r4, #4]                                  
a0003dbc:	e5832004 	str	r2, [r3, #4]                                  
		}                                                                   
		if (tty->back == NULL) {                                            
a0003dc0:	e5942004 	ldr	r2, [r4, #4]                                  
a0003dc4:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
a0003dc8:	15823000 	strne	r3, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0003dcc:	0a000025 	beq	a0003e68 <rtems_termios_close+0x144>          
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
a0003dd0:	e5940014 	ldr	r0, [r4, #20]                                 
a0003dd4:	eb000404 	bl	a0004dec <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->osem);                                 
a0003dd8:	e5940018 	ldr	r0, [r4, #24]                                 
a0003ddc:	eb000402 	bl	a0004dec <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
a0003de0:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
a0003de4:	eb000400 	bl	a0004dec <rtems_semaphore_delete>              
		if ((tty->device.pollRead == NULL) ||                               
a0003de8:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
a0003dec:	e3530000 	cmp	r3, #0                                        
a0003df0:	0a00000e 	beq	a0003e30 <rtems_termios_close+0x10c>          
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
a0003df4:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003df8:	e3530002 	cmp	r3, #2                                        
a0003dfc:	0a00000b 	beq	a0003e30 <rtems_termios_close+0x10c>          
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
		free (tty->rawInBuf.theBuf);                                        
a0003e00:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
a0003e04:	ebfff6ec 	bl	a00019bc <free>                                
		free (tty->rawOutBuf.theBuf);                                       
a0003e08:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
a0003e0c:	ebfff6ea 	bl	a00019bc <free>                                
		free (tty->cbuf);                                                   
a0003e10:	e594001c 	ldr	r0, [r4, #28]                                 
a0003e14:	ebfff6e8 	bl	a00019bc <free>                                
		free (tty);                                                         
a0003e18:	e1a00004 	mov	r0, r4                                        
a0003e1c:	ebfff6e6 	bl	a00019bc <free>                                
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a0003e20:	e5950000 	ldr	r0, [r5]                                      
a0003e24:	eb000461 	bl	a0004fb0 <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a0003e28:	e3a00000 	mov	r0, #0                                        
a0003e2c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
		rtems_semaphore_delete (tty->isem);                                 
		rtems_semaphore_delete (tty->osem);                                 
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
		if ((tty->device.pollRead == NULL) ||                               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
a0003e30:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0003e34:	eb0003ec 	bl	a0004dec <rtems_semaphore_delete>              <== NOT EXECUTED
a0003e38:	eafffff0 	b	a0003e00 <rtems_termios_close+0xdc>             <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
			rtems_termios_ttyTail = tty->back;                                 
a0003e3c:	e5942004 	ldr	r2, [r4, #4]                                  
a0003e40:	e59f109c 	ldr	r1, [pc, #156]	; a0003ee4 <rtems_termios_close+0x1c0>
			if ( rtems_termios_ttyTail != NULL ) {                             
a0003e44:	e3520000 	cmp	r2, #0                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
			rtems_termios_ttyTail = tty->back;                                 
a0003e48:	e5812000 	str	r2, [r1]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
a0003e4c:	0a00001f 	beq	a0003ed0 <rtems_termios_close+0x1ac>          
				rtems_termios_ttyTail->forw = NULL;                               
a0003e50:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0003e54:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
a0003e58:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
a0003e5c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
a0003e60:	15823000 	strne	r3, [r2]                                    <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
a0003e64:	1affffd9 	bne	a0003dd0 <rtems_termios_close+0xac>           <== NOT EXECUTED
			rtems_termios_ttyHead = tty->forw;                                 
a0003e68:	e59f1078 	ldr	r1, [pc, #120]	; a0003ee8 <rtems_termios_close+0x1c4>
			if ( rtems_termios_ttyHead != NULL ) {                             
a0003e6c:	e3530000 	cmp	r3, #0                                        
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
a0003e70:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
a0003e74:	15832004 	strne	r2, [r3, #4]                                
a0003e78:	eaffffd4 	b	a0003dd0 <rtems_termios_close+0xac>             
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003e7c:	e5940018 	ldr	r0, [r4, #24]                                 
a0003e80:	e1a02001 	mov	r2, r1                                        
a0003e84:	eb000401 	bl	a0004e90 <rtems_semaphore_obtain>              
			if (sc != RTEMS_SUCCESSFUL) {                                      
a0003e88:	e3500000 	cmp	r0, #0                                        
a0003e8c:	1a00000e 	bne	a0003ecc <rtems_termios_close+0x1a8>          
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
a0003e90:	e1a00004 	mov	r0, r4                                        
a0003e94:	ebfffdb2 	bl	a0003564 <drainOutput>                         
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
a0003e98:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003e9c:	e3530002 	cmp	r3, #2                                        
a0003ea0:	1affffba 	bne	a0003d90 <rtems_termios_close+0x6c>           
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
a0003ea4:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a0003ea8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003eac:	eb0002d1 	bl	a00049f8 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003eb0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003eb4:	1a000004 	bne	a0003ecc <rtems_termios_close+0x1a8>          <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
a0003eb8:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a0003ebc:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a0003ec0:	eb0002cc 	bl	a00049f8 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
a0003ec4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003ec8:	0affffb0 	beq	a0003d90 <rtems_termios_close+0x6c>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
a0003ecc:	eb000590 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
a0003ed0:	e59f3010 	ldr	r3, [pc, #16]	; a0003ee8 <rtems_termios_close+0x1c4>
a0003ed4:	e5832000 	str	r2, [r3]                                      
a0003ed8:	eaffffbc 	b	a0003dd0 <rtems_termios_close+0xac>             
                                                                      
a00029f4 <rtems_termios_dequeue_characters>:                          
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a00029f4:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a00029f8:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
a00029fc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a0002a00:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a0002a04:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
a0002a08:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
a0002a0c:	0a00000b 	beq	a0002a40 <rtems_termios_dequeue_characters+0x4c><== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
			rtems_fatal_error_occurred (sc);                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
a0002a10:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0002a14:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a0002a18:	0a000001 	beq	a0002a24 <rtems_termios_dequeue_characters+0x30><== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
a0002a1c:	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);                       
a0002a20:	eaffff70 	b	a00027e8 <rtems_termios_refill_transmitter>     <== NOT EXECUTED
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
a0002a24:	e59f302c 	ldr	r3, [pc, #44]	; a0002a58 <rtems_termios_dequeue_characters+0x64><== NOT EXECUTED
a0002a28:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
a0002a2c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002a30:	0a000000 	beq	a0002a38 <rtems_termios_dequeue_characters+0x44><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
a0002a34:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
a0002a38:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0002a3c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
a0002a40:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
a0002a44:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
a0002a48:	eb0007ea 	bl	a00049f8 <rtems_event_send>                    <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
a0002a4c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002a50:	0afffff8 	beq	a0002a38 <rtems_termios_dequeue_characters+0x44><== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
a0002a54:	eb000aae 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a0002a5c <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) 
{                                                                     
a0002a5c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
a0002a60:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
a0002a64:	e59f82dc 	ldr	r8, [pc, #732]	; a0002d48 <rtems_termios_enqueue_raw_characters+0x2ec><== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
a0002a68:	e24dd00c 	sub	sp, sp, #12                                   <== NOT EXECUTED
a0002a6c:	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) {              
a0002a70:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
a0002a74:	e5936010 	ldr	r6, [r3, #16]                                 <== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
a0002a78:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
a0002a7c:	e1a07002 	mov	r7, r2                                        <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
a0002a80:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0002a84:	0a00001c 	beq	a0002afc <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
	  while (len--) {                                                    
a0002a88:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0002a8c:	0a00000a 	beq	a0002abc <rtems_termios_enqueue_raw_characters+0x60><== NOT EXECUTED
a0002a90:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
a0002a94:	ea000002 	b	a0002aa4 <rtems_termios_enqueue_raw_characters+0x48><== NOT EXECUTED
a0002a98:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a0002a9c:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
a0002aa0:	e5936010 	ldr	r6, [r3, #16]                                 <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
a0002aa4:	e7d5000a 	ldrb	r0, [r5, sl]                                 <== NOT EXECUTED
a0002aa8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0002aac:	e28aa001 	add	sl, sl, #1                                    <== NOT EXECUTED
a0002ab0:	e12fff36 	blx	r6                                            <== NOT EXECUTED
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
a0002ab4:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
a0002ab8:	1afffff6 	bne	a0002a98 <rtems_termios_enqueue_raw_characters+0x3c><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a0002abc:	e59490e4 	ldr	r9, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0002ac0:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
a0002ac4:	1a00000a 	bne	a0002af4 <rtems_termios_enqueue_raw_characters+0x98><== NOT EXECUTED
a0002ac8:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0002acc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002ad0:	0a000007 	beq	a0002af4 <rtems_termios_enqueue_raw_characters+0x98><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002ad4:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0002ad8:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0002adc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
a0002ae0:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0002ae4:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
}                                                                     
a0002ae8:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
a0002aec:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
a0002af0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0002af4:	e3a09000 	mov	r9, #0                                        <== NOT EXECUTED
a0002af8:	eafffffa 	b	a0002ae8 <rtems_termios_enqueue_raw_characters+0x8c><== NOT EXECUTED
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
		      (*tty->device.write)(tty->minor,                              
a0002afc:	e280304a 	add	r3, r0, #74	; 0x4a                            <== NOT EXECUTED
a0002b00:	e58d3008 	str	r3, [sp, #8]                                  <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002b04:	e2803030 	add	r3, r0, #48	; 0x30                            <== NOT EXECUTED
a0002b08:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
a0002b0c:	e1a0b006 	mov	fp, r6                                        <== NOT EXECUTED
a0002b10:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
a0002b14:	ea000034 	b	a0002bec <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
a0002b18:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0002b1c:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0002b20:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a0002b24:	eb0051c7 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
a0002b28:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002b2c:	e10f9000 	mrs	r9, CPSR                                      <== NOT EXECUTED
a0002b30:	e3893080 	orr	r3, r9, #128	; 0x80                           <== NOT EXECUTED
a0002b34:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
a0002b38:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0002b3c:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0002b40:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0002b44:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
a0002b48:	e0800008 	add	r0, r0, r8                                    <== NOT EXECUTED
a0002b4c:	eb0051bd 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
a0002b50:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
a0002b54:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0002b58:	9a00000f 	bls	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
a0002b5c:	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)           
a0002b60:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0002b64:	1a00000c 	bne	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
a0002b68:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a0002b6c:	e3a03b01 	mov	r3, #1024	; 0x400                             <== NOT EXECUTED
a0002b70:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
a0002b74:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
a0002b78:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
a0002b7c:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002b80:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0002b84:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
a0002b88:	0a000056 	beq	a0002ce8 <rtems_termios_enqueue_raw_characters+0x28c><== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
a0002b8c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002b90:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
a0002b94:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
a0002b98:	0a000061 	beq	a0002d24 <rtems_termios_enqueue_raw_characters+0x2c8><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002b9c:	e129f009 	msr	CPSR_fc, r9                                   <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
a0002ba0:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0002ba4:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
a0002ba8:	0a00002c 	beq	a0002c60 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
a0002bac:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0002bb0:	e7c3a008 	strb	sl, [r3, r8]                                 <== NOT EXECUTED
		        tty->rawInBuf.Tail = newTail;                               
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a0002bb4:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
a0002bb8:	e5848060 	str	r8, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
a0002bbc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002bc0:	1a000007 	bne	a0002be4 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
a0002bc4:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
a0002bc8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002bcc:	0a000004 	beq	a0002be4 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
a0002bd0:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
a0002bd4:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
a0002bd8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
a0002bdc:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0002be0:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
a0002be4:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
a0002be8:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
a0002bec:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0002bf0:	0a00002d 	beq	a0002cac <rtems_termios_enqueue_raw_characters+0x250><== NOT EXECUTED
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
a0002bf4:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
a0002bf8:	e7d5a006 	ldrb	sl, [r5, r6]                                 <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
a0002bfc:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
a0002c00:	0a000005 	beq	a0002c1c <rtems_termios_enqueue_raw_characters+0x1c0><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
a0002c04:	e5d4304a 	ldrb	r3, [r4, #74]	; 0x4a                         <== NOT EXECUTED
a0002c08:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
a0002c0c:	0a000017 	beq	a0002c70 <rtems_termios_enqueue_raw_characters+0x214><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
a0002c10:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
a0002c14:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
a0002c18:	0a00001e 	beq	a0002c98 <rtems_termios_enqueue_raw_characters+0x23c><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
a0002c1c:	e35b0000 	cmp	fp, #0                                        <== NOT EXECUTED
a0002c20:	0affffbc 	beq	a0002b18 <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
a0002c24:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002c28:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
a0002c2c:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
a0002c30:	1affffeb 	bne	a0002be4 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002c34:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0002c38:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0002c3c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
a0002c40:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0002c44:	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;                                   
a0002c48:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0002c4c:	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;                                   
a0002c50:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
a0002c54:	1a00001b 	bne	a0002cc8 <rtems_termios_enqueue_raw_characters+0x26c><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002c58:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
a0002c5c:	eaffffe0 	b	a0002be4 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
a0002c60:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0002c64:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0002c68:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
a0002c6c:	eaffffdc 	b	a0002be4 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
	      if (c == tty->termios.c_cc[VSTART]) {                          
a0002c70:	e5d42049 	ldrb	r2, [r4, #73]	; 0x49                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0002c74:	e3a0b001 	mov	fp, #1                                        <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
	      if (c == tty->termios.c_cc[VSTART]) {                          
a0002c78:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
a0002c7c:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a0002c80:	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;                       
a0002c84:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a0002c88:	13833010 	orrne	r3, r3, #16                                 <== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
	      if (c == tty->termios.c_cc[VSTART]) {                          
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
a0002c8c:	058430b8 	streq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
a0002c90:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
a0002c94:	eaffffe2 	b	a0002c24 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
a0002c98:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
a0002c9c:	e3a0b001 	mov	fp, #1                                        <== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
a0002ca0:	e3c33010 	bic	r3, r3, #16                                   <== NOT EXECUTED
a0002ca4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002ca8:	eaffffdd 	b	a0002c24 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a0002cac:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
a0002cb0:	e59d9000 	ldr	r9, [sp]                                      <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a0002cb4:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
a0002cb8:	e0833009 	add	r3, r3, r9                                    <== NOT EXECUTED
a0002cbc:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
a0002cc0:	eb0008ba 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
	return dropped;                                                      
a0002cc4:	eaffff87 	b	a0002ae8 <rtems_termios_enqueue_raw_characters+0x8c><== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
a0002cc8:	e5942084 	ldr	r2, [r4, #132]	; 0x84                         <== NOT EXECUTED
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
a0002ccc:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002cd0:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002cd4:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002cd8:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0002cdc:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002ce0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002ce4:	eaffffdb 	b	a0002c58 <rtems_termios_enqueue_raw_characters+0x1fc><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
a0002ce8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002cec:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0002cf0:	1a000002 	bne	a0002d00 <rtems_termios_enqueue_raw_characters+0x2a4><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
a0002cf4:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a0002cf8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002cfc:	1affffa6 	bne	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
a0002d00:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0002d04:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002d08:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
a0002d0c:	e3822002 	orr	r2, r2, #2                                    <== NOT EXECUTED
a0002d10:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
a0002d14:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
a0002d18:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002d1c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002d20:	eaffff9d 	b	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0002d24:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002d28:	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;                                   
a0002d2c:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002d30:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
a0002d34:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
a0002d38:	0affff97 	beq	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
a0002d3c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002d40:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002d44:	eaffff94 	b	a0002b9c <rtems_termios_enqueue_raw_characters+0x140><== NOT EXECUTED
                                                                      
a0002780 <rtems_termios_initialize>:                                  
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002780:	e59fc038 	ldr	ip, [pc, #56]	; a00027c0 <rtems_termios_initialize+0x40>
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
a0002784:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002788:	e59c3000 	ldr	r3, [ip]                                      
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
a000278c:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
a0002790:	e3530000 	cmp	r3, #0                                        
a0002794:	0a000001 	beq	a00027a0 <rtems_termios_initialize+0x20>      
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
  }                                                                   
}                                                                     
a0002798:	e28dd004 	add	sp, sp, #4                                    
a000279c:	e8bd8000 	pop	{pc}                                          
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
    sc = rtems_semaphore_create (                                     
a00027a0:	e59f001c 	ldr	r0, [pc, #28]	; a00027c4 <rtems_termios_initialize+0x44>
a00027a4:	e3a01001 	mov	r1, #1                                        
a00027a8:	e3a02054 	mov	r2, #84	; 0x54                                
a00027ac:	e58dc000 	str	ip, [sp]                                      
a00027b0:	eb00091b 	bl	a0004c24 <rtems_semaphore_create>              
      rtems_build_name ('T', 'R', 'm', 'i'),                          
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
a00027b4:	e3500000 	cmp	r0, #0                                        
a00027b8:	0afffff6 	beq	a0002798 <rtems_termios_initialize+0x18>      
      rtems_fatal_error_occurred (sc);                                
a00027bc:	eb000b54 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a000396c <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;                    
a000396c:	e5903000 	ldr	r3, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0003970:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
a0003974:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
a0003978:	e3a01000 	mov	r1, #0                                        
a000397c:	e580100c 	str	r1, [r0, #12]                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
a0003980:	e1a04000 	mov	r4, r0                                        
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003984:	e1a02001 	mov	r2, r1                                        
a0003988:	e5950018 	ldr	r0, [r5, #24]                                 
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
a000398c:	e5947008 	ldr	r7, [r4, #8]                                  
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003990:	eb00053e 	bl	a0004e90 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL) {                                        
a0003994:	e2506000 	subs	r6, r0, #0                                   
a0003998:	1a00000e 	bne	a00039d8 <rtems_termios_ioctl+0x6c>           
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a000399c:	e5943004 	ldr	r3, [r4, #4]                                  
a00039a0:	e3530004 	cmp	r3, #4                                        
a00039a4:	0a000006 	beq	a00039c4 <rtems_termios_ioctl+0x58>           
a00039a8:	8a00000d 	bhi	a00039e4 <rtems_termios_ioctl+0x78>           
a00039ac:	e3530002 	cmp	r3, #2                                        
a00039b0:	0a00001d 	beq	a0003a2c <rtems_termios_ioctl+0xc0>           
a00039b4:	9a000082 	bls	a0003bc4 <rtems_termios_ioctl+0x258>          
		if (tty->device.setAttributes)                                      
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
a00039b8:	e1a00005 	mov	r0, r5                                        
a00039bc:	ebfffee8 	bl	a0003564 <drainOutput>                         
		break;                                                              
a00039c0:	ea000002 	b	a00039d0 <rtems_termios_ioctl+0x64>             
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
		break;                                                              
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
a00039c4:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a00039c8:	e58520dc 	str	r2, [r5, #220]	; 0xdc                         <== NOT EXECUTED
a00039cc:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
a00039d0:	e5950018 	ldr	r0, [r5, #24]                                 
a00039d4:	eb000575 	bl	a0004fb0 <rtems_semaphore_release>             
	args->ioctl_return = sc;                                             
a00039d8:	e584600c 	str	r6, [r4, #12]                                 
	return sc;                                                           
}                                                                     
a00039dc:	e1a00006 	mov	r0, r6                                        
a00039e0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a00039e4:	e59f2328 	ldr	r2, [pc, #808]	; a0003d14 <rtems_termios_ioctl+0x3a8><== NOT EXECUTED
a00039e8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a00039ec:	0a000068 	beq	a0003b94 <rtems_termios_ioctl+0x228>          <== NOT EXECUTED
a00039f0:	8a00007f 	bhi	a0003bf4 <rtems_termios_ioctl+0x288>          <== NOT EXECUTED
a00039f4:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
a00039f8:	0a00009c 	beq	a0003c70 <rtems_termios_ioctl+0x304>          <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
a00039fc:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a0003a00:	e59f3310 	ldr	r3, [pc, #784]	; a0003d18 <rtems_termios_ioctl+0x3ac><== NOT EXECUTED
a0003a04:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0003a08:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
a0003a0c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003a10:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
a0003a14:	0affffed 	beq	a00039d0 <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
a0003a18:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003a1c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003a20:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003a24:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0003a28:	eaffffe8 	b	a00039d0 <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
a0003a2c:	e594e008 	ldr	lr, [r4, #8]                                  
a0003a30:	e2857030 	add	r7, r5, #48	; 0x30                            
a0003a34:	e1a0c007 	mov	ip, r7                                        
a0003a38:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003a3c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a0003a40:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a0003a44:	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) &&                                 
a0003a48:	e59580b8 	ldr	r8, [r5, #184]	; 0xb8                         
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
a0003a4c:	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) &&                                 
a0003a50:	e3180c02 	tst	r8, #512	; 0x200                              
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
a0003a54:	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) &&                                 
a0003a58:	0a000012 	beq	a0003aa8 <rtems_termios_ioctl+0x13c>          
a0003a5c:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
a0003a60:	e3130b01 	tst	r3, #1024	; 0x400                             
a0003a64:	1a00000f 	bne	a0003aa8 <rtems_termios_ioctl+0x13c>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
a0003a68:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003a6c:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0003a70:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
a0003a74:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003a78:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a0003a7c:	0a000009 	beq	a0003aa8 <rtems_termios_ioctl+0x13c>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0003a80:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
a0003a84:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
a0003a88:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003a8c:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0003a90:	e5952094 	ldr	r2, [r5, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
a0003a94:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0003a98:	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;                                    
a0003a9c:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
a0003aa0:	1a000093 	bne	a0003cf4 <rtems_termios_ioctl+0x388>          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0003aa4:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
a0003aa8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0003aac:	e3130b01 	tst	r3, #1024	; 0x400                             
a0003ab0:	0a000008 	beq	a0003ad8 <rtems_termios_ioctl+0x16c>          
a0003ab4:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          <== NOT EXECUTED
a0003ab8:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
a0003abc:	1a000005 	bne	a0003ad8 <rtems_termios_ioctl+0x16c>          <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
a0003ac0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003ac4:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
a0003ac8:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
a0003acc:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003ad0:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
a0003ad4:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
a0003ad8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
a0003adc:	e3130c01 	tst	r3, #256	; 0x100                              
a0003ae0:	05952038 	ldreq	r2, [r5, #56]	; 0x38                        
a0003ae4:	0a000011 	beq	a0003b30 <rtems_termios_ioctl+0x1c4>          
a0003ae8:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
a0003aec:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003af0:	ba000073 	blt	a0003cc4 <rtems_termios_ioctl+0x358>          <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
a0003af4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003af8:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0003afc:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
a0003b00:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003b04:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
a0003b08:	0a000005 	beq	a0003b24 <rtems_termios_ioctl+0x1b8>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
a0003b0c:	e59530b0 	ldr	r3, [r5, #176]	; 0xb0                         <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
a0003b10:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003b14:	0a000002 	beq	a0003b24 <rtems_termios_ioctl+0x1b8>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
a0003b18:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0003b1c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003b20:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
a0003b24:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003b28:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
a0003b2c:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
a0003b30:	e3520000 	cmp	r2, #0                                        
a0003b34:	ba000062 	blt	a0003cc4 <rtems_termios_ioctl+0x358>          
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0003b38:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
		tty->termios = *(struct termios *)args->buffer;                     
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
a0003b3c:	e595803c 	ldr	r8, [r5, #60]	; 0x3c                          
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
a0003b40:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
a0003b44:	159520b8 	ldrne	r2, [r5, #184]	; 0xb8                       
a0003b48:	13822b01 	orrne	r2, r2, #1024	; 0x400                       
a0003b4c:	158520b8 	strne	r2, [r5, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
a0003b50:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
a0003b54:	159530b8 	ldrne	r3, [r5, #184]	; 0xb8                       
a0003b58:	13833c02 	orrne	r3, r3, #512	; 0x200                        
a0003b5c:	158530b8 	strne	r3, [r5, #184]	; 0xb8                       
		tty->termios = *(struct termios *)args->buffer;                     
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
a0003b60:	e2188002 	ands	r8, r8, #2                                   
a0003b64:	0a000045 	beq	a0003c80 <rtems_termios_ioctl+0x314>          
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
a0003b68:	e3a03000 	mov	r3, #0                                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
a0003b6c:	e5853074 	str	r3, [r5, #116]	; 0x74                         
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
a0003b70:	e585306c 	str	r3, [r5, #108]	; 0x6c                         
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
a0003b74:	e5853070 	str	r3, [r5, #112]	; 0x70                         
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
a0003b78:	e59530a8 	ldr	r3, [r5, #168]	; 0xa8                         
a0003b7c:	e3530000 	cmp	r3, #0                                        
a0003b80:	0affff92 	beq	a00039d0 <rtems_termios_ioctl+0x64>           
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
a0003b84:	e1a01007 	mov	r1, r7                                        
a0003b88:	e5950010 	ldr	r0, [r5, #16]                                 
a0003b8c:	e12fff33 	blx	r3                                            
a0003b90:	eaffff8e 	b	a00039d0 <rtems_termios_ioctl+0x64>             
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
a0003b94:	e5952060 	ldr	r2, [r5, #96]	; 0x60                          <== NOT EXECUTED
a0003b98:	e595305c 	ldr	r3, [r5, #92]	; 0x5c                          <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
			rawnc += tty->rawInBuf.Size;                                       
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
a0003b9c:	e5950020 	ldr	r0, [r5, #32]                                 <== NOT EXECUTED
a0003ba0:	e5941008 	ldr	r1, [r4, #8]                                  <== NOT EXECUTED
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
a0003ba4:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
a0003ba8:	45952064 	ldrmi	r2, [r5, #100]	; 0x64                       <== NOT EXECUTED
a0003bac:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
a0003bb0:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
a0003bb4:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
a0003bb8:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a0003bbc:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
a0003bc0:	eaffff82 	b	a00039d0 <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a0003bc4:	e3530001 	cmp	r3, #1                                        
a0003bc8:	1affff8b 	bne	a00039fc <rtems_termios_ioctl+0x90>           
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
a0003bcc:	e5947008 	ldr	r7, [r4, #8]                                  
a0003bd0:	e285c030 	add	ip, r5, #48	; 0x30                            
a0003bd4:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0003bd8:	e1a0e007 	mov	lr, r7                                        
a0003bdc:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0003be0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0003be4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0003be8:	e59c3000 	ldr	r3, [ip]                                      
a0003bec:	e58e3000 	str	r3, [lr]                                      
		break;                                                              
a0003bf0:	eaffff76 	b	a00039d0 <rtems_termios_ioctl+0x64>             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
a0003bf4:	e59f2120 	ldr	r2, [pc, #288]	; a0003d1c <rtems_termios_ioctl+0x3b0><== NOT EXECUTED
a0003bf8:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0003bfc:	0a000017 	beq	a0003c60 <rtems_termios_ioctl+0x2f4>          <== NOT EXECUTED
a0003c00:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              <== NOT EXECUTED
a0003c04:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0003c08:	1affff7b 	bne	a00039fc <rtems_termios_ioctl+0x90>           <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
a0003c0c:	e59f7104 	ldr	r7, [pc, #260]	; a0003d18 <rtems_termios_ioctl+0x3ac><== NOT EXECUTED
a0003c10:	e59530cc 	ldr	r3, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a0003c14:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
a0003c18:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
a0003c1c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003c20:	0a000002 	beq	a0003c30 <rtems_termios_ioctl+0x2c4>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
a0003c24:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003c28:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003c2c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
a0003c30:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
a0003c34:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0003c38:	e58520d0 	str	r2, [r5, #208]	; 0xd0                         <== NOT EXECUTED
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
a0003c3c:	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) {             
a0003c40:	e7973282 	ldr	r3, [r7, r2, lsl #5]                          <== NOT EXECUTED
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
a0003c44:	e58520cc 	str	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
a0003c48:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003c4c:	0affff5f 	beq	a00039d0 <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
a0003c50:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003c54:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003c58:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
a0003c5c:	eaffff5b 	b	a00039d0 <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
a0003c60:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
a0003c64:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
a0003c68:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
		break;                                                              
a0003c6c:	eaffff57 	b	a00039d0 <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
a0003c70:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
a0003c74:	e58520d4 	str	r2, [r5, #212]	; 0xd4                         <== NOT EXECUTED
a0003c78:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         <== NOT EXECUTED
		break;                                                              
a0003c7c:	eaffff53 	b	a00039d0 <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
a0003c80:	e5d5a046 	ldrb	sl, [r5, #70]	; 0x46                         <== NOT EXECUTED
a0003c84:	eb0002d6 	bl	a00047e4 <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] *                       
a0003c88:	e59f1090 	ldr	r1, [pc, #144]	; a0003d20 <rtems_termios_ioctl+0x3b4><== NOT EXECUTED
a0003c8c:	e000009a 	mul	r0, sl, r0                                    <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a0003c90:	e5d52046 	ldrb	r2, [r5, #70]	; 0x46                         <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
a0003c94:	e083c091 	umull	ip, r3, r1, r0                              <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a0003c98:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
a0003c9c:	e1a031a3 	lsr	r3, r3, #3                                    <== NOT EXECUTED
a0003ca0:	e5853054 	str	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
a0003ca4:	0a00000a 	beq	a0003cd4 <rtems_termios_ioctl+0x368>          <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
a0003ca8:	e5d52047 	ldrb	r2, [r5, #71]	; 0x47                         <== NOT EXECUTED
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
a0003cac:	e5853070 	str	r3, [r5, #112]	; 0x70                         <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
a0003cb0:	e585806c 	str	r8, [r5, #108]	; 0x6c                         <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a0003cb4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a0003cb8:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
a0003cbc:	e5853074 	str	r3, [r5, #116]	; 0x74                         <== NOT EXECUTED
a0003cc0:	eaffffac 	b	a0003b78 <rtems_termios_ioctl+0x20c>            <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
a0003cc4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003cc8:	e3833c01 	orr	r3, r3, #256	; 0x100                          <== NOT EXECUTED
a0003ccc:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
a0003cd0:	eaffff98 	b	a0003b38 <rtems_termios_ioctl+0x1cc>            <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
a0003cd4:	e5d53047 	ldrb	r3, [r5, #71]	; 0x47                         <== NOT EXECUTED
a0003cd8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
a0003cdc:	03a03001 	moveq	r3, #1                                      <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
a0003ce0:	15852074 	strne	r2, [r5, #116]	; 0x74                       <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
a0003ce4:	1585206c 	strne	r2, [r5, #108]	; 0x6c                       <== NOT EXECUTED
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
a0003ce8:	15852070 	strne	r2, [r5, #112]	; 0x70                       <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
a0003cec:	0585306c 	streq	r3, [r5, #108]	; 0x6c                       <== NOT EXECUTED
a0003cf0:	eaffffa0 	b	a0003b78 <rtems_termios_ioctl+0x20c>            <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
a0003cf4:	e5952084 	ldr	r2, [r5, #132]	; 0x84                         <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
a0003cf8:	e595107c 	ldr	r1, [r5, #124]	; 0x7c                         <== NOT EXECUTED
a0003cfc:	e59530a4 	ldr	r3, [r5, #164]	; 0xa4                         <== NOT EXECUTED
a0003d00:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
a0003d04:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0003d08:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003d0c:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003d10:	eaffff63 	b	a0003aa4 <rtems_termios_ioctl+0x138>            <== NOT EXECUTED
                                                                      
a0003eec <rtems_termios_open>:                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003eec:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003ef0:	e59f7498 	ldr	r7, [pc, #1176]	; a0004390 <rtems_termios_open+0x4a4>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003ef4:	e1a06001 	mov	r6, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003ef8:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003efc:	e24dd014 	sub	sp, sp, #20                                   
a0003f00:	e1a05000 	mov	r5, r0                                        
a0003f04:	e1a08002 	mov	r8, r2                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003f08:	e5970000 	ldr	r0, [r7]                                      
a0003f0c:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
a0003f10:	e1a09003 	mov	r9, r3                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
a0003f14:	eb0003dd 	bl	a0004e90 <rtems_semaphore_obtain>              
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003f18:	e250a000 	subs	sl, r0, #0                                   
a0003f1c:	1a000020 	bne	a0003fa4 <rtems_termios_open+0xb8>            
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
a0003f20:	e59fb46c 	ldr	fp, [pc, #1132]	; a0004394 <rtems_termios_open+0x4a8>
a0003f24:	e59b4000 	ldr	r4, [fp]                                      
a0003f28:	e3540000 	cmp	r4, #0                                        
a0003f2c:	1a000003 	bne	a0003f40 <rtems_termios_open+0x54>            
a0003f30:	ea00002b 	b	a0003fe4 <rtems_termios_open+0xf8>              
a0003f34:	e5944000 	ldr	r4, [r4]                                      
a0003f38:	e3540000 	cmp	r4, #0                                        
a0003f3c:	0a000028 	beq	a0003fe4 <rtems_termios_open+0xf8>            
		if ((tty->major == major) && (tty->minor == minor))                 
a0003f40:	e594300c 	ldr	r3, [r4, #12]                                 
a0003f44:	e1530005 	cmp	r3, r5                                        
a0003f48:	1afffff9 	bne	a0003f34 <rtems_termios_open+0x48>            
a0003f4c:	e5943010 	ldr	r3, [r4, #16]                                 
a0003f50:	e1530006 	cmp	r3, r6                                        
a0003f54:	1afffff6 	bne	a0003f34 <rtems_termios_open+0x48>            
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
a0003f58:	e5943008 	ldr	r3, [r4, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a0003f5c:	e5982000 	ldr	r2, [r8]                                      
	if (!tty->refcount++) {                                              
a0003f60:	e3530000 	cmp	r3, #0                                        
a0003f64:	e2833001 	add	r3, r3, #1                                    
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
a0003f68:	e5824034 	str	r4, [r2, #52]	; 0x34                          
	if (!tty->refcount++) {                                              
a0003f6c:	e5843008 	str	r3, [r4, #8]                                  
a0003f70:	1a000009 	bne	a0003f9c <rtems_termios_open+0xb0>            
	  if (tty->device.firstOpen)                                         
a0003f74:	e5943098 	ldr	r3, [r4, #152]	; 0x98                         
a0003f78:	e3530000 	cmp	r3, #0                                        
a0003f7c:	0a000003 	beq	a0003f90 <rtems_termios_open+0xa4>            
		(*tty->device.firstOpen)(major, minor, arg);                        
a0003f80:	e1a00005 	mov	r0, r5                                        
a0003f84:	e1a01006 	mov	r1, r6                                        
a0003f88:	e1a02008 	mov	r2, r8                                        
a0003f8c:	e12fff33 	blx	r3                                            
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
a0003f90:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
a0003f94:	e3530002 	cmp	r3, #2                                        
a0003f98:	0a000004 	beq	a0003fb0 <rtems_termios_open+0xc4>            
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
a0003f9c:	e5970000 	ldr	r0, [r7]                                      
a0003fa0:	eb000402 	bl	a0004fb0 <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
a0003fa4:	e1a0000a 	mov	r0, sl                                        
a0003fa8:	e28dd014 	add	sp, sp, #20                                   
a0003fac:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
		(*tty->device.firstOpen)(major, minor, arg);                        
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
	    sc = rtems_task_start(tty->rxTaskId,                             
a0003fb0:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
a0003fb4:	e59f13dc 	ldr	r1, [pc, #988]	; a0004398 <rtems_termios_open+0x4ac><== NOT EXECUTED
a0003fb8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003fbc:	eb0004cc 	bl	a00052f4 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a0003fc0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003fc4:	1a0000d4 	bne	a000431c <rtems_termios_open+0x430>           <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
a0003fc8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003fcc:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
a0003fd0:	e59f13c4 	ldr	r1, [pc, #964]	; a000439c <rtems_termios_open+0x4b0><== NOT EXECUTED
a0003fd4:	eb0004c6 	bl	a00052f4 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
a0003fd8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003fdc:	0affffee 	beq	a0003f9c <rtems_termios_open+0xb0>            <== NOT EXECUTED
a0003fe0:	ea0000cd 	b	a000431c <rtems_termios_open+0x430>             <== NOT EXECUTED
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0003fe4:	e3a00001 	mov	r0, #1                                        
a0003fe8:	e3a010e8 	mov	r1, #232	; 0xe8                               
a0003fec:	eb00160a 	bl	a000981c <calloc>                              
		if (tty == NULL) {                                                  
a0003ff0:	e3500000 	cmp	r0, #0                                        
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
a0003ff4:	e58d000c 	str	r0, [sp, #12]                                 
a0003ff8:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
a0003ffc:	0a0000b1 	beq	a00042c8 <rtems_termios_open+0x3dc>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
a0004000:	e59f0398 	ldr	r0, [pc, #920]	; a00043a0 <rtems_termios_open+0x4b4>
a0004004:	e59d100c 	ldr	r1, [sp, #12]                                 
a0004008:	e5903004 	ldr	r3, [r0, #4]                                  
a000400c:	e5813064 	str	r3, [r1, #100]	; 0x64                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a0004010:	e5910064 	ldr	r0, [r1, #100]	; 0x64                         
a0004014:	ebfff72f 	bl	a0001cd8 <malloc>                              
a0004018:	e59d200c 	ldr	r2, [sp, #12]                                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
a000401c:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
a0004020:	e5820058 	str	r0, [r2, #88]	; 0x58                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
a0004024:	0a0000ab 	beq	a00042d8 <rtems_termios_open+0x3ec>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
a0004028:	e59fc370 	ldr	ip, [pc, #880]	; a00043a0 <rtems_termios_open+0x4b4>
a000402c:	e59de00c 	ldr	lr, [sp, #12]                                 
a0004030:	e59c3008 	ldr	r3, [ip, #8]                                  
a0004034:	e58e3088 	str	r3, [lr, #136]	; 0x88                         
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0004038:	e59e0088 	ldr	r0, [lr, #136]	; 0x88                         
a000403c:	ebfff725 	bl	a0001cd8 <malloc>                              
a0004040:	e59d100c 	ldr	r1, [sp, #12]                                 
		if (tty->rawOutBuf.theBuf == NULL) {                                
a0004044:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
a0004048:	e581007c 	str	r0, [r1, #124]	; 0x7c                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
		        free((void *)(tty->rawInBuf.theBuf));                       
a000404c:	05910058 	ldreq	r0, [r1, #88]	; 0x58                        
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
		if (tty->rawOutBuf.theBuf == NULL) {                                
a0004050:	0a000099 	beq	a00042bc <rtems_termios_open+0x3d0>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a0004054:	e59f2344 	ldr	r2, [pc, #836]	; a00043a0 <rtems_termios_open+0x4b4>
a0004058:	e5920000 	ldr	r0, [r2]                                      
a000405c:	ebfff71d 	bl	a0001cd8 <malloc>                              
a0004060:	e59d300c 	ldr	r3, [sp, #12]                                 
		if (tty->cbuf == NULL) {                                            
a0004064:	e3500000 	cmp	r0, #0                                        
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
a0004068:	e583001c 	str	r0, [r3, #28]                                 
		if (tty->cbuf == NULL) {                                            
a000406c:	0a00008e 	beq	a00042ac <rtems_termios_open+0x3c0>           
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
a0004070:	e59dc00c 	ldr	ip, [sp, #12]                                 
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a0004074:	e59b2000 	ldr	r2, [fp]                                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
a0004078:	e3a03000 	mov	r3, #0                                        
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
a000407c:	e58c3004 	str	r3, [ip, #4]                                  
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
a0004080:	e58c30d4 	str	r3, [ip, #212]	; 0xd4                         
		tty->tty_snd.sw_arg = NULL;                                         
a0004084:	e58c30d8 	str	r3, [ip, #216]	; 0xd8                         
		tty->tty_rcv.sw_pfn = NULL;                                         
a0004088:	e58c30dc 	str	r3, [ip, #220]	; 0xdc                         
		tty->tty_rcv.sw_arg = NULL;                                         
a000408c:	e58c30e0 	str	r3, [ip, #224]	; 0xe0                         
		tty->tty_rcvwakeup  = 0;                                            
a0004090:	e58c30e4 	str	r3, [ip, #228]	; 0xe4                         
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
a0004094:	e1520003 	cmp	r2, r3                                        
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a0004098:	e59f3304 	ldr	r3, [pc, #772]	; a00043a4 <rtems_termios_open+0x4b8>
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
a000409c:	1582c004 	strne	ip, [r2, #4]                                
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
a00040a0:	e58c2000 	str	r2, [ip]                                      
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
a00040a4:	e5932000 	ldr	r2, [r3]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040a8:	e59f12f0 	ldr	r1, [pc, #752]	; a00043a0 <rtems_termios_open+0x4b4>
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a00040ac:	e59de00c 	ldr	lr, [sp, #12]                                 
		if (rtems_termios_ttyTail == NULL)                                  
a00040b0:	e3520000 	cmp	r2, #0                                        
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040b4:	e59d200c 	ldr	r2, [sp, #12]                                 
a00040b8:	e5d1000c 	ldrb	r0, [r1, #12]                                
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
a00040bc:	0583e000 	streq	lr, [r3]                                    
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040c0:	e282c014 	add	ip, r2, #20                                   
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
a00040c4:	e58be000 	str	lr, [fp]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040c8:	e58dc000 	str	ip, [sp]                                      
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
a00040cc:	e59dc00c 	ldr	ip, [sp, #12]                                 
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040d0:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a00040d4:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a00040d8:	e3a03000 	mov	r3, #0                                        
a00040dc:	e3a01001 	mov	r1, #1                                        
a00040e0:	e3800c69 	orr	r0, r0, #26880	; 0x6900                       
a00040e4:	e3a02054 	mov	r2, #84	; 0x54                                
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
a00040e8:	e58c6010 	str	r6, [ip, #16]                                 
		tty->major = major;                                                 
a00040ec:	e58c500c 	str	r5, [ip, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040f0:	eb0002cb 	bl	a0004c24 <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)                                         
a00040f4:	e2503000 	subs	r3, r0, #0                                   
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
a00040f8:	e59fb2a0 	ldr	fp, [pc, #672]	; a00043a0 <rtems_termios_open+0x4b4>
			rtems_build_name ('T', 'R', 'i', c),                               
			1,                                                                 
			RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,  
			RTEMS_NO_PRIORITY,                                                 
			&tty->isem);                                                       
		if (sc != RTEMS_SUCCESSFUL)                                         
a00040fc:	1a000086 	bne	a000431c <rtems_termios_open+0x430>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a0004100:	e5db000c 	ldrb	r0, [fp, #12]                                
a0004104:	e59de00c 	ldr	lr, [sp, #12]                                 
a0004108:	e3a01001 	mov	r1, #1                                        
a000410c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0004110:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0004114:	e28ec018 	add	ip, lr, #24                                   
a0004118:	e3800c6f 	orr	r0, r0, #28416	; 0x6f00                       
a000411c:	e3a02054 	mov	r2, #84	; 0x54                                
a0004120:	e58dc000 	str	ip, [sp]                                      
a0004124:	eb0002be 	bl	a0004c24 <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)                                         
a0004128:	e2501000 	subs	r1, r0, #0                                   
a000412c:	1a00007a 	bne	a000431c <rtems_termios_open+0x430>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
a0004130:	e5db000c 	ldrb	r0, [fp, #12]                                
a0004134:	e59d200c 	ldr	r2, [sp, #12]                                 
a0004138:	e1a03001 	mov	r3, r1                                        
a000413c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              
a0004140:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   
a0004144:	e282c08c 	add	ip, r2, #140	; 0x8c                           
a0004148:	e3800b1e 	orr	r0, r0, #30720	; 0x7800                       
a000414c:	e3a02020 	mov	r2, #32                                       
a0004150:	e58dc000 	str	ip, [sp]                                      
a0004154:	eb0002b2 	bl	a0004c24 <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)                                         
a0004158:	e2503000 	subs	r3, r0, #0                                   
a000415c:	e58d3010 	str	r3, [sp, #16]                                 
a0004160:	1a00006d 	bne	a000431c <rtems_termios_open+0x430>           
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
a0004164:	e59dc00c 	ldr	ip, [sp, #12]                                 
a0004168:	e28ce098 	add	lr, ip, #152	; 0x98                           
a000416c:	e1a0c009 	mov	ip, r9                                        
a0004170:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0004174:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a0004178:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
a000417c:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004180:	e59de00c 	ldr	lr, [sp, #12]                                 
			RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                        
			RTEMS_NO_PRIORITY,                                                 
			&tty->rawOutBuf.Semaphore);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			rtems_fatal_error_occurred (sc);                                   
		tty->rawOutBufState = rob_idle;                                     
a0004184:	e59d0010 	ldr	r0, [sp, #16]                                 
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004188:	e59e30b4 	ldr	r3, [lr, #180]	; 0xb4                         
			RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                        
			RTEMS_NO_PRIORITY,                                                 
			&tty->rawOutBuf.Semaphore);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			rtems_fatal_error_occurred (sc);                                   
		tty->rawOutBufState = rob_idle;                                     
a000418c:	e58e0094 	str	r0, [lr, #148]	; 0x94                         
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
a0004190:	e3530002 	cmp	r3, #2                                        
a0004194:	0a000061 	beq	a0004320 <rtems_termios_open+0x434>           
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
a0004198:	e59d200c 	ldr	r2, [sp, #12]                                 
a000419c:	e59230a0 	ldr	r3, [r2, #160]	; 0xa0                         
a00041a0:	e3530000 	cmp	r3, #0                                        
a00041a4:	0a00004e 	beq	a00042e4 <rtems_termios_open+0x3f8>           
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
a00041a8:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
a00041ac:	e3530002 	cmp	r3, #2                                        
a00041b0:	0a00004b 	beq	a00042e4 <rtems_termios_open+0x3f8>           
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
                                                                      
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
a00041b4:	e59dc00c 	ldr	ip, [sp, #12]                                 
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
		tty->termios.c_cc[VERASE] = '\177';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
a00041b8:	e3a03000 	mov	r3, #0                                        
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00041bc:	e59f01dc 	ldr	r0, [pc, #476]	; a00043a0 <rtems_termios_open+0x4b4>
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
                                                                      
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
a00041c0:	e58c30b8 	str	r3, [ip, #184]	; 0xb8                         
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a00041c4:	e59c9064 	ldr	r9, [ip, #100]	; 0x64                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a00041c8:	e59cb064 	ldr	fp, [ip, #100]	; 0x64                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00041cc:	e5d0e00c 	ldrb	lr, [r0, #12]                                
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a00041d0:	e1a090a9 	lsr	r9, r9, #1                                    
a00041d4:	e58d9008 	str	r9, [sp, #8]                                  
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a00041d8:	e08bb08b 	add	fp, fp, fp, lsl #1                            
a00041dc:	e59d900c 	ldr	r9, [sp, #12]                                 
a00041e0:	e1a0b12b 	lsr	fp, fp, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00041e4:	e35e007a 	cmp	lr, #122	; 0x7a                               
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
a00041e8:	e589b0c0 	str	fp, [r9, #192]	; 0xc0                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00041ec:	e59f91ac 	ldr	r9, [pc, #428]	; a00043a0 <rtems_termios_open+0x4b4>
a00041f0:	e28ee001 	add	lr, lr, #1                                    
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a00041f4:	e3a02c82 	mov	r2, #33280	; 0x8200                           
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
a00041f8:	e5c9e00c 	strb	lr, [r9, #12]                                
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a00041fc:	e59de00c 	ldr	lr, [sp, #12]                                 
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a0004200:	e282203b 	add	r2, r2, #59	; 0x3b                            
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a0004204:	e3a00b06 	mov	r0, #6144	; 0x1800                            
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
a0004208:	e58e203c 	str	r2, [lr, #60]	; 0x3c                          
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
a000420c:	e3a02003 	mov	r2, #3                                        
a0004210:	e5ce2041 	strb	r2, [lr, #65]	; 0x41                         
		tty->termios.c_cc[VQUIT] = '\034';                                  
a0004214:	e3a0201c 	mov	r2, #28                                       
a0004218:	e5ce2042 	strb	r2, [lr, #66]	; 0x42                         
		tty->termios.c_cc[VERASE] = '\177';                                 
a000421c:	e3a0207f 	mov	r2, #127	; 0x7f                               
a0004220:	e5ce2043 	strb	r2, [lr, #67]	; 0x43                         
		tty->termios.c_cc[VKILL] = '\025';                                  
a0004224:	e3a02015 	mov	r2, #21                                       
a0004228:	e5ce2044 	strb	r2, [lr, #68]	; 0x44                         
		tty->termios.c_cc[VEOF] = '\004';                                   
a000422c:	e3a02004 	mov	r2, #4                                        
a0004230:	e5ce2045 	strb	r2, [lr, #69]	; 0x45                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
a0004234:	e3a02011 	mov	r2, #17                                       
a0004238:	e5ce2049 	strb	r2, [lr, #73]	; 0x49                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
a000423c:	e3a02013 	mov	r2, #19                                       
a0004240:	e5ce204a 	strb	r2, [lr, #74]	; 0x4a                         
		tty->termios.c_cc[VSUSP] = '\032';                                  
a0004244:	e3a0201a 	mov	r2, #26                                       
a0004248:	e5ce204b 	strb	r2, [lr, #75]	; 0x4b                         
		tty->termios.c_cc[VREPRINT] = '\022';                               
a000424c:	e3a02012 	mov	r2, #18                                       
a0004250:	e5ce204d 	strb	r2, [lr, #77]	; 0x4d                         
		tty->termios.c_cc[VDISCARD] = '\017';                               
a0004254:	e3a0200f 	mov	r2, #15                                       
a0004258:	e5ce204e 	strb	r2, [lr, #78]	; 0x4e                         
		tty->termios.c_cc[VWERASE] = '\027';                                
a000425c:	e3a02017 	mov	r2, #23                                       
a0004260:	e5ce204f 	strb	r2, [lr, #79]	; 0x4f                         
		tty->termios.c_cc[VLNEXT] = '\026';                                 
a0004264:	e3a02016 	mov	r2, #22                                       
a0004268:	e5ce2050 	strb	r2, [lr, #80]	; 0x50                         
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
a000426c:	e2800005 	add	r0, r0, #5                                    
a0004270:	e58e0034 	str	r0, [lr, #52]	; 0x34                          
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a0004274:	e59d0008 	ldr	r0, [sp, #8]                                  
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0004278:	e3a0cc25 	mov	ip, #9472	; 0x2500                            
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a000427c:	e3a01e8b 	mov	r1, #2224	; 0x8b0                             
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
		tty->termios.c_cc[VERASE] = '\177';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
a0004280:	e5ce304c 	strb	r3, [lr, #76]	; 0x4c                         
		tty->termios.c_cc[VEOL2] = '\000';                                  
a0004284:	e5ce3051 	strb	r3, [lr, #81]	; 0x51                         
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0004288:	e28cc002 	add	ip, ip, #2                                    
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a000428c:	e281100d 	add	r1, r1, #13                                   
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
a0004290:	0282204b 	addeq	r2, r2, #75	; 0x4b                          
a0004294:	01a03009 	moveq	r3, r9                                      
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
a0004298:	e58ec030 	str	ip, [lr, #48]	; 0x30                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
a000429c:	e58e1038 	str	r1, [lr, #56]	; 0x38                          
		/* start with no flow control, clear flow control flags */          
		tty->flow_ctrl = 0;                                                 
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
a00042a0:	e58e00bc 	str	r0, [lr, #188]	; 0xbc                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
a00042a4:	05c3200c 	strbeq	r2, [r3, #12]                              
a00042a8:	eaffff2a 	b	a0003f58 <rtems_termios_open+0x6c>              
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
a00042ac:	e593007c 	ldr	r0, [r3, #124]	; 0x7c                         <== NOT EXECUTED
a00042b0:	ebfff5c1 	bl	a00019bc <free>                                <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
a00042b4:	e59d900c 	ldr	r9, [sp, #12]                                 <== NOT EXECUTED
a00042b8:	e5990058 	ldr	r0, [r9, #88]	; 0x58                          <== NOT EXECUTED
a00042bc:	ebfff5be 	bl	a00019bc <free>                                <== NOT EXECUTED
		        free(tty);                                                  
a00042c0:	e59d000c 	ldr	r0, [sp, #12]                                 <== NOT EXECUTED
a00042c4:	ebfff5bc 	bl	a00019bc <free>                                <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
a00042c8:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
a00042cc:	eb000337 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a00042d0:	e3a0a01a 	mov	sl, #26                                       <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
a00042d4:	eaffff32 	b	a0003fa4 <rtems_termios_open+0xb8>              <== NOT EXECUTED
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
		        free(tty);                                                  
a00042d8:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
a00042dc:	ebfff5b6 	bl	a00019bc <free>                                <== NOT EXECUTED
a00042e0:	eafffff8 	b	a00042c8 <rtems_termios_open+0x3dc>             <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
			sc = rtems_semaphore_create (                                      
a00042e4:	e59f30b4 	ldr	r3, [pc, #180]	; a00043a0 <rtems_termios_open+0x4b4><== NOT EXECUTED
a00042e8:	e59d900c 	ldr	r9, [sp, #12]                                 <== NOT EXECUTED
a00042ec:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a00042f0:	e5d3000c 	ldrb	r0, [r3, #12]                                <== NOT EXECUTED
a00042f4:	e289c068 	add	ip, r9, #104	; 0x68                           <== NOT EXECUTED
a00042f8:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
a00042fc:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              <== NOT EXECUTED
a0004300:	e3800852 	orr	r0, r0, #5373952	; 0x520000                   <== NOT EXECUTED
a0004304:	e3800c72 	orr	r0, r0, #29184	; 0x7200                       <== NOT EXECUTED
a0004308:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
a000430c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
a0004310:	eb000243 	bl	a0004c24 <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)                                        
a0004314:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004318:	0affffa5 	beq	a00041b4 <rtems_termios_open+0x2c8>           <== NOT EXECUTED
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
a000431c:	eb00047c 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
			sc = rtems_task_create (                                           
a0004320:	e5db000c 	ldrb	r0, [fp, #12]                                <== NOT EXECUTED
a0004324:	e59d9010 	ldr	r9, [sp, #16]                                 <== NOT EXECUTED
a0004328:	e28ec0c8 	add	ip, lr, #200	; 0xc8                           <== NOT EXECUTED
a000432c:	e3800315 	orr	r0, r0, #1409286144	; 0x54000000              <== NOT EXECUTED
a0004330:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   <== NOT EXECUTED
a0004334:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
a0004338:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       <== NOT EXECUTED
a000433c:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0004340:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0004344:	e88d1200 	stm	sp, {r9, ip}                                  <== NOT EXECUTED
a0004348:	eb000342 	bl	a0005058 <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)                                        
a000434c:	e250e000 	subs	lr, r0, #0                                   <== NOT EXECUTED
a0004350:	1afffff1 	bne	a000431c <rtems_termios_open+0x430>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
a0004354:	e5db000c 	ldrb	r0, [fp, #12]                                <== NOT EXECUTED
a0004358:	e59d100c 	ldr	r1, [sp, #12]                                 <== NOT EXECUTED
a000435c:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a0004360:	e3800452 	orr	r0, r0, #1375731712	; 0x52000000              <== NOT EXECUTED
a0004364:	e380071e 	orr	r0, r0, #7864320	; 0x780000                   <== NOT EXECUTED
a0004368:	e281c0c4 	add	ip, r1, #196	; 0xc4                           <== NOT EXECUTED
a000436c:	e3800b15 	orr	r0, r0, #21504	; 0x5400                       <== NOT EXECUTED
a0004370:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
a0004374:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
a0004378:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
a000437c:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
a0004380:	eb000334 	bl	a0005058 <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)                                        
a0004384:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0004388:	0affff82 	beq	a0004198 <rtems_termios_open+0x2ac>           <== NOT EXECUTED
a000438c:	eaffffe2 	b	a000431c <rtems_termios_open+0x430>             <== NOT EXECUTED
                                                                      
a0002d4c <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) {            
a0002d4c:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a0002d50:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
a0002d54:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
a0002d58:	e1a04002 	mov	r4, r2                                        
a0002d5c:	e1a0b000 	mov	fp, r0                                        
a0002d60:	e1a09001 	mov	r9, r1                                        
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
a0002d64:	0a000039 	beq	a0002e50 <rtems_termios_puts+0x104>           
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a0002d68:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
a0002d6c:	e5928080 	ldr	r8, [r2, #128]	; 0x80                         <== NOT EXECUTED
	while (len) {                                                        
a0002d70:	0a00002d 	beq	a0002e2c <rtems_termios_puts+0xe0>            <== NOT EXECUTED
a0002d74:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
a0002d78:	e3a07002 	mov	r7, #2                                        <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
a0002d7c:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a0002d80:	e2880001 	add	r0, r8, #1                                    <== NOT EXECUTED
a0002d84:	eb00512f 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
a0002d88:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002d8c:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
a0002d90:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
a0002d94:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
a0002d98:	e5946084 	ldr	r6, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002d9c:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
a0002da0:	1a00000d 	bne	a0002ddc <rtems_termios_puts+0x90>            <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
a0002da4:	e5847094 	str	r7, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002da8:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
a0002dac:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0002db0:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0002db4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0002db8:	eb000834 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
a0002dbc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0002dc0:	1a000028 	bne	a0002e68 <rtems_termios_puts+0x11c>           <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002dc4:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
a0002dc8:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
a0002dcc:	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) {                            
a0002dd0:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002dd4:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a0002dd8:	0afffff1 	beq	a0002da4 <rtems_termios_puts+0x58>            <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
a0002ddc:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002de0:	e7db100a 	ldrb	r1, [fp, sl]                                 <== NOT EXECUTED
a0002de4:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002de8:	e7c21003 	strb	r1, [r2, r3]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
a0002dec:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
a0002df0:	e5848080 	str	r8, [r4, #128]	; 0x80                         <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
a0002df4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0002df8:	1a000007 	bne	a0002e1c <rtems_termios_puts+0xd0>            <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
a0002dfc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002e00:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
a0002e04:	0a000009 	beq	a0002e30 <rtems_termios_puts+0xe4>            <== NOT EXECUTED
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
a0002e08:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002e0c:	e3833020 	orr	r3, r3, #32                                   <== NOT EXECUTED
a0002e10:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
a0002e14:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a0002e18:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002e1c:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a0002e20:	e2599001 	subs	r9, r9, #1                                   <== NOT EXECUTED
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
a0002e24:	e28aa001 	add	sl, sl, #1                                    <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
a0002e28:	1affffd3 	bne	a0002d7c <rtems_termios_puts+0x30>            <== NOT EXECUTED
a0002e2c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
		    (*tty->device.write)(tty->minor,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
a0002e30:	e5942084 	ldr	r2, [r4, #132]	; 0x84                         <== NOT EXECUTED
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
		    (*tty->device.write)(tty->minor,                                
a0002e34:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002e38:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0002e3c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0002e40:	e0811002 	add	r1, r1, r2                                    <== NOT EXECUTED
a0002e44:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002e48:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002e4c:	eafffff0 	b	a0002e14 <rtems_termios_puts+0xc8>              <== NOT EXECUTED
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
a0002e50:	e5920010 	ldr	r0, [r2, #16]                                 
a0002e54:	e1a0100b 	mov	r1, fp                                        
a0002e58:	e1a02009 	mov	r2, r9                                        
a0002e5c:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         
a0002e60:	e12fff33 	blx	r3                                            
		return;                                                             
a0002e64:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
a0002e68:	eb0009a9 	bl	a0005514 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
a00035e0 <rtems_termios_read>:                                        
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00035e0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a00035e4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00035e8:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
a00035ec:	e590300c 	ldr	r3, [r0, #12]                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00035f0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a00035f4:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
a00035f8:	e5907010 	ldr	r7, [r0, #16]                                 <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
a00035fc:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a0003600:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003604:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
a0003608:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a000360c:	eb00061f 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
a0003610:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
a0003614:	1a00000d 	bne	a0003650 <rtems_termios_read+0x70>            <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
a0003618:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a000361c:	e59f3340 	ldr	r3, [pc, #832]	; a0003964 <rtems_termios_read+0x384><== NOT EXECUTED
a0003620:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
a0003624:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
a0003628:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000362c:	0a00000a 	beq	a000365c <rtems_termios_read+0x7c>            <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
a0003630:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
a0003634:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0003638:	e12fff33 	blx	r3                                            <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a000363c:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL)                                          
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
a0003640:	e1a0b000 	mov	fp, r0                                        <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
a0003644:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
a0003648:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a000364c:	eb000657 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	args->bytes_moved = args->count - count;                             
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
	return sc;                                                           
}                                                                     
a0003650:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
a0003654:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
a0003658:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
a000365c:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003660:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a0003664:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003668:	0a00001a 	beq	a00036d8 <rtems_termios_read+0xf8>            <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a000366c:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
a0003670:	0a000010 	beq	a00036b8 <rtems_termios_read+0xd8>            <== NOT EXECUTED
a0003674:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
a0003678:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a000367c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
a0003680:	aa00000c 	bge	a00036b8 <rtems_termios_read+0xd8>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a0003684:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a0003688:	e0631002 	rsb	r1, r3, r2                                    <== NOT EXECUTED
a000368c:	ea000002 	b	a000369c <rtems_termios_read+0xbc>              <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a0003690:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003694:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003698:	da000006 	ble	a00036b8 <rtems_termios_read+0xd8>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a000369c:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a00036a0:	e2577001 	subs	r7, r7, #1                                   <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
a00036a4:	e7d22003 	ldrb	r2, [r2, r3]                                 <== NOT EXECUTED
a00036a8:	e7c12003 	strb	r2, [r1, r3]                                 <== NOT EXECUTED
a00036ac:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a00036b0:	e5843024 	str	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
a00036b4:	1afffff5 	bne	a0003690 <rtems_termios_read+0xb0>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
a00036b8:	e5983010 	ldr	r3, [r8, #16]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
a00036bc:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00036c0:	e58420e4 	str	r2, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
a00036c4:	e0677003 	rsb	r7, r7, r3                                    <== NOT EXECUTED
a00036c8:	e5887018 	str	r7, [r8, #24]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
a00036cc:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
a00036d0:	eb000636 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
	return sc;                                                           
a00036d4:	eaffffdd 	b	a0003650 <rtems_termios_read+0x70>              <== NOT EXECUTED
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
a00036d8:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
a00036dc:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
a00036e0:	e584b020 	str	fp, [r4, #32]                                 <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a00036e4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
a00036e8:	e584202c 	str	r2, [r4, #44]	; 0x2c                          <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
a00036ec:	e584b024 	str	fp, [r4, #36]	; 0x24                          <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
a00036f0:	0a000002 	beq	a0003700 <rtems_termios_read+0x120>           <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
a00036f4:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         <== NOT EXECUTED
a00036f8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
a00036fc:	0a00005d 	beq	a0003878 <rtems_termios_read+0x298>           <== 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;         
a0003700:	e5945074 	ldr	r5, [r4, #116]	; 0x74                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a0003704:	e59f625c 	ldr	r6, [pc, #604]	; a0003968 <rtems_termios_read+0x388><== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003708:	e3a09c02 	mov	r9, #512	; 0x200                              <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
a000370c:	e2842049 	add	r2, r4, #73	; 0x49                            <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003710:	e2899002 	add	r9, r9, #2                                    <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
a0003714:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
a0003718:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a000371c:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003720:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003724:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003728:	0a000035 	beq	a0003804 <rtems_termios_read+0x224>           <== NOT EXECUTED
a000372c:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
a0003730:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a0003734:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
a0003738:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000373c:	aa000030 	bge	a0003804 <rtems_termios_read+0x224>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
a0003740:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a0003744:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003748:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
a000374c:	eb004ebd 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
a0003750:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
a0003754:	e7d35000 	ldrb	r5, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
a0003758:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
a000375c:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
a0003760:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003764:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
a0003768:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
a000376c:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
a0003770:	eb004eb4 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
a0003774:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
a0003778:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000377c:	2a000013 	bcs	a00037d0 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
a0003780:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003784:	e3a03c02 	mov	r3, #512	; 0x200                              <== NOT EXECUTED
a0003788:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
			tty->rawInBuf.Head = newHead;                                      
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
a000378c:	e3c22001 	bic	r2, r2, #1                                    <== NOT EXECUTED
a0003790:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003794:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0003798:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a000379c:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
a00037a0:	0a000028 	beq	a0003848 <rtems_termios_read+0x268>           <== NOT EXECUTED
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
a00037a4:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a00037a8:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
a00037ac:	0a000007 	beq	a00037d0 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
a00037b0:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a00037b4:	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;                                 
a00037b8:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a00037bc:	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;                                 
a00037c0:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
a00037c4:	0a000001 	beq	a00037d0 <rtems_termios_read+0x1f0>           <== NOT EXECUTED
			      tty->device.startRemoteTx(tty->minor);                       
a00037c8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00037cc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
a00037d0:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a00037d4:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
a00037d8:	0a000012 	beq	a0003828 <rtems_termios_read+0x248>           <== NOT EXECUTED
				if  (siproc (c, tty))                                             
a00037dc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00037e0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00037e4:	ebffff13 	bl	a0003438 <siproc>                              <== NOT EXECUTED
a00037e8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a00037ec:	13a0a000 	movne	sl, #0                                      <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a00037f0:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
a00037f4:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
			else {                                                             
				siproc (c, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
a00037f8:	e5945070 	ldr	r5, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
a00037fc:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003800:	1affffc9 	bne	a000372c <rtems_termios_read+0x14c>           <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
a0003804:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
a0003808:	0affff97 	beq	a000366c <rtems_termios_read+0x8c>            <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
a000380c:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
a0003810:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         <== NOT EXECUTED
a0003814:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
a0003818:	eb00059c 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
a000381c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003820:	0affffbd 	beq	a000371c <rtems_termios_read+0x13c>           <== NOT EXECUTED
a0003824:	eaffff90 	b	a000366c <rtems_termios_read+0x8c>              <== NOT EXECUTED
			if (tty->termios.c_lflag & ICANON) {                               
				if  (siproc (c, tty))                                             
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
a0003828:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000382c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003830:	ebffff00 	bl	a0003438 <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a0003834:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0003838:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a000383c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a0003840:	a3a0a000 	movge	sl, #0                                      <== NOT EXECUTED
a0003844:	eaffffe9 	b	a00037f0 <rtems_termios_read+0x210>             <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
a0003848:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
a000384c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003850:	0a000002 	beq	a0003860 <rtems_termios_read+0x280>           <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
a0003854:	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))                  
a0003858:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
a000385c:	0affffd0 	beq	a00037a4 <rtems_termios_read+0x1c4>           <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
a0003860:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a0003864:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003868:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
a000386c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0003870:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0003874:	eaffffd5 	b	a00037d0 <rtems_termios_read+0x1f0>             <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a0003878:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
a000387c:	e3120002 	tst	r2, #2                                        <== NOT EXECUTED
a0003880:	0a00000a 	beq	a00038b0 <rtems_termios_read+0x2d0>           <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a0003884:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0003888:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (n < 0) {                                                       
a000388c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a0003890:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a0003894:	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) {                                                       
a0003898:	ba00002d 	blt	a0003954 <rtems_termios_read+0x374>           <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
a000389c:	ebfffee5 	bl	a0003438 <siproc>                              <== NOT EXECUTED
a00038a0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00038a4:	1affff70 	bne	a000366c <rtems_termios_read+0x8c>            <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a00038a8:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a00038ac:	eafffff4 	b	a0003884 <rtems_termios_read+0x2a4>             <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
a00038b0:	eb0003d3 	bl	a0004804 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
a00038b4:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
a00038b8:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a00038bc:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a00038c0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (n < 0) {                                                       
a00038c4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00038c8:	ba00000c 	blt	a0003900 <rtems_termios_read+0x320>           <== NOT EXECUTED
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
a00038cc:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
a00038d0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00038d4:	ebfffed7 	bl	a0003438 <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
a00038d8:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a00038dc:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
a00038e0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a00038e4:	aaffff60 	bge	a000366c <rtems_termios_read+0x8c>            <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
a00038e8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00038ec:	0afffff1 	beq	a00038b8 <rtems_termios_read+0x2d8>           <== NOT EXECUTED
a00038f0:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a00038f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00038f8:	0affffee 	beq	a00038b8 <rtems_termios_read+0x2d8>           <== NOT EXECUTED
a00038fc:	eaffffeb 	b	a00038b0 <rtems_termios_read+0x2d0>             <== NOT EXECUTED
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				if (tty->termios.c_cc[VMIN]) {                                    
a0003900:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
a0003904:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003908:	0a000008 	beq	a0003930 <rtems_termios_read+0x350>           <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
a000390c:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0003910:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003914:	0a000002 	beq	a0003924 <rtems_termios_read+0x344>           <== NOT EXECUTED
a0003918:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
a000391c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003920:	1a000005 	bne	a000393c <rtems_termios_read+0x35c>           <== NOT EXECUTED
					now = rtems_clock_get_ticks_since_boot();                        
					if ((now - then) > tty->vtimeTicks) {                            
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
a0003924:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003928:	eb00068b 	bl	a000535c <rtems_task_wake_after>               <== NOT EXECUTED
a000392c:	eaffffe1 	b	a00038b8 <rtems_termios_read+0x2d8>             <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
a0003930:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
a0003934:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0003938:	0affff4b 	beq	a000366c <rtems_termios_read+0x8c>            <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
a000393c:	eb0003b0 	bl	a0004804 <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
a0003940:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
a0003944:	e0650000 	rsb	r0, r5, r0                                    <== NOT EXECUTED
a0003948:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a000394c:	9afffff4 	bls	a0003924 <rtems_termios_read+0x344>           <== NOT EXECUTED
a0003950:	eaffff45 	b	a000366c <rtems_termios_read+0x8c>              <== NOT EXECUTED
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
a0003954:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
a0003958:	eb00067f 	bl	a000535c <rtems_task_wake_after>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
a000395c:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0003960:	eaffffc7 	b	a0003884 <rtems_termios_read+0x2a4>             <== NOT EXECUTED
                                                                      
a00027e8 <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))          
a00027e8:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a00027ec:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
a00027f0:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
a00027f4:	e3c33fff 	bic	r3, r3, #1020	; 0x3fc                         <== NOT EXECUTED
a00027f8:	e1a03a83 	lsl	r3, r3, #21                                   <== NOT EXECUTED
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
a00027fc:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
	int nToSend;                                                         
	rtems_interrupt_level level;                                         
	int len;                                                             
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
a0002800:	e1a03aa3 	lsr	r3, r3, #21                                   <== NOT EXECUTED
a0002804:	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)      
{                                                                     
a0002808:	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))          
a000280c:	0a000045 	beq	a0002928 <rtems_termios_refill_transmitter+0x140><== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
a0002810:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
a0002814:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
a0002818:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000281c:	0a000053 	beq	a0002970 <rtems_termios_refill_transmitter+0x188><== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
a0002820:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
a0002824:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
a0002828:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
a000282c:	0a00002a 	beq	a00028dc <rtems_termios_refill_transmitter+0xf4><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002830:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002834:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002838:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
a000283c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
a0002840:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
a0002844:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002848:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
a000284c:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
a0002850:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
a0002854:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
a0002858:	eb00527a 	bl	a0017248 <__umodsi3>                           <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
a000285c:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
a0002860:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
a0002864:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
a0002868:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a000286c:	0a00002a 	beq	a000291c <rtems_termios_refill_transmitter+0x134><== NOT EXECUTED
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
a0002870:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
a0002874:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
a0002878:	0a00001d 	beq	a00028f4 <rtems_termios_refill_transmitter+0x10c><== NOT EXECUTED
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
	    }                                                                
	  }                                                                  
	  /* check, whether output should stop due to received XOFF */       
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
a000287c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
a0002880:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
a0002884:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
a0002888:	0a00004a 	beq	a00029b8 <rtems_termios_refill_transmitter+0x1d0><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a000288c:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
a0002890:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
a0002894:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
a0002898:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
a000289c:	85946088 	ldrhi	r6, [r4, #136]	; 0x88                       <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a00028a0:	95946080 	ldrls	r6, [r4, #128]	; 0x80                       <== NOT EXECUTED
	    /* when flow control XON or XOF, don't send blocks of data     */
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
a00028a4:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
a00028a8:	80656006 	rsbhi	r6, r5, r6                                  <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
a00028ac:	90656006 	rsbls	r6, r5, r6                                  <== NOT EXECUTED
	    /* when flow control XON or XOF, don't send blocks of data     */
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
a00028b0:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
a00028b4:	13a06001 	movne	r6, #1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
a00028b8:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
a00028bc:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
a00028c0:	e0811005 	add	r1, r1, r5                                    <== NOT EXECUTED
a00028c4:	e59430a4 	ldr	r3, [r4, #164]	; 0xa4                         <== NOT EXECUTED
a00028c8:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a00028cc:	e12fff33 	blx	r3                                            <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
a00028d0:	e5845084 	str	r5, [r4, #132]	; 0x84                         <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
a00028d4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00028d8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
a00028dc:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
a00028e0:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a00028e4:	0a00003e 	beq	a00029e4 <rtems_termios_refill_transmitter+0x1fc><== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
a00028e8:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a00028ec:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00028f0:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
a00028f4:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
a00028f8:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a00028fc:	e5846094 	str	r6, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
a0002900:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
a0002904:	01a06003 	moveq	r6, r3                                      <== NOT EXECUTED
a0002908:	0afffff0 	beq	a00028d0 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
a000290c:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
a0002910:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
a0002914:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a0002918:	eaffffec 	b	a00028d0 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
a000291c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
a0002920:	eb0009a2 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a0002924:	eaffffd1 	b	a0002870 <rtems_termios_refill_transmitter+0x88><== NOT EXECUTED
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
a0002928:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a000292c:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
a0002930:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a0002934:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0002938:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a000293c:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002940:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a0002944:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a0002948:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a000294c:	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--;                                                    
a0002950:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
a0002954:	e3811002 	orr	r1, r1, #2                                    <== NOT EXECUTED
a0002958:	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--;                                                    
a000295c:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0002960:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a0002964:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a0002968:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a000296c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
		 * FIXME: this .write call will generate another                    
		 * dequeue callback. This will advance the "Tail" in the data       
		 * buffer, although the corresponding data is not yet out!          
		 * Therefore the dequeue "length" should be reduced by 1            
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
a0002970:	e59030a4 	ldr	r3, [r0, #164]	; 0xa4                         <== NOT EXECUTED
a0002974:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
a0002978:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000297c:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
a0002980:	e12fff33 	blx	r3                                            <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0002984:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a0002988:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a000298c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
a0002990:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a0002994:	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--;                                                    
a0002998:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
a000299c:	e3c11002 	bic	r1, r1, #2                                    <== NOT EXECUTED
a00029a0:	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--;                                                    
a00029a4:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00029a8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00029ac:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
a00029b0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00029b4:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a00029b8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
a00029bc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
a00029c0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
		   ==                (FL_MDXON | FL_ORCVXOF)) {                     
		  /* Buffer not empty, but output stops due to XOFF */              
		  /* set flag, that output has been stopped */                      
		  rtems_interrupt_disable(level);                                   
		  tty->flow_ctrl |= FL_OSTOP;                                       
a00029c4:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
a00029c8:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
a00029cc:	e5841094 	str	r1, [r4, #148]	; 0x94                         <== NOT EXECUTED
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
		   ==                (FL_MDXON | FL_ORCVXOF)) {                     
		  /* Buffer not empty, but output stops due to XOFF */              
		  /* set flag, that output has been stopped */                      
		  rtems_interrupt_disable(level);                                   
		  tty->flow_ctrl |= FL_OSTOP;                                       
a00029d0:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
a00029d4:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a00029d8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
a00029dc:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a00029e0:	eaffffba 	b	a00028d0 <rtems_termios_refill_transmitter+0xe8><== NOT EXECUTED
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
a00029e4:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
a00029e8:	eb000970 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
a00029ec:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a00029f0:	eaffffbd 	b	a00028ec <rtems_termios_refill_transmitter+0x104><== NOT EXECUTED
                                                                      
a0004418 <rtems_termios_rxdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
a0004418:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
a000441c:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
a0004420:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a0004424:	e28d7007 	add	r7, sp, #7                                    <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a0004428:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
a000442c:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a0004430:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0004434:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004438:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a000443c:	eb000110 	bl	a0004884 <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) {                
a0004440:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0004444:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004448:	1a000012 	bne	a0004498 <rtems_termios_rxdaemon+0x80>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a000444c:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
a0004450:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
a0004454:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004458:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
a000445c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
a0004460:	0afffff1 	beq	a000442c <rtems_termios_rxdaemon+0x14>        <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
a0004464:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
a0004468:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
a000446c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
a0004470:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
a0004474:	ebfff978 	bl	a0002a5c <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
a0004478:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a000447c:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a0004480:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0004484:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a0004488:	eb0000fd 	bl	a0004884 <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) {                
a000448c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
a0004490:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a0004494:	0affffec 	beq	a000444c <rtems_termios_rxdaemon+0x34>        <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
a0004498:	e58460c4 	str	r6, [r4, #196]	; 0xc4                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a000449c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00044a0:	eb00033a 	bl	a0005190 <rtems_task_delete>                   <== NOT EXECUTED
a00044a4:	eaffffe0 	b	a000442c <rtems_termios_rxdaemon+0x14>          <== NOT EXECUTED
                                                                      
a00027dc <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);               
a00027dc:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
a00027e0:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a00027e4:	ea000883 	b	a00049f8 <rtems_event_send>                     <== NOT EXECUTED
                                                                      
a00043a8 <rtems_termios_txdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
a00043a8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
a00043ac:	e59f6060 	ldr	r6, [pc, #96]	; a0004414 <rtems_termios_txdaemon+0x6c><== NOT EXECUTED
a00043b0:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
a00043b4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
a00043b8:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
a00043bc:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
a00043c0:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
a00043c4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a00043c8:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
a00043cc:	eb00012c 	bl	a0004884 <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) {                
a00043d0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
a00043d4:	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) {                
a00043d8:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
a00043dc:	1a000008 	bne	a0004404 <rtems_termios_txdaemon+0x5c>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
a00043e0:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
a00043e4:	e0863283 	add	r3, r6, r3, lsl #5                            <== NOT EXECUTED
a00043e8:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
a00043ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00043f0:	0a000000 	beq	a00043f8 <rtems_termios_txdaemon+0x50>        <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
a00043f4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
a00043f8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00043fc:	ebfff8f9 	bl	a00027e8 <rtems_termios_refill_transmitter>    <== NOT EXECUTED
a0004400:	eaffffed 	b	a00043bc <rtems_termios_txdaemon+0x14>          <== NOT EXECUTED
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
			tty->txTaskId = 0;                                                 
a0004404:	e58470c8 	str	r7, [r4, #200]	; 0xc8                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
a0004408:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
a000440c:	eb00035f 	bl	a0005190 <rtems_task_delete>                   <== NOT EXECUTED
a0004410:	eaffffe9 	b	a00043bc <rtems_termios_txdaemon+0x14>          <== NOT EXECUTED
                                                                      
a0003498 <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;                    
a0003498:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a000349c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
a00034a0:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00034a4:	e3a01000 	mov	r1, #0                                        
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
a00034a8:	e1a05000 	mov	r5, r0                                        
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
a00034ac:	e1a02001 	mov	r2, r1                                        
a00034b0:	e5940018 	ldr	r0, [r4, #24]                                 
a00034b4:	eb000675 	bl	a0004e90 <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
a00034b8:	e2506000 	subs	r6, r0, #0                                   
a00034bc:	1a00000b 	bne	a00034f0 <rtems_termios_write+0x58>           
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
a00034c0:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
a00034c4:	e59f3094 	ldr	r3, [pc, #148]	; a0003560 <rtems_termios_write+0xc8>
a00034c8:	e0833282 	add	r3, r3, r2, lsl #5                            
a00034cc:	e593300c 	ldr	r3, [r3, #12]                                 
a00034d0:	e3530000 	cmp	r3, #0                                        
a00034d4:	0a000007 	beq	a00034f8 <rtems_termios_write+0x60>           
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
a00034d8:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
a00034dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00034e0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00034e4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
a00034e8:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a00034ec:	eb0006af 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
	return sc;                                                           
}                                                                     
a00034f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a00034f4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
a00034f8:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
a00034fc:	e3130001 	tst	r3, #1                                        
a0003500:	0a000011 	beq	a000354c <rtems_termios_write+0xb4>           
		uint32_t   count = args->count;                                     
a0003504:	e5958010 	ldr	r8, [r5, #16]                                 
		char      *buffer = args->buffer;                                   
a0003508:	e595a00c 	ldr	sl, [r5, #12]                                 
		while (count--)                                                     
a000350c:	e3580000 	cmp	r8, #0                                        
a0003510:	01a03006 	moveq	r3, r6                                      
a0003514:	0a000007 	beq	a0003538 <rtems_termios_write+0xa0>           
a0003518:	e1a07006 	mov	r7, r6                                        
			oproc (*buffer++, tty);                                            
a000351c:	e7da0007 	ldrb	r0, [sl, r7]                                 
a0003520:	e1a01004 	mov	r1, r4                                        
a0003524:	e2877001 	add	r7, r7, #1                                    
a0003528:	ebfffe4f 	bl	a0002e6c <oproc>                               
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
a000352c:	e1580007 	cmp	r8, r7                                        
a0003530:	1afffff9 	bne	a000351c <rtems_termios_write+0x84>           
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
a0003534:	e5953010 	ldr	r3, [r5, #16]                                 
a0003538:	e5853018 	str	r3, [r5, #24]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
a000353c:	e5940018 	ldr	r0, [r4, #24]                                 
a0003540:	eb00069a 	bl	a0004fb0 <rtems_semaphore_release>             
	return sc;                                                           
}                                                                     
a0003544:	e1a00006 	mov	r0, r6                                        
a0003548:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
a000354c:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
a0003550:	e5951010 	ldr	r1, [r5, #16]                                 <== NOT EXECUTED
a0003554:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
a0003558:	ebfffdfb 	bl	a0002d4c <rtems_termios_puts>                  <== NOT EXECUTED
a000355c:	eafffff4 	b	a0003534 <rtems_termios_write+0x9c>             <== NOT EXECUTED
                                                                      
a00069ec <rtems_verror>:                                              
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
a00069ec:	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)                               
a00069f0:	e2108202 	ands	r8, r0, #536870912	; 0x20000000              <== NOT EXECUTED
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
a00069f4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
a00069f8:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
a00069fc:	e1a07002 	mov	r7, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
a0006a00:	0a00000c 	beq	a0006a38 <rtems_verror+0x4c>                  <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
a0006a04:	e59f2180 	ldr	r2, [pc, #384]	; a0006b8c <rtems_verror+0x1a0><== NOT EXECUTED
a0006a08:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
a0006a0c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006a10:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
a0006a14:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
a0006a18:	0a000004 	beq	a0006a30 <rtems_verror+0x44>                  <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
a0006a1c:	e59f316c 	ldr	r3, [pc, #364]	; a0006b90 <rtems_verror+0x1a4><== NOT EXECUTED
a0006a20:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
a0006a24:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
a0006a28:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
a0006a2c:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
a0006a30:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
a0006a34:	ca00002f 	bgt	a0006af8 <rtems_verror+0x10c>                 <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
a0006a38:	e59f5154 	ldr	r5, [pc, #340]	; a0006b94 <rtems_verror+0x1a8><== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
a0006a3c:	e3c4a207 	bic	sl, r4, #1879048192	; 0x70000000              <== NOT EXECUTED
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
a0006a40:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a44:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
a0006a48:	eb0038a9 	bl	a0014cf4 <fflush>                              <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
a0006a4c:	e2146101 	ands	r6, r4, #1073741824	; 0x40000000             <== NOT EXECUTED
a0006a50:	1a00002e 	bne	a0006b10 <rtems_verror+0x124>                 <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006a54:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a58:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0006a5c:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a0006a60:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006a64:	eb0050e3 	bl	a001adf8 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006a68:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006a6c:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006a70:	1a000030 	bne	a0006b38 <rtems_verror+0x14c>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
a0006a74:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a0006a78:	0a00000b 	beq	a0006aac <rtems_verror+0xc0>                  <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
a0006a7c:	da000004 	ble	a0006a94 <rtems_verror+0xa8>                  <== NOT EXECUTED
a0006a80:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006a84:	eb003c6b 	bl	a0015c38 <strerror>                            <== NOT EXECUTED
a0006a88:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
a0006a8c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006a90:	1a000033 	bne	a0006b64 <rtems_verror+0x178>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
a0006a94:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006a98:	e59f10f8 	ldr	r1, [pc, #248]	; a0006b98 <rtems_verror+0x1ac><== NOT EXECUTED
a0006a9c:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
a0006aa0:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006aa4:	eb003950 	bl	a0014fec <fprintf>                             <== NOT EXECUTED
a0006aa8:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a0006aac:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006ab0:	e59f10e4 	ldr	r1, [pc, #228]	; a0006b9c <rtems_verror+0x1b0><== NOT EXECUTED
a0006ab4:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006ab8:	eb00394b 	bl	a0014fec <fprintf>                             <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a0006abc:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a0006ac0:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
a0006ac4:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006ac8:	eb003889 	bl	a0014cf4 <fflush>                              <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
a0006acc:	e3140203 	tst	r4, #805306368	; 0x30000000                   <== NOT EXECUTED
a0006ad0:	0a000006 	beq	a0006af0 <rtems_verror+0x104>                 <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
a0006ad4:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
a0006ad8:	0a000008 	beq	a0006b00 <rtems_verror+0x114>                 <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
a0006adc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
a0006ae0:	e59f10b8 	ldr	r1, [pc, #184]	; a0006ba0 <rtems_verror+0x1b4><== NOT EXECUTED
a0006ae4:	eb00003e 	bl	a0006be4 <rtems_error>                         <== NOT EXECUTED
            _exit(local_errno);                                       
a0006ae8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006aec:	eb00031f 	bl	a0007770 <_exit>                               <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
a0006af0:	e08a0007 	add	r0, sl, r7                                    <== NOT EXECUTED
a0006af4:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
            _exit(local_errno);                                       
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
            abort();                                                  
a0006af8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
a0006afc:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
            rtems_error(0, "fatal error, exiting");                   
            _exit(local_errno);                                       
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
a0006b00:	e59f109c 	ldr	r1, [pc, #156]	; a0006ba4 <rtems_verror+0x1b8><== NOT EXECUTED
a0006b04:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
a0006b08:	eb000035 	bl	a0006be4 <rtems_error>                         <== NOT EXECUTED
            abort();                                                  
a0006b0c:	eb00377c 	bl	a0014904 <abort>                               <== NOT EXECUTED
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
        local_errno = errno;                                          
a0006b10:	eb003784 	bl	a0014928 <__errno>                             <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006b14:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
        local_errno = errno;                                          
a0006b18:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006b1c:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
a0006b20:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
a0006b24:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
a0006b28:	eb0050b2 	bl	a001adf8 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006b2c:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
a0006b30:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
a0006b34:	0affffce 	beq	a0006a74 <rtems_verror+0x88>                  <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
a0006b38:	e59f3054 	ldr	r3, [pc, #84]	; a0006b94 <rtems_verror+0x1a8> <== NOT EXECUTED
a0006b3c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b40:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
a0006b44:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
a0006b48:	ebffffa3 	bl	a00069dc <rtems_status_text>                   <== NOT EXECUTED
a0006b4c:	e59f1054 	ldr	r1, [pc, #84]	; a0006ba8 <rtems_verror+0x1bc> <== NOT EXECUTED
a0006b50:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0006b54:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b58:	eb003923 	bl	a0014fec <fprintf>                             <== NOT EXECUTED
a0006b5c:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
a0006b60:	eaffffc3 	b	a0006a74 <rtems_verror+0x88>                    <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
a0006b64:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
a0006b68:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
a0006b6c:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
a0006b70:	eb003c30 	bl	a0015c38 <strerror>                            <== NOT EXECUTED
a0006b74:	e59f1030 	ldr	r1, [pc, #48]	; a0006bac <rtems_verror+0x1c0> <== NOT EXECUTED
a0006b78:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
a0006b7c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
a0006b80:	eb003919 	bl	a0014fec <fprintf>                             <== NOT EXECUTED
a0006b84:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
a0006b88:	eaffffc7 	b	a0006aac <rtems_verror+0xc0>                    <== NOT EXECUTED
                                                                      
a0002214 <scanInt>:                                                   
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0002214:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002218:	e59fb0f0 	ldr	fp, [pc, #240]	; a0002310 <scanInt+0xfc>      
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a000221c:	e59fa0f0 	ldr	sl, [pc, #240]	; a0002314 <scanInt+0x100>     
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0002220:	e59f90f0 	ldr	r9, [pc, #240]	; a0002318 <scanInt+0x104>     
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
a0002224:	e24dd004 	sub	sp, sp, #4                                    
a0002228:	e3a06000 	mov	r6, #0                                        
a000222c:	e1a04000 	mov	r4, r0                                        
a0002230:	e58d1000 	str	r1, [sp]                                      
a0002234:	e3e07102 	mvn	r7, #-2147483648	; 0x80000000                 
a0002238:	e1a05006 	mov	r5, r6                                        
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a000223c:	e3a0800a 	mov	r8, #10                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002240:	e5943004 	ldr	r3, [r4, #4]                                  
a0002244:	e2433001 	sub	r3, r3, #1                                    
a0002248:	e3530000 	cmp	r3, #0                                        
a000224c:	e5843004 	str	r3, [r4, #4]                                  
a0002250:	ba00001b 	blt	a00022c4 <scanInt+0xb0>                       
a0002254:	e5943000 	ldr	r3, [r4]                                      
a0002258:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':')                                                     
a000225c:	e350003a 	cmp	r0, #58	; 0x3a                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002260:	e5843000 	str	r3, [r4]                                      
    if (c == ':')                                                     
a0002264:	0a00001b 	beq	a00022d8 <scanInt+0xc4>                       
      break;                                                          
    if (sign == 0) {                                                  
a0002268:	e3560000 	cmp	r6, #0                                        
a000226c:	1a000004 	bne	a0002284 <scanInt+0x70>                       
      if (c == '-') {                                                 
a0002270:	e350002d 	cmp	r0, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
a0002274:	02877001 	addeq	r7, r7, #1                                  
a0002278:	03e06000 	mvneq	r6, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
a000227c:	0affffef 	beq	a0002240 <scanInt+0x2c>                       
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
a0002280:	e3a06001 	mov	r6, #1                                        
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
a0002284:	e59a3000 	ldr	r3, [sl]                                      
a0002288:	e0833000 	add	r3, r3, r0                                    
a000228c:	e5d33001 	ldrb	r3, [r3, #1]                                 
a0002290:	e3130004 	tst	r3, #4                                        
a0002294:	0a00001a 	beq	a0002304 <scanInt+0xf0>                       
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a0002298:	e0832799 	umull	r2, r3, r9, r7                              
a000229c:	e15501a3 	cmp	r5, r3, lsr #3                                
a00022a0:	8a000017 	bhi	a0002304 <scanInt+0xf0>                       
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
a00022a4:	e2400030 	sub	r0, r0, #48	; 0x30                            
    if ((i > (limit / 10))                                            
a00022a8:	0a000011 	beq	a00022f4 <scanInt+0xe0>                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00022ac:	e5943004 	ldr	r3, [r4, #4]                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
a00022b0:	e0250598 	mla	r5, r8, r5, r0                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a00022b4:	e2433001 	sub	r3, r3, #1                                    
a00022b8:	e3530000 	cmp	r3, #0                                        
a00022bc:	e5843004 	str	r3, [r4, #4]                                  
a00022c0:	aaffffe3 	bge	a0002254 <scanInt+0x40>                       
a00022c4:	e59b0000 	ldr	r0, [fp]                                      <== NOT EXECUTED
a00022c8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a00022cc:	eb003c0f 	bl	a0011310 <__srget_r>                           <== NOT EXECUTED
    if (c == ':')                                                     
a00022d0:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
a00022d4:	1affffe3 	bne	a0002268 <scanInt+0x54>                       <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
a00022d8:	e3560000 	cmp	r6, #0                                        
a00022dc:	0a000008 	beq	a0002304 <scanInt+0xf0>                       
    return 0;                                                         
  *val = i * sign;                                                    
a00022e0:	e0030695 	mul	r3, r5, r6                                    
a00022e4:	e59d2000 	ldr	r2, [sp]                                      
a00022e8:	e3a00001 	mov	r0, #1                                        
a00022ec:	e5823000 	str	r3, [r2]                                      
  return 1;                                                           
a00022f0:	ea000004 	b	a0002308 <scanInt+0xf4>                         
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
a00022f4:	e0030598 	mul	r3, r8, r5                                    <== NOT EXECUTED
a00022f8:	e0633007 	rsb	r3, r3, r7                                    <== NOT EXECUTED
a00022fc:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
a0002300:	9affffe9 	bls	a00022ac <scanInt+0x98>                       <== NOT EXECUTED
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
a0002304:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0002308:	e28dd004 	add	sp, sp, #4                                    
a000230c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
a000231c <scanString>:                                                
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a000231c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002320:	e1a05002 	mov	r5, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0002324:	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)
{                                                                     
a0002328:	e59d7018 	ldr	r7, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a000232c:	e59f60c8 	ldr	r6, [pc, #200]	; a00023fc <scanString+0xe0>   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
a0002330:	e5812000 	str	r2, [r1]                                      
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
a0002334:	e1a04000 	mov	r4, r0                                        
a0002338:	e1a08003 	mov	r8, r3                                        
a000233c:	ea000013 	b	a0002390 <scanString+0x74>                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002340:	e5943000 	ldr	r3, [r4]                                      
a0002344:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':') {                                                   
a0002348:	e350003a 	cmp	r0, #58	; 0x3a                                
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a000234c:	e5843000 	str	r3, [r4]                                      
    if (c == ':') {                                                   
a0002350:	0a000018 	beq	a00023b8 <scanString+0x9c>                    
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
a0002354:	e350000a 	cmp	r0, #10                                       
a0002358:	0a000023 	beq	a00023ec <scanString+0xd0>                    
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
a000235c:	e3700001 	cmn	r0, #1                                        
a0002360:	0a000023 	beq	a00023f4 <scanString+0xd8>                    
      return 0;                                                       
    if (*nleft < 2)                                                   
a0002364:	e5983000 	ldr	r3, [r8]                                      
a0002368:	e3530001 	cmp	r3, #1                                        
a000236c:	9a000020 	bls	a00023f4 <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
a0002370:	e5953000 	ldr	r3, [r5]                                      
a0002374:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
a0002378:	e5952000 	ldr	r2, [r5]                                      
    --(*nleft);                                                       
a000237c:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0002380:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
a0002384:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
a0002388:	e5852000 	str	r2, [r5]                                      
    --(*nleft);                                                       
a000238c:	e5883000 	str	r3, [r8]                                      
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
a0002390:	e5943004 	ldr	r3, [r4, #4]                                  
a0002394:	e2433001 	sub	r3, r3, #1                                    
a0002398:	e3530000 	cmp	r3, #0                                        
a000239c:	e5843004 	str	r3, [r4, #4]                                  
a00023a0:	aaffffe6 	bge	a0002340 <scanString+0x24>                    
a00023a4:	e5960000 	ldr	r0, [r6]                                      
a00023a8:	e1a01004 	mov	r1, r4                                        
a00023ac:	eb003bd7 	bl	a0011310 <__srget_r>                           
    if (c == ':') {                                                   
a00023b0:	e350003a 	cmp	r0, #58	; 0x3a                                
a00023b4:	1affffe6 	bne	a0002354 <scanString+0x38>                    
        if (nlFlag)                                                   
a00023b8:	e3570000 	cmp	r7, #0                                        
a00023bc:	1a00000c 	bne	a00023f4 <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a00023c0:	e5953000 	ldr	r3, [r5]                                      
a00023c4:	e3a02000 	mov	r2, #0                                        
  ++(*bufp);                                                          
  --(*nleft);                                                         
a00023c8:	e3a00001 	mov	r0, #1                                        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
a00023cc:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
a00023d0:	e5952000 	ldr	r2, [r5]                                      
  --(*nleft);                                                         
a00023d4:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a00023d8:	e0822000 	add	r2, r2, r0                                    
  --(*nleft);                                                         
a00023dc:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
a00023e0:	e5852000 	str	r2, [r5]                                      
  --(*nleft);                                                         
a00023e4:	e5883000 	str	r3, [r8]                                      
  return 1;                                                           
a00023e8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
a00023ec:	e3570000 	cmp	r7, #0                                        
a00023f0:	1afffff2 	bne	a00023c0 <scanString+0xa4>                    
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
a00023f4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00023f8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      
a0002400 <scangr>:                                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0002400:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002404:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002408:	e28d5008 	add	r5, sp, #8                                    
a000240c:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0002410:	e58d2008 	str	r2, [sp, #8]                                  
a0002414:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002418:	e3a06000 	mov	r6, #0                                        
a000241c:	e1a02005 	mov	r2, r5                                        
a0002420:	e1a03004 	mov	r3, r4                                        
a0002424:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0002428:	e1a07000 	mov	r7, r0                                        
a000242c:	e1a08001 	mov	r8, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002430:	ebffffb9 	bl	a000231c <scanString>                          
a0002434:	e1500006 	cmp	r0, r6                                        
a0002438:	1a000002 	bne	a0002448 <scangr+0x48>                        
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
a000243c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a0002440:	e28dd014 	add	sp, sp, #20                                   
a0002444:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
a0002448:	e1a00007 	mov	r0, r7                                        
a000244c:	e2881004 	add	r1, r8, #4                                    
a0002450:	e1a02005 	mov	r2, r5                                        
a0002454:	e1a03004 	mov	r3, r4                                        
a0002458:	e58d6000 	str	r6, [sp]                                      
a000245c:	ebffffae 	bl	a000231c <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002460:	e1500006 	cmp	r0, r6                                        
a0002464:	0afffff4 	beq	a000243c <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
a0002468:	e1a00007 	mov	r0, r7                                        
a000246c:	e28d1010 	add	r1, sp, #16                                   
a0002470:	ebffff67 	bl	a0002214 <scanInt>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002474:	e1500006 	cmp	r0, r6                                        
a0002478:	0affffef 	beq	a000243c <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
a000247c:	e1a03004 	mov	r3, r4                                        
a0002480:	e1a00007 	mov	r0, r7                                        
a0002484:	e1a02005 	mov	r2, r5                                        
a0002488:	e3a04001 	mov	r4, #1                                        
a000248c:	e28d100c 	add	r1, sp, #12                                   
a0002490:	e58d4000 	str	r4, [sp]                                      
a0002494:	ebffffa0 	bl	a000231c <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
a0002498:	e1500006 	cmp	r0, r6                                        
a000249c:	0affffe6 	beq	a000243c <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a00024a0:	e1dd31b0 	ldrh	r3, [sp, #16]                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024a4:	e59d100c 	ldr	r1, [sp, #12]                                 
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
a00024a8:	e1c830b8 	strh	r3, [r8, #8]                                 
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024ac:	e5d13000 	ldrb	r3, [r1]                                     
a00024b0:	e1530006 	cmp	r3, r6                                        
a00024b4:	03a04017 	moveq	r4, #23                                     
a00024b8:	0a000007 	beq	a00024dc <scangr+0xdc>                        
a00024bc:	e1a02001 	mov	r2, r1                                        
    if(*cp == ',')                                                    
a00024c0:	e353002c 	cmp	r3, #44	; 0x2c                                
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024c4:	e5f23001 	ldrb	r3, [r2, #1]!                                
    if(*cp == ',')                                                    
      memcount++;                                                     
a00024c8:	02844001 	addeq	r4, r4, #1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024cc:	e3530000 	cmp	r3, #0                                        
a00024d0:	1afffffa 	bne	a00024c0 <scangr+0xc0>                        
a00024d4:	e1a04104 	lsl	r4, r4, #2                                    
a00024d8:	e2844013 	add	r4, r4, #19                                   
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
a00024dc:	e59d3004 	ldr	r3, [sp, #4]                                  
a00024e0:	e1530004 	cmp	r3, r4                                        
a00024e4:	3affffd4 	bcc	a000243c <scangr+0x3c>                        
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a00024e8:	e59d3008 	ldr	r3, [sp, #8]                                  
a00024ec:	e283300f 	add	r3, r3, #15                                   
a00024f0:	e3c3300f 	bic	r3, r3, #15                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
a00024f4:	e5831000 	str	r1, [r3]                                      
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a00024f8:	e59d200c 	ldr	r2, [sp, #12]                                 
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
a00024fc:	e588300c 	str	r3, [r8, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002500:	e5d23000 	ldrb	r3, [r2]                                     
a0002504:	e3530000 	cmp	r3, #0                                        
a0002508:	03a01004 	moveq	r1, #4                                      
a000250c:	0a00000b 	beq	a0002540 <scangr+0x140>                       
a0002510:	e2822001 	add	r2, r2, #1                                    
a0002514:	e3a01001 	mov	r1, #1                                        
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
a0002518:	e3a00000 	mov	r0, #0                                        
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
a000251c:	e353002c 	cmp	r3, #44	; 0x2c                                
      *cp = '\0';                                                     
a0002520:	05420001 	strbeq	r0, [r2, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
a0002524:	0598300c 	ldreq	r3, [r8, #12]                               
a0002528:	07832101 	streq	r2, [r3, r1, lsl #2]                        
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a000252c:	e4d23001 	ldrb	r3, [r2], #1                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
a0002530:	02811001 	addeq	r1, r1, #1                                  
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
a0002534:	e3530000 	cmp	r3, #0                                        
a0002538:	1afffff7 	bne	a000251c <scangr+0x11c>                       
a000253c:	e1a01101 	lsl	r1, r1, #2                                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
a0002540:	e598300c 	ldr	r3, [r8, #12]                                 
a0002544:	e3a02000 	mov	r2, #0                                        
a0002548:	e3a00001 	mov	r0, #1                                        
a000254c:	e7832001 	str	r2, [r3, r1]                                  
  return 1;                                                           
a0002550:	eaffffba 	b	a0002440 <scangr+0x40>                          
                                                                      
a0002594 <scanpw>:                                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a0002594:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
a0002598:	e24dd014 	sub	sp, sp, #20                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000259c:	e28d5008 	add	r5, sp, #8                                    
a00025a0:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00025a4:	e58d2008 	str	r2, [sp, #8]                                  
a00025a8:	e58d3004 	str	r3, [sp, #4]                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025ac:	e3a06000 	mov	r6, #0                                        
a00025b0:	e1a02005 	mov	r2, r5                                        
a00025b4:	e1a03004 	mov	r3, r4                                        
a00025b8:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
a00025bc:	e1a07000 	mov	r7, r0                                        
a00025c0:	e1a08001 	mov	r8, r1                                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025c4:	ebffff54 	bl	a000231c <scanString>                          
a00025c8:	e1500006 	cmp	r0, r6                                        
a00025cc:	1a000002 	bne	a00025dc <scanpw+0x48>                        
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
a00025d0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
a00025d4:	e28dd014 	add	sp, sp, #20                                   
a00025d8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
a00025dc:	e1a00007 	mov	r0, r7                                        
a00025e0:	e2881004 	add	r1, r8, #4                                    
a00025e4:	e1a02005 	mov	r2, r5                                        
a00025e8:	e1a03004 	mov	r3, r4                                        
a00025ec:	e58d6000 	str	r6, [sp]                                      
a00025f0:	ebffff49 	bl	a000231c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00025f4:	e1500006 	cmp	r0, r6                                        
a00025f8:	0afffff4 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
a00025fc:	e1a00007 	mov	r0, r7                                        
a0002600:	e28d1010 	add	r1, sp, #16                                   
a0002604:	ebffff02 	bl	a0002214 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a0002608:	e1500006 	cmp	r0, r6                                        
a000260c:	0affffef 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
a0002610:	e1a00007 	mov	r0, r7                                        
a0002614:	e28d100c 	add	r1, sp, #12                                   
a0002618:	ebfffefd 	bl	a0002214 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000261c:	e1500006 	cmp	r0, r6                                        
a0002620:	0affffea 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
a0002624:	e1a00007 	mov	r0, r7                                        
a0002628:	e288100c 	add	r1, r8, #12                                   
a000262c:	e1a02005 	mov	r2, r5                                        
a0002630:	e1a03004 	mov	r3, r4                                        
a0002634:	e58d6000 	str	r6, [sp]                                      
a0002638:	ebffff37 	bl	a000231c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000263c:	e1500006 	cmp	r0, r6                                        
a0002640:	0affffe2 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
a0002644:	e1a00007 	mov	r0, r7                                        
a0002648:	e2881010 	add	r1, r8, #16                                   
a000264c:	e1a02005 	mov	r2, r5                                        
a0002650:	e1a03004 	mov	r3, r4                                        
a0002654:	e58d6000 	str	r6, [sp]                                      
a0002658:	ebffff2f 	bl	a000231c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000265c:	e1500006 	cmp	r0, r6                                        
a0002660:	0affffda 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
a0002664:	e1a00007 	mov	r0, r7                                        
a0002668:	e2881014 	add	r1, r8, #20                                   
a000266c:	e1a02005 	mov	r2, r5                                        
a0002670:	e1a03004 	mov	r3, r4                                        
a0002674:	e58d6000 	str	r6, [sp]                                      
a0002678:	ebffff27 	bl	a000231c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a000267c:	e1500006 	cmp	r0, r6                                        
a0002680:	0affffd2 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
a0002684:	e1a03004 	mov	r3, r4                                        
a0002688:	e1a00007 	mov	r0, r7                                        
a000268c:	e1a02005 	mov	r2, r5                                        
a0002690:	e3a04001 	mov	r4, #1                                        
a0002694:	e2881018 	add	r1, r8, #24                                   
a0002698:	e58d4000 	str	r4, [sp]                                      
a000269c:	ebffff1e 	bl	a000231c <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
a00026a0:	e1500006 	cmp	r0, r6                                        
a00026a4:	0affffc9 	beq	a00025d0 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
a00026a8:	e1dd30bc 	ldrh	r3, [sp, #12]                                
a00026ac:	e1a00004 	mov	r0, r4                                        
a00026b0:	e1c830ba 	strh	r3, [r8, #10]                                
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
a00026b4:	e1dd31b0 	ldrh	r3, [sp, #16]                                
a00026b8:	e1c830b8 	strh	r3, [r8, #8]                                 
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
a00026bc:	eaffffc4 	b	a00025d4 <scanpw+0x40>                          
                                                                      
a00058d0 <sched_get_priority_min>:                                    
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
a00058d0:	e3500004 	cmp	r0, #4                                        
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
a00058d4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  switch ( policy ) {                                                 
a00058d8:	9a000004 	bls	a00058f0 <sched_get_priority_min+0x20>        
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00058dc:	eb002455 	bl	a000ea38 <__errno>                             
a00058e0:	e3a03016 	mov	r3, #22                                       
a00058e4:	e5803000 	str	r3, [r0]                                      
a00058e8:	e3e00000 	mvn	r0, #0                                        
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
a00058ec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
a00058f0:	e3a03001 	mov	r3, #1                                        
a00058f4:	e1a00013 	lsl	r0, r3, r0                                    
a00058f8:	e3100017 	tst	r0, #23                                       
a00058fc:	11a00003 	movne	r0, r3                                      
a0005900:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a0005904:	eb00244b 	bl	a000ea38 <__errno>                             <== NOT EXECUTED
a0005908:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a000590c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0005910:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
a0005914:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
a0007f20 <sem_timedwait>:                                             
                                                                      
int sem_timedwait(                                                    
  sem_t                 *sem,                                         
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
a0007f20:	e92d4010 	push	{r4, lr}                                     
a0007f24:	e24dd004 	sub	sp, sp, #4                                    
a0007f28:	e1a04000 	mov	r4, r0                                        
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
a0007f2c:	e1a00001 	mov	r0, r1                                        
a0007f30:	e1a0100d 	mov	r1, sp                                        
a0007f34:	eb0015d0 	bl	a000d67c <_POSIX_Absolute_timeout_to_ticks>    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
a0007f38:	e3500003 	cmp	r0, #3                                        
a0007f3c:	0a000005 	beq	a0007f58 <sem_timedwait+0x38>                 
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
a0007f40:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0007f44:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a0007f48:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
a0007f4c:	eb00188c 	bl	a000e184 <_POSIX_Semaphore_Wait_support>       <== NOT EXECUTED
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
a0007f50:	e28dd004 	add	sp, sp, #4                                    
a0007f54:	e8bd8010 	pop	{r4, pc}                                      
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
a0007f58:	e1a00004 	mov	r0, r4                                        
a0007f5c:	e3a01001 	mov	r1, #1                                        
a0007f60:	e59d2000 	ldr	r2, [sp]                                      
a0007f64:	eb001886 	bl	a000e184 <_POSIX_Semaphore_Wait_support>       
a0007f68:	eafffff8 	b	a0007f50 <sem_timedwait+0x30>                   
                                                                      
a00027e4 <setgrent>:                                                  
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
a00027e4:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
a00027e8:	e59f4024 	ldr	r4, [pc, #36]	; a0002814 <setgrent+0x30>      <== NOT EXECUTED
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
a00027ec:	ebffffc3 	bl	a0002700 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
a00027f0:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
a00027f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00027f8:	0a000000 	beq	a0002800 <setgrent+0x1c>                      <== NOT EXECUTED
    fclose(group_fp);                                                 
a00027fc:	eb0035c5 	bl	a000ff18 <fclose>                              <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
a0002800:	e59f0010 	ldr	r0, [pc, #16]	; a0002818 <setgrent+0x34>      <== NOT EXECUTED
a0002804:	e59f1010 	ldr	r1, [pc, #16]	; a000281c <setgrent+0x38>      <== NOT EXECUTED
a0002808:	eb00377a 	bl	a00105f8 <fopen>                               <== NOT EXECUTED
a000280c:	e5840000 	str	r0, [r4]                                      <== NOT EXECUTED
}                                                                     
a0002810:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a00029e0 <setpwent>:                                                  
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
a00029e0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (passwd_fp != NULL)                                              
a00029e4:	e59f4024 	ldr	r4, [pc, #36]	; a0002a10 <setpwent+0x30>      <== NOT EXECUTED
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
a00029e8:	ebffff44 	bl	a0002700 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
a00029ec:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
a00029f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00029f4:	0a000000 	beq	a00029fc <setpwent+0x1c>                      <== NOT EXECUTED
    fclose(passwd_fp);                                                
a00029f8:	eb003546 	bl	a000ff18 <fclose>                              <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
a00029fc:	e59f0010 	ldr	r0, [pc, #16]	; a0002a14 <setpwent+0x34>      <== NOT EXECUTED
a0002a00:	e59f1010 	ldr	r1, [pc, #16]	; a0002a18 <setpwent+0x38>      <== NOT EXECUTED
a0002a04:	eb0036fb 	bl	a00105f8 <fopen>                               <== NOT EXECUTED
a0002a08:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
}                                                                     
a0002a0c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
a00057d4 <sigaction>:                                                 
  struct sigaction       *oact                                        
)                                                                     
{                                                                     
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
a00057d4:	e3520000 	cmp	r2, #0                                        
int sigaction(                                                        
  int                     sig,                                        
  const struct sigaction *act,                                        
  struct sigaction       *oact                                        
)                                                                     
{                                                                     
a00057d8:	e92d4070 	push	{r4, r5, r6, lr}                             
a00057dc:	e1a04000 	mov	r4, r0                                        
a00057e0:	e1a05001 	mov	r5, r1                                        
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
a00057e4:	0a00000a 	beq	a0005814 <sigaction+0x40>                     
    *oact = _POSIX_signals_Vectors[ sig ];                            
a00057e8:	e3a0300c 	mov	r3, #12                                       
a00057ec:	e0010093 	mul	r1, r3, r0                                    
a00057f0:	e59f00e8 	ldr	r0, [pc, #232]	; a00058e0 <sigaction+0x10c>   
a00057f4:	e1a03002 	mov	r3, r2                                        
a00057f8:	e790c001 	ldr	ip, [r0, r1]                                  
a00057fc:	e0801001 	add	r1, r0, r1                                    
a0005800:	e483c004 	str	ip, [r3], #4                                  
a0005804:	e5910004 	ldr	r0, [r1, #4]                                  
a0005808:	e5820004 	str	r0, [r2, #4]                                  
a000580c:	e5912008 	ldr	r2, [r1, #8]                                  
a0005810:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  if ( !sig )                                                         
a0005814:	e3540000 	cmp	r4, #0                                        
a0005818:	0a00002b 	beq	a00058cc <sigaction+0xf8>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
a000581c:	e2443001 	sub	r3, r4, #1                                    
a0005820:	e353001f 	cmp	r3, #31                                       
a0005824:	8a000028 	bhi	a00058cc <sigaction+0xf8>                     
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
a0005828:	e3540009 	cmp	r4, #9                                        
a000582c:	0a000026 	beq	a00058cc <sigaction+0xf8>                     
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
a0005830:	e3550000 	cmp	r5, #0                                        
a0005834:	0a000022 	beq	a00058c4 <sigaction+0xf0>                     
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
a0005838:	e10f6000 	mrs	r6, CPSR                                      
a000583c:	e3863080 	orr	r3, r6, #128	; 0x80                           
a0005840:	e129f003 	msr	CPSR_fc, r3                                   
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
a0005844:	e5953008 	ldr	r3, [r5, #8]                                  
a0005848:	e3530000 	cmp	r3, #0                                        
a000584c:	0a00000f 	beq	a0005890 <sigaction+0xbc>                     
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
a0005850:	e1a00004 	mov	r0, r4                                        
a0005854:	eb0016d9 	bl	a000b3c0 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
a0005858:	e1a03005 	mov	r3, r5                                        
a000585c:	e3a0100c 	mov	r1, #12                                       
a0005860:	e4930004 	ldr	r0, [r3], #4                                  
a0005864:	e0020491 	mul	r2, r1, r4                                    
a0005868:	e59f1070 	ldr	r1, [pc, #112]	; a00058e0 <sigaction+0x10c>   
a000586c:	e7810002 	str	r0, [r1, r2]                                  
a0005870:	e5950004 	ldr	r0, [r5, #4]                                  
a0005874:	e0812002 	add	r2, r1, r2                                    
a0005878:	e5820004 	str	r0, [r2, #4]                                  
a000587c:	e5933004 	ldr	r3, [r3, #4]                                  
a0005880:	e5823008 	str	r3, [r2, #8]                                  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
a0005884:	e129f006 	msr	CPSR_fc, r6                                   
a0005888:	e3a00000 	mov	r0, #0                                        
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a000588c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
a0005890:	e3a0200c 	mov	r2, #12                                       
a0005894:	e0030492 	mul	r3, r2, r4                                    
a0005898:	e59f0044 	ldr	r0, [pc, #68]	; a00058e4 <sigaction+0x110>    
a000589c:	e59f103c 	ldr	r1, [pc, #60]	; a00058e0 <sigaction+0x10c>    
a00058a0:	e0802003 	add	r2, r0, r3                                    
a00058a4:	e7904003 	ldr	r4, [r0, r3]                                  
a00058a8:	e9921001 	ldmib	r2, {r0, ip}                                
a00058ac:	e0812003 	add	r2, r1, r3                                    
a00058b0:	e7814003 	str	r4, [r1, r3]                                  
a00058b4:	e9821001 	stmib	r2, {r0, ip}                                
a00058b8:	e129f006 	msr	CPSR_fc, r6                                   
a00058bc:	e3a00000 	mov	r0, #0                                        
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
a00058c0:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
a00058c4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00058c8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
a00058cc:	eb0024dc 	bl	a000ec44 <__errno>                             
a00058d0:	e3a03016 	mov	r3, #22                                       
a00058d4:	e5803000 	str	r3, [r0]                                      
a00058d8:	e3e00000 	mvn	r0, #0                                        
a00058dc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
a0003438 <siproc>:                                                    
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
a0003438:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
a000343c:	e3a03ee7 	mov	r3, #3696	; 0xe70                             <== NOT EXECUTED
a0003440:	e2833008 	add	r3, r3, #8                                    <== NOT EXECUTED
a0003444:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
a0003448:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
a000344c:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
a0003450:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
a0003454:	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)) {
a0003458:	1a000002 	bne	a0003468 <siproc+0x30>                        <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
		i = iproc (c, tty);                                                 
		rtems_semaphore_release (tty->osem);                                
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
a000345c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
a0003460:	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);                                                 
a0003464:	eaffff80 	b	a000326c <iproc>                                <== NOT EXECUTED
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
a0003468:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
a000346c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
a0003470:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a0003474:	eb000685 	bl	a0004e90 <rtems_semaphore_obtain>              <== NOT EXECUTED
		i = iproc (c, tty);                                                 
a0003478:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
a000347c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003480:	ebffff79 	bl	a000326c <iproc>                               <== NOT EXECUTED
a0003484:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
a0003488:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
a000348c:	eb0006c7 	bl	a0004fb0 <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
a0003490:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a0003494:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
a00040d8 <stat>:                                                      
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a00040d8:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a00040dc:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
a00040e0:	e24dd018 	sub	sp, sp, #24                                   
a00040e4:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
a00040e8:	0a00002f 	beq	a00041ac <stat+0xd4>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
a00040ec:	eb003811 	bl	a0012138 <strlen>                              
a00040f0:	e28d4004 	add	r4, sp, #4                                    
a00040f4:	e1a01000 	mov	r1, r0                                        
a00040f8:	e3a0c001 	mov	ip, #1                                        
a00040fc:	e1a00006 	mov	r0, r6                                        
a0004100:	e3a02000 	mov	r2, #0                                        
a0004104:	e1a03004 	mov	r3, r4                                        
a0004108:	e58dc000 	str	ip, [sp]                                      
a000410c:	ebfff9da 	bl	a000287c <rtems_filesystem_evaluate_path>      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
a0004110:	e2501000 	subs	r1, r0, #0                                   
a0004114:	1a000022 	bne	a00041a4 <stat+0xcc>                          
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
a0004118:	e59d300c 	ldr	r3, [sp, #12]                                 
a000411c:	e5933018 	ldr	r3, [r3, #24]                                 
a0004120:	e3530000 	cmp	r3, #0                                        
a0004124:	0a000013 	beq	a0004178 <stat+0xa0>                          
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
a0004128:	e3a02048 	mov	r2, #72	; 0x48                                
a000412c:	e1a00005 	mov	r0, r5                                        
a0004130:	eb0035a7 	bl	a00117d4 <memset>                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a0004134:	e59d300c 	ldr	r3, [sp, #12]                                 
a0004138:	e1a01005 	mov	r1, r5                                        
a000413c:	e1a00004 	mov	r0, r4                                        
a0004140:	e5933018 	ldr	r3, [r3, #24]                                 
a0004144:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0004148:	e59d3010 	ldr	r3, [sp, #16]                                 
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
a000414c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0004150:	e3530000 	cmp	r3, #0                                        
a0004154:	0a000004 	beq	a000416c <stat+0x94>                          
a0004158:	e593301c 	ldr	r3, [r3, #28]                                 
a000415c:	e3530000 	cmp	r3, #0                                        
a0004160:	0a000001 	beq	a000416c <stat+0x94>                          
a0004164:	e1a00004 	mov	r0, r4                                        
a0004168:	e12fff33 	blx	r3                                            
                                                                      
  return status;                                                      
}                                                                     
a000416c:	e1a00005 	mov	r0, r5                                        
a0004170:	e28dd018 	add	sp, sp, #24                                   
a0004174:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    rtems_filesystem_freenode( &loc );                                
a0004178:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
a000417c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0004180:	0a000004 	beq	a0004198 <stat+0xc0>                          <== NOT EXECUTED
a0004184:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a0004188:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000418c:	0a000001 	beq	a0004198 <stat+0xc0>                          <== NOT EXECUTED
a0004190:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0004194:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0004198:	eb0030cf 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a000419c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00041a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00041a4:	e3e05000 	mvn	r5, #0                                        
a00041a8:	eaffffef 	b	a000416c <stat+0x94>                            
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
a00041ac:	eb0030ca 	bl	a00104dc <__errno>                             
a00041b0:	e3a0300e 	mov	r3, #14                                       
a00041b4:	e5803000 	str	r3, [r0]                                      
a00041b8:	e3e05000 	mvn	r5, #0                                        
a00041bc:	eaffffea 	b	a000416c <stat+0x94>                            
                                                                      
a00041dc <symlink>:                                                   
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a00041dc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a00041e0:	e5d13000 	ldrb	r3, [r1]                                     
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a00041e4:	e24dd018 	sub	sp, sp, #24                                   
a00041e8:	e1a0e001 	mov	lr, r1                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a00041ec:	e353002f 	cmp	r3, #47	; 0x2f                                
a00041f0:	1353005c 	cmpne	r3, #92	; 0x5c                              
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
a00041f4:	e1a05000 	mov	r5, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a00041f8:	13a06000 	movne	r6, #0                                      
a00041fc:	03a06001 	moveq	r6, #1                                      
a0004200:	0a000001 	beq	a000420c <symlink+0x30>                       
a0004204:	e3530000 	cmp	r3, #0                                        
a0004208:	1a000027 	bne	a00042ac <symlink+0xd0>                       
a000420c:	e59f30d4 	ldr	r3, [pc, #212]	; a00042e8 <symlink+0x10c>     
a0004210:	e1a0400d 	mov	r4, sp                                        
a0004214:	e3a06001 	mov	r6, #1                                        
a0004218:	e593c000 	ldr	ip, [r3]                                      
a000421c:	e28cc018 	add	ip, ip, #24                                   
a0004220:	e1a07004 	mov	r7, r4                                        
a0004224:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a0004228:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a000422c:	e59d300c 	ldr	r3, [sp, #12]                                 
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a0004230:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a0004234:	e5933004 	ldr	r3, [r3, #4]                                  
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a0004238:	e5872000 	str	r2, [r7]                                      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
a000423c:	e3530000 	cmp	r3, #0                                        
a0004240:	0a000023 	beq	a00042d4 <symlink+0xf8>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
a0004244:	e08e0006 	add	r0, lr, r6                                    
a0004248:	e1a0100d 	mov	r1, sp                                        
a000424c:	e28d2014 	add	r2, sp, #20                                   
a0004250:	e12fff33 	blx	r3                                            
  if ( result != 0 )                                                  
a0004254:	e3500000 	cmp	r0, #0                                        
a0004258:	1a000020 	bne	a00042e0 <symlink+0x104>                      
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
a000425c:	e59d200c 	ldr	r2, [sp, #12]                                 
a0004260:	e5923038 	ldr	r3, [r2, #56]	; 0x38                          
a0004264:	e3530000 	cmp	r3, #0                                        
a0004268:	0a000014 	beq	a00042c0 <symlink+0xe4>                       
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
a000426c:	e1a01005 	mov	r1, r5                                        
a0004270:	e1a0000d 	mov	r0, sp                                        
a0004274:	e59d2014 	ldr	r2, [sp, #20]                                 
a0004278:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000427c:	e59d300c 	ldr	r3, [sp, #12]                                 
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
a0004280:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0004284:	e3530000 	cmp	r3, #0                                        
a0004288:	0a000004 	beq	a00042a0 <symlink+0xc4>                       
a000428c:	e593301c 	ldr	r3, [r3, #28]                                 
a0004290:	e3530000 	cmp	r3, #0                                        
a0004294:	0a000001 	beq	a00042a0 <symlink+0xc4>                       
a0004298:	e1a0000d 	mov	r0, sp                                        
a000429c:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a00042a0:	e1a00005 	mov	r0, r5                                        
a00042a4:	e28dd018 	add	sp, sp, #24                                   
a00042a8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
a00042ac:	e59f3034 	ldr	r3, [pc, #52]	; a00042e8 <symlink+0x10c>      
a00042b0:	e1a0400d 	mov	r4, sp                                        
a00042b4:	e593c000 	ldr	ip, [r3]                                      
a00042b8:	e28cc004 	add	ip, ip, #4                                    
a00042bc:	eaffffd7 	b	a0004220 <symlink+0x44>                         
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
a00042c0:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a00042c4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a00042c8:	0a000001 	beq	a00042d4 <symlink+0xf8>                       <== NOT EXECUTED
a00042cc:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
a00042d0:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00042d4:	eb00304a 	bl	a0010404 <__errno>                             <== NOT EXECUTED
a00042d8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00042dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00042e0:	e3e05000 	mvn	r5, #0                                        
a00042e4:	eaffffed 	b	a00042a0 <symlink+0xc4>                         
                                                                      
a0003d80 <tcsetattr>:                                                 
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
  switch (opt) {                                                      
a0003d80:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
a0003d84:	e92d4030 	push	{r4, r5, lr}                                 
a0003d88:	e1a04002 	mov	r4, r2                                        
a0003d8c:	e1a05000 	mov	r5, r0                                        
  switch (opt) {                                                      
a0003d90:	0a00000b 	beq	a0003dc4 <tcsetattr+0x44>                     
a0003d94:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
a0003d98:	0a000004 	beq	a0003db0 <tcsetattr+0x30>                     <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0003d9c:	eb002d7e 	bl	a000f39c <__errno>                             <== NOT EXECUTED
a0003da0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0003da4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
a0003da8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0003dac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
a0003db0:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
a0003db4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
a0003db8:	eb001e30 	bl	a000b680 <ioctl>                               <== NOT EXECUTED
a0003dbc:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a0003dc0:	bafffff8 	blt	a0003da8 <tcsetattr+0x28>                     <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a0003dc4:	e1a00005 	mov	r0, r5                                        
a0003dc8:	e1a02004 	mov	r2, r4                                        
a0003dcc:	e3a01002 	mov	r1, #2                                        
  }                                                                   
}                                                                     
a0003dd0:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
a0003dd4:	ea001e29 	b	a000b680 <ioctl>                                
                                                                      
a000d1fc <unlink>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
a000d1fc:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
a000d200:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
a000d204:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
a000d208:	ebffd167 	bl	a00017ac <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
a000d20c:	e2507000 	subs	r7, r0, #0                                   
a000d210:	1a000075 	bne	a000d3ec <unlink+0x1f0>                       
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a000d214:	e5d53000 	ldrb	r3, [r5]                                     
a000d218:	e353002f 	cmp	r3, #47	; 0x2f                                
a000d21c:	1353005c 	cmpne	r3, #92	; 0x5c                              
a000d220:	1a000047 	bne	a000d344 <unlink+0x148>                       
a000d224:	e59f324c 	ldr	r3, [pc, #588]	; a000d478 <unlink+0x27c>      
a000d228:	e28d4018 	add	r4, sp, #24                                   
a000d22c:	e3a06000 	mov	r6, #0                                        
a000d230:	e593c000 	ldr	ip, [r3]                                      
a000d234:	e28cc018 	add	ip, ip, #24                                   
a000d238:	e1a0e004 	mov	lr, r4                                        
a000d23c:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
a000d240:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
a000d244:	e59c2000 	ldr	r2, [ip]                                      
a000d248:	e58e2000 	str	r2, [lr]                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000d24c:	e28dc004 	add	ip, sp, #4                                    
a000d250:	e1a0e004 	mov	lr, r4                                        
a000d254:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
a000d258:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
a000d25c:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
a000d260:	e0855007 	add	r5, r5, r7                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000d264:	e1a00005 	mov	r0, r5                                        
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
a000d268:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
a000d26c:	eb00061f 	bl	a000eaf0 <strlen>                              
a000d270:	e1a01000 	mov	r1, r0                                        
a000d274:	e1a00005 	mov	r0, r5                                        
a000d278:	ebffd137 	bl	a000175c <rtems_filesystem_prefix_separators>  
a000d27c:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
a000d280:	e1a00007 	mov	r0, r7                                        
a000d284:	eb000619 	bl	a000eaf0 <strlen>                              
a000d288:	e28d5004 	add	r5, sp, #4                                    
a000d28c:	e3a0c000 	mov	ip, #0                                        
a000d290:	e1a01000 	mov	r1, r0                                        
a000d294:	e1a0200c 	mov	r2, ip                                        
a000d298:	e1a00007 	mov	r0, r7                                        
a000d29c:	e1a03005 	mov	r3, r5                                        
a000d2a0:	e58dc000 	str	ip, [sp]                                      
a000d2a4:	ebffd159 	bl	a0001810 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
a000d2a8:	e3500000 	cmp	r0, #0                                        
a000d2ac:	1a00002c 	bne	a000d364 <unlink+0x168>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
a000d2b0:	e59d2010 	ldr	r2, [sp, #16]                                 
a000d2b4:	e5923010 	ldr	r3, [r2, #16]                                 
a000d2b8:	e3530000 	cmp	r3, #0                                        
a000d2bc:	0a000036 	beq	a000d39c <unlink+0x1a0>                       
    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 ) {
a000d2c0:	e1a00005 	mov	r0, r5                                        
a000d2c4:	e12fff33 	blx	r3                                            
a000d2c8:	e3500001 	cmp	r0, #1                                        
a000d2cc:	0a000052 	beq	a000d41c <unlink+0x220>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
a000d2d0:	e59d2010 	ldr	r2, [sp, #16]                                 
a000d2d4:	e592300c 	ldr	r3, [r2, #12]                                 
a000d2d8:	e3530000 	cmp	r3, #0                                        
a000d2dc:	0a00002e 	beq	a000d39c <unlink+0x1a0>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a000d2e0:	e1a00004 	mov	r0, r4                                        
a000d2e4:	e1a01005 	mov	r1, r5                                        
a000d2e8:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000d2ec:	e59d3010 	ldr	r3, [sp, #16]                                 
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
a000d2f0:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a000d2f4:	e3530000 	cmp	r3, #0                                        
a000d2f8:	0a000004 	beq	a000d310 <unlink+0x114>                       
a000d2fc:	e593301c 	ldr	r3, [r3, #28]                                 
a000d300:	e3530000 	cmp	r3, #0                                        
a000d304:	0a000001 	beq	a000d310 <unlink+0x114>                       
a000d308:	e1a00005 	mov	r0, r5                                        
a000d30c:	e12fff33 	blx	r3                                            
  if ( free_parentloc )                                               
a000d310:	e3560000 	cmp	r6, #0                                        
a000d314:	0a000007 	beq	a000d338 <unlink+0x13c>                       
    rtems_filesystem_freenode( &parentloc );                          
a000d318:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000d31c:	e3530000 	cmp	r3, #0                                        
a000d320:	0a000004 	beq	a000d338 <unlink+0x13c>                       
a000d324:	e593301c 	ldr	r3, [r3, #28]                                 
a000d328:	e3530000 	cmp	r3, #0                                        
a000d32c:	0a000001 	beq	a000d338 <unlink+0x13c>                       
a000d330:	e1a00004 	mov	r0, r4                                        
a000d334:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a000d338:	e1a00007 	mov	r0, r7                                        
a000d33c:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
a000d340:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
a000d344:	e3530000 	cmp	r3, #0                                        
a000d348:	0affffb5 	beq	a000d224 <unlink+0x28>                        
a000d34c:	e59f3124 	ldr	r3, [pc, #292]	; a000d478 <unlink+0x27c>      
a000d350:	e28d4018 	add	r4, sp, #24                                   
a000d354:	e1a06007 	mov	r6, r7                                        
a000d358:	e593c000 	ldr	ip, [r3]                                      
a000d35c:	e28cc004 	add	ip, ip, #4                                    
a000d360:	eaffffb4 	b	a000d238 <unlink+0x3c>                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
a000d364:	e3560000 	cmp	r6, #0                                        
a000d368:	1a000001 	bne	a000d374 <unlink+0x178>                       
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
a000d36c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000d370:	eafffff0 	b	a000d338 <unlink+0x13c>                         <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
a000d374:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
a000d378:	e3530000 	cmp	r3, #0                                        
a000d37c:	0afffffa 	beq	a000d36c <unlink+0x170>                       
a000d380:	e593301c 	ldr	r3, [r3, #28]                                 
a000d384:	e3530000 	cmp	r3, #0                                        
a000d388:	0afffff7 	beq	a000d36c <unlink+0x170>                       
a000d38c:	e1a00004 	mov	r0, r4                                        
a000d390:	e12fff33 	blx	r3                                            
a000d394:	e3e07000 	mvn	r7, #0                                        
a000d398:	eaffffe6 	b	a000d338 <unlink+0x13c>                         
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
a000d39c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a000d3a0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d3a4:	0a000001 	beq	a000d3b0 <unlink+0x1b4>                       <== NOT EXECUTED
a000d3a8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a000d3ac:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    if ( free_parentloc )                                             
a000d3b0:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
a000d3b4:	0a000007 	beq	a000d3d8 <unlink+0x1dc>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
a000d3b8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000d3bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d3c0:	0a000004 	beq	a000d3d8 <unlink+0x1dc>                       <== NOT EXECUTED
a000d3c4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000d3c8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d3cc:	0a000001 	beq	a000d3d8 <unlink+0x1dc>                       <== NOT EXECUTED
a000d3d0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d3d4:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000d3d8:	eb0001d3 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a000d3dc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000d3e0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a000d3e4:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
a000d3e8:	eaffffd2 	b	a000d338 <unlink+0x13c>                         <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
a000d3ec:	e28d4018 	add	r4, sp, #24                                   
a000d3f0:	e3a0c000 	mov	ip, #0                                        
a000d3f4:	e1a00005 	mov	r0, r5                                        
a000d3f8:	e1a01007 	mov	r1, r7                                        
a000d3fc:	e3a02002 	mov	r2, #2                                        
a000d400:	e1a03004 	mov	r3, r4                                        
a000d404:	e58dc000 	str	ip, [sp]                                      
a000d408:	ebffd13a 	bl	a00018f8 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
a000d40c:	e3500000 	cmp	r0, #0                                        
a000d410:	1affffd5 	bne	a000d36c <unlink+0x170>                       
a000d414:	e3a06001 	mov	r6, #1                                        
a000d418:	eaffff8b 	b	a000d24c <unlink+0x50>                          
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
a000d41c:	e59d3010 	ldr	r3, [sp, #16]                                 
a000d420:	e3530000 	cmp	r3, #0                                        
a000d424:	0a000004 	beq	a000d43c <unlink+0x240>                       
a000d428:	e593301c 	ldr	r3, [r3, #28]                                 
a000d42c:	e3530000 	cmp	r3, #0                                        
a000d430:	0a000001 	beq	a000d43c <unlink+0x240>                       
a000d434:	e1a00005 	mov	r0, r5                                        
a000d438:	e12fff33 	blx	r3                                            
    if ( free_parentloc )                                             
a000d43c:	e3560000 	cmp	r6, #0                                        
a000d440:	0a000007 	beq	a000d464 <unlink+0x268>                       
      rtems_filesystem_freenode( &parentloc );                        
a000d444:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
a000d448:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d44c:	0a000004 	beq	a000d464 <unlink+0x268>                       <== NOT EXECUTED
a000d450:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
a000d454:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a000d458:	0a000001 	beq	a000d464 <unlink+0x268>                       <== NOT EXECUTED
a000d45c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a000d460:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
a000d464:	eb0001b0 	bl	a000db2c <__errno>                             
a000d468:	e3a03015 	mov	r3, #21                                       
a000d46c:	e5803000 	str	r3, [r0]                                      
a000d470:	e3e07000 	mvn	r7, #0                                        
a000d474:	eaffffaf 	b	a000d338 <unlink+0x13c>                         
                                                                      
a00087f4 <unmount>:                                                   
 */                                                                   
                                                                      
int unmount(                                                          
  const char *path                                                    
)                                                                     
{                                                                     
a00087f4:	e92d4030 	push	{r4, r5, lr}                                 
a00087f8:	e24dd018 	sub	sp, sp, #24                                   
a00087fc:	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 ) )
a0008800:	eb0036be 	bl	a0016300 <strlen>                              
a0008804:	e28d4004 	add	r4, sp, #4                                    
a0008808:	e1a01000 	mov	r1, r0                                        
a000880c:	e3a0c001 	mov	ip, #1                                        
a0008810:	e1a00005 	mov	r0, r5                                        
a0008814:	e3a02000 	mov	r2, #0                                        
a0008818:	e1a03004 	mov	r3, r4                                        
a000881c:	e58dc000 	str	ip, [sp]                                      
a0008820:	ebfff0fb 	bl	a0004c14 <rtems_filesystem_evaluate_path>      
a0008824:	e3500000 	cmp	r0, #0                                        
a0008828:	1a000032 	bne	a00088f8 <unmount+0x104>                      
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
a000882c:	e59d5014 	ldr	r5, [sp, #20]                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0008830:	e59d3004 	ldr	r3, [sp, #4]                                  
a0008834:	e595201c 	ldr	r2, [r5, #28]                                 
a0008838:	e1520003 	cmp	r2, r3                                        
a000883c:	1a000049 	bne	a0008968 <unmount+0x174>                      
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
a0008840:	e59d3010 	ldr	r3, [sp, #16]                                 
a0008844:	e3530000 	cmp	r3, #0                                        
a0008848:	0a000004 	beq	a0008860 <unmount+0x6c>                       
a000884c:	e593301c 	ldr	r3, [r3, #28]                                 
a0008850:	e3530000 	cmp	r3, #0                                        
a0008854:	0a000001 	beq	a0008860 <unmount+0x6c>                       
a0008858:	e1a00004 	mov	r0, r4                                        
a000885c:	e12fff33 	blx	r3                                            
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  fs_mount_loc = &mt_entry->mt_point_node;                            
a0008860:	e5953014 	ldr	r3, [r5, #20]                                 
a0008864:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a0008868:	e3530000 	cmp	r3, #0                                        
a000886c:	0a000052 	beq	a00089bc <unmount+0x1c8>                      
  fs_root_loc  = &mt_entry->mt_fs_root;                               
a0008870:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a0008874:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0008878:	e3530000 	cmp	r3, #0                                        
a000887c:	0a00004e 	beq	a00089bc <unmount+0x1c8>                      
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
a0008880:	e59f3148 	ldr	r3, [pc, #328]	; a00089d0 <unmount+0x1dc>     
a0008884:	e5933000 	ldr	r3, [r3]                                      
a0008888:	e5933014 	ldr	r3, [r3, #20]                                 
a000888c:	e1530005 	cmp	r3, r5                                        
a0008890:	0a00001b 	beq	a0008904 <unmount+0x110>                      
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a0008894:	e59f1138 	ldr	r1, [pc, #312]	; a00089d4 <unmount+0x1e0>     
a0008898:	e4913004 	ldr	r3, [r1], #4                                  
a000889c:	e1530001 	cmp	r3, r1                                        
a00088a0:	0a00000a 	beq	a00088d0 <unmount+0xdc>                       
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
a00088a4:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          
a00088a8:	e5932018 	ldr	r2, [r3, #24]                                 
a00088ac:	e1520000 	cmp	r2, r0                                        
a00088b0:	1a000003 	bne	a00088c4 <unmount+0xd0>                       
a00088b4:	ea000012 	b	a0008904 <unmount+0x110>                        <== NOT EXECUTED
a00088b8:	e5932018 	ldr	r2, [r3, #24]                                 
a00088bc:	e1500002 	cmp	r0, r2                                        
a00088c0:	0a00000f 	beq	a0008904 <unmount+0x110>                      
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
a00088c4:	e5933000 	ldr	r3, [r3]                                      
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
a00088c8:	e1530001 	cmp	r3, r1                                        
a00088cc:	1afffff9 	bne	a00088b8 <unmount+0xc4>                       
   *  Run the file descriptor table to determine if there are any file
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
a00088d0:	e1a00005 	mov	r0, r5                                        
a00088d4:	ebfff1bc 	bl	a0004fcc <rtems_libio_is_open_files_in_fs>     
a00088d8:	e3500001 	cmp	r0, #1                                        
a00088dc:	0a000008 	beq	a0008904 <unmount+0x110>                      
   * Allow the file system being unmounted on to do its cleanup.      
   * If it fails it will set the errno to the approprate value        
   * and the fileystem will not be modified.                          
   */                                                                 
                                                                      
  if (( fs_mount_loc->ops->unmount_h )( mt_entry ) != 0 )             
a00088e0:	e5953014 	ldr	r3, [r5, #20]                                 
a00088e4:	e1a00005 	mov	r0, r5                                        
a00088e8:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
a00088ec:	e12fff33 	blx	r3                                            
a00088f0:	e2504000 	subs	r4, r0, #0                                   
a00088f4:	0a000007 	beq	a0008918 <unmount+0x124>                      
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
a00088f8:	e3e00000 	mvn	r0, #0                                        
}                                                                     
a00088fc:	e28dd018 	add	sp, sp, #24                                   
a0008900:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    rtems_set_errno_and_return_minus_one( EBUSY );                    
a0008904:	eb00296e 	bl	a0012ec4 <__errno>                             
a0008908:	e3a03010 	mov	r3, #16                                       
a000890c:	e5803000 	str	r3, [r0]                                      
a0008910:	e3e00000 	mvn	r0, #0                                        
a0008914:	eafffff8 	b	a00088fc <unmount+0x108>                        
   *  NOTE:  Fatal error is called in a case which should never happen
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
a0008918:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
a000891c:	e1a00005 	mov	r0, r5                                        
a0008920:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
a0008924:	e12fff33 	blx	r3                                            
a0008928:	e3500000 	cmp	r0, #0                                        
a000892c:	1a00001a 	bne	a000899c <unmount+0x1a8>                      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
a0008930:	e1a00005 	mov	r0, r5                                        
a0008934:	eb0005a9 	bl	a0009fe0 <_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 );                          
a0008938:	e5953014 	ldr	r3, [r5, #20]                                 
a000893c:	e3530000 	cmp	r3, #0                                        
a0008940:	0a000004 	beq	a0008958 <unmount+0x164>                      
a0008944:	e593301c 	ldr	r3, [r3, #28]                                 
a0008948:	e3530000 	cmp	r3, #0                                        
a000894c:	0a000001 	beq	a0008958 <unmount+0x164>                      
a0008950:	e2850008 	add	r0, r5, #8                                    
a0008954:	e12fff33 	blx	r3                                            
  free( mt_entry );                                                   
a0008958:	e1a00005 	mov	r0, r5                                        
a000895c:	ebfff0dd 	bl	a0004cd8 <free>                                
a0008960:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
a0008964:	eaffffe4 	b	a00088fc <unmount+0x108>                        
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( !rtems_filesystem_nodes_equal( fs_root_loc, &loc) ){           
    rtems_filesystem_freenode( &loc );                                
a0008968:	e59d3010 	ldr	r3, [sp, #16]                                 
a000896c:	e3530000 	cmp	r3, #0                                        
a0008970:	0a000004 	beq	a0008988 <unmount+0x194>                      
a0008974:	e593301c 	ldr	r3, [r3, #28]                                 
a0008978:	e3530000 	cmp	r3, #0                                        
a000897c:	0a000001 	beq	a0008988 <unmount+0x194>                      
a0008980:	e1a00004 	mov	r0, r4                                        
a0008984:	e12fff33 	blx	r3                                            
    rtems_set_errno_and_return_minus_one( EACCES );                   
a0008988:	eb00294d 	bl	a0012ec4 <__errno>                             
a000898c:	e3a0300d 	mov	r3, #13                                       
a0008990:	e5803000 	str	r3, [r0]                                      
a0008994:	e3e00000 	mvn	r0, #0                                        
a0008998:	eaffffd7 	b	a00088fc <unmount+0x108>                        
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
a000899c:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
a00089a0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
a00089a4:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
a00089a8:	e12fff33 	blx	r3                                            <== NOT EXECUTED
a00089ac:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
a00089b0:	0affffd0 	beq	a00088f8 <unmount+0x104>                      <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
a00089b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a00089b8:	eb0004b5 	bl	a0009c94 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
  if ( !fs_mount_loc->ops->unmount_h )                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( !fs_root_loc->ops->fsunmount_me_h )                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a00089bc:	eb002940 	bl	a0012ec4 <__errno>                             <== NOT EXECUTED
a00089c0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a00089c4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a00089c8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a00089cc:	eaffffca 	b	a00088fc <unmount+0x108>                        <== NOT EXECUTED
                                                                      
a0005f98 <utime>:                                                     
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
a0005f98:	e92d4070 	push	{r4, r5, r6, lr}                             
a0005f9c:	e24dd018 	sub	sp, sp, #24                                   
a0005fa0:	e1a05001 	mov	r5, r1                                        
a0005fa4:	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 ) )
a0005fa8:	eb003062 	bl	a0012138 <strlen>                              
a0005fac:	e28d4004 	add	r4, sp, #4                                    
a0005fb0:	e1a01000 	mov	r1, r0                                        
a0005fb4:	e3a0c001 	mov	ip, #1                                        
a0005fb8:	e1a00006 	mov	r0, r6                                        
a0005fbc:	e3a02000 	mov	r2, #0                                        
a0005fc0:	e1a03004 	mov	r3, r4                                        
a0005fc4:	e58dc000 	str	ip, [sp]                                      
a0005fc8:	ebfff22b 	bl	a000287c <rtems_filesystem_evaluate_path>      
a0005fcc:	e3500000 	cmp	r0, #0                                        
a0005fd0:	1a00001a 	bne	a0006040 <utime+0xa8>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
a0005fd4:	e59d2010 	ldr	r2, [sp, #16]                                 
a0005fd8:	e5923030 	ldr	r3, [r2, #48]	; 0x30                          
a0005fdc:	e3530000 	cmp	r3, #0                                        
a0005fe0:	0a00000e 	beq	a0006020 <utime+0x88>                         
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
a0005fe4:	e8950006 	ldm	r5, {r1, r2}                                  
a0005fe8:	e1a00004 	mov	r0, r4                                        
a0005fec:	e12fff33 	blx	r3                                            
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0005ff0:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !temp_loc.ops->utime_h ){                                      
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
a0005ff4:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
a0005ff8:	e3530000 	cmp	r3, #0                                        
a0005ffc:	0a000004 	beq	a0006014 <utime+0x7c>                         
a0006000:	e593301c 	ldr	r3, [r3, #28]                                 
a0006004:	e3530000 	cmp	r3, #0                                        
a0006008:	0a000001 	beq	a0006014 <utime+0x7c>                         
a000600c:	e1a00004 	mov	r0, r4                                        
a0006010:	e12fff33 	blx	r3                                            
                                                                      
  return result;                                                      
}                                                                     
a0006014:	e1a00005 	mov	r0, r5                                        
a0006018:	e28dd018 	add	sp, sp, #24                                   
a000601c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
    rtems_filesystem_freenode( &temp_loc );                           
a0006020:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
a0006024:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
a0006028:	0a000001 	beq	a0006034 <utime+0x9c>                         <== NOT EXECUTED
a000602c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
a0006030:	e12fff33 	blx	r3                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006034:	eb002928 	bl	a00104dc <__errno>                             <== NOT EXECUTED
a0006038:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000603c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006040:	e3e05000 	mvn	r5, #0                                        
a0006044:	eafffff2 	b	a0006014 <utime+0x7c>                           
                                                                      
a0018ce4 <write>:                                                     
)                                                                     
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018ce4:	e59f30c0 	ldr	r3, [pc, #192]	; a0018dac <write+0xc8>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0018ce8:	e92d4070 	push	{r4, r5, r6, lr}                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018cec:	e593c000 	ldr	ip, [r3]                                      
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
a0018cf0:	e1a05001 	mov	r5, r1                                        
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
a0018cf4:	e150000c 	cmp	r0, ip                                        
a0018cf8:	2a00001c 	bcs	a0018d70 <write+0x8c>                         
  iop = rtems_libio_iop( fd );                                        
a0018cfc:	e59fc0ac 	ldr	ip, [pc, #172]	; a0018db0 <write+0xcc>        
a0018d00:	e59c4000 	ldr	r4, [ip]                                      
a0018d04:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0018d08:	e5940014 	ldr	r0, [r4, #20]                                 
a0018d0c:	e3100c01 	tst	r0, #256	; 0x100                              
a0018d10:	0a000016 	beq	a0018d70 <write+0x8c>                         
  rtems_libio_check_buffer( buffer );                                 
a0018d14:	e3510000 	cmp	r1, #0                                        
a0018d18:	0a000019 	beq	a0018d84 <write+0xa0>                         
  rtems_libio_check_count( count );                                   
a0018d1c:	e3520000 	cmp	r2, #0                                        
a0018d20:	0a000010 	beq	a0018d68 <write+0x84>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0018d24:	e3100004 	tst	r0, #4                                        
a0018d28:	0a000015 	beq	a0018d84 <write+0xa0>                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
a0018d2c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
a0018d30:	e593300c 	ldr	r3, [r3, #12]                                 
a0018d34:	e3530000 	cmp	r3, #0                                        
a0018d38:	0a000016 	beq	a0018d98 <write+0xb4>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
a0018d3c:	e1a00004 	mov	r0, r4                                        
a0018d40:	e12fff33 	blx	r3                                            
                                                                      
  if ( rc > 0 )                                                       
a0018d44:	e3500000 	cmp	r0, #0                                        
a0018d48:	da000005 	ble	a0018d64 <write+0x80>                         
    iop->offset += rc;                                                
a0018d4c:	e284600c 	add	r6, r4, #12                                   
a0018d50:	e8960060 	ldm	r6, {r5, r6}                                  
a0018d54:	e0952000 	adds	r2, r5, r0                                   
a0018d58:	e0a63fc0 	adc	r3, r6, r0, asr #31                           
a0018d5c:	e584200c 	str	r2, [r4, #12]                                 
a0018d60:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
a0018d64:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
a0018d68:	e1a00002 	mov	r0, r2                                        
a0018d6c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0018d70:	ebffd36d 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018d74:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
a0018d78:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0018d7c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018d80:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0018d84:	ebffd368 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018d88:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
a0018d8c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0018d90:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018d94:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0018d98:	ebffd363 	bl	a000db2c <__errno>                             <== NOT EXECUTED
a0018d9c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a0018da0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0018da4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
a0018da8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                                                      
a0005fb4 <writev>:                                                    
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005fb4:	e59f317c 	ldr	r3, [pc, #380]	; a0006138 <writev+0x184>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0005fb8:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005fbc:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
a0005fc0:	e1a05002 	mov	r5, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
a0005fc4:	e1500003 	cmp	r0, r3                                        
a0005fc8:	2a00004e 	bcs	a0006108 <writev+0x154>                       
  iop = rtems_libio_iop( fd );                                        
a0005fcc:	e59f3168 	ldr	r3, [pc, #360]	; a000613c <writev+0x188>      
a0005fd0:	e5937000 	ldr	r7, [r3]                                      
a0005fd4:	e0877300 	add	r7, r7, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
a0005fd8:	e5973014 	ldr	r3, [r7, #20]                                 
a0005fdc:	e3130c01 	tst	r3, #256	; 0x100                              
a0005fe0:	0a000048 	beq	a0006108 <writev+0x154>                       
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
a0005fe4:	e3130004 	tst	r3, #4                                        
a0005fe8:	0a000040 	beq	a00060f0 <writev+0x13c>                       
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
a0005fec:	e3510000 	cmp	r1, #0                                        
a0005ff0:	0a00003e 	beq	a00060f0 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
a0005ff4:	e3520000 	cmp	r2, #0                                        
a0005ff8:	da00003c 	ble	a00060f0 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
a0005ffc:	e3520b01 	cmp	r2, #1024	; 0x400                             
a0006000:	ca00003a 	bgt	a00060f0 <writev+0x13c>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
a0006004:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
a0006008:	e593300c 	ldr	r3, [r3, #12]                                 
a000600c:	e3530000 	cmp	r3, #0                                        
a0006010:	0a000043 	beq	a0006124 <writev+0x170>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006014:	e1a04001 	mov	r4, r1                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a0006018:	e3a0cc7f 	mov	ip, #32512	; 0x7f00                           
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a000601c:	e3a01000 	mov	r1, #0                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a0006020:	e28cc0ff 	add	ip, ip, #255	; 0xff                           
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006024:	e1a02004 	mov	r2, r4                                        
a0006028:	e3a06001 	mov	r6, #1                                        
a000602c:	e1a08001 	mov	r8, r1                                        
a0006030:	ea000000 	b	a0006038 <writev+0x84>                          
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a0006034:	e1a08003 	mov	r8, r3                                        
                                                                      
    if ( !iov[v].iov_base )                                           
a0006038:	e5923000 	ldr	r3, [r2]                                      
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a000603c:	e2811001 	add	r1, r1, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
a0006040:	e3530000 	cmp	r3, #0                                        
a0006044:	0a000029 	beq	a00060f0 <writev+0x13c>                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a0006048:	e5920004 	ldr	r0, [r2, #4]                                  
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a000604c:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
a0006050:	e0883000 	add	r3, r8, r0                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
a0006054:	e3500000 	cmp	r0, #0                                        
a0006058:	13a06000 	movne	r6, #0                                      
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
a000605c:	e1580003 	cmp	r8, r3                                        
a0006060:	d153000c 	cmple	r3, ip                                      
a0006064:	d3a08000 	movle	r8, #0                                      
a0006068:	c3a08001 	movgt	r8, #1                                      
a000606c:	ca00001f 	bgt	a00060f0 <writev+0x13c>                       
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
a0006070:	e1550001 	cmp	r5, r1                                        
a0006074:	caffffee 	bgt	a0006034 <writev+0x80>                        
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
a0006078:	e3560000 	cmp	r6, #0                                        
a000607c:	1a00001f 	bne	a0006100 <writev+0x14c>                       
a0006080:	e1a08006 	mov	r8, r6                                        
a0006084:	ea000002 	b	a0006094 <writev+0xe0>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0006088:	e1550006 	cmp	r5, r6                                        
a000608c:	e2844008 	add	r4, r4, #8                                    
a0006090:	da00001a 	ble	a0006100 <writev+0x14c>                       
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a0006094:	e5942004 	ldr	r2, [r4, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
a0006098:	e2866001 	add	r6, r6, #1                                    
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
a000609c:	e3520000 	cmp	r2, #0                                        
a00060a0:	0afffff8 	beq	a0006088 <writev+0xd4>                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
a00060a4:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
a00060a8:	e5941000 	ldr	r1, [r4]                                      
a00060ac:	e1a00007 	mov	r0, r7                                        
a00060b0:	e593300c 	ldr	r3, [r3, #12]                                 
a00060b4:	e12fff33 	blx	r3                                            
                                                                      
    if ( bytes < 0 )                                                  
a00060b8:	e3500000 	cmp	r0, #0                                        
a00060bc:	ba000016 	blt	a000611c <writev+0x168>                       
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
a00060c0:	0a000006 	beq	a00060e0 <writev+0x12c>                       
      iop->offset += bytes;                                           
a00060c4:	e287c00c 	add	ip, r7, #12                                   
a00060c8:	e89c1800 	ldm	ip, {fp, ip}                                  
a00060cc:	e09b2000 	adds	r2, fp, r0                                   
a00060d0:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
a00060d4:	e587200c 	str	r2, [r7, #12]                                 
a00060d8:	e5873010 	str	r3, [r7, #16]                                 
      total       += bytes;                                           
a00060dc:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
a00060e0:	e5943004 	ldr	r3, [r4, #4]                                  
a00060e4:	e1500003 	cmp	r0, r3                                        
a00060e8:	0affffe6 	beq	a0006088 <writev+0xd4>                        
a00060ec:	ea000003 	b	a0006100 <writev+0x14c>                         <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
a00060f0:	eb00287f 	bl	a00102f4 <__errno>                             
a00060f4:	e3a03016 	mov	r3, #22                                       
a00060f8:	e5803000 	str	r3, [r0]                                      
a00060fc:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
a0006100:	e1a00008 	mov	r0, r8                                        
a0006104:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
a0006108:	eb002879 	bl	a00102f4 <__errno>                             
a000610c:	e3a03009 	mov	r3, #9                                        
a0006110:	e5803000 	str	r3, [r0]                                      
a0006114:	e3e08000 	mvn	r8, #0                                        
a0006118:	eafffff8 	b	a0006100 <writev+0x14c>                         
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
a000611c:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0006120:	eafffff6 	b	a0006100 <writev+0x14c>                         <== NOT EXECUTED
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
a0006124:	eb002872 	bl	a00102f4 <__errno>                             <== NOT EXECUTED
a0006128:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
a000612c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
a0006130:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
a0006134:	eafffff1 	b	a0006100 <writev+0x14c>                         <== NOT EXECUTED